/* Anioma Social Modern 2.0 — BuddyPress (Nouveau + legacy) redesign.
   Loaded after BuddyPress's own CSS, so these rules restyle the default markup. */
.bp-shell{background:transparent;margin-bottom:20px}
.bp-shell #buddypress,.buddypress-wrap{font-size:15px;color:var(--ink)}
#buddypress a{color:var(--teal)}
#buddypress a:hover{color:var(--teal-d)}

/* ---- Buttons & forms ---- */
#buddypress .button,#buddypress button,#buddypress input[type=submit],#buddypress input[type=button],#buddypress .generic-button a,#buddypress a.button,.buddypress-wrap .button{
	display:inline-flex;align-items:center;justify-content:center;gap:6px;background:var(--teal);color:#fff;border:1px solid var(--teal);border-radius:10px;padding:9px 15px;font:inherit;font-weight:700;font-size:14px;line-height:1.2;cursor:pointer;box-shadow:none;text-decoration:none;transition:background .15s,transform .15s}
#buddypress .button:hover,#buddypress button:hover,#buddypress input[type=submit]:hover,#buddypress .generic-button a:hover{background:var(--teal-d);color:#fff;border-color:var(--teal-d);transform:translateY(-1px)}
#buddypress .button.bp-secondary-action,#buddypress .bp-secondary-action,#buddypress .generic-button a.leave-group,#buddypress .generic-button a.friendship-button.is_friend,#buddypress .button.bp-tooltip{background:#fff;color:var(--teal);border:1px solid var(--line)}
#buddypress .bp-secondary-action:hover{background:var(--blue-3);color:var(--teal)}
#buddypress .button.disabled,#buddypress button[disabled]{opacity:.55;cursor:not-allowed;transform:none}
#buddypress input[type=text],#buddypress input[type=email],#buddypress input[type=password],#buddypress input[type=url],#buddypress input[type=search],#buddypress input[type=number],#buddypress input[type=tel],#buddypress input[type=date],#buddypress select,#buddypress textarea,.buddypress-wrap input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),.buddypress-wrap select,.buddypress-wrap textarea{
	width:100%;max-width:100%;background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px 12px;font:inherit;color:var(--ink);box-shadow:none}
#buddypress input:focus,#buddypress select:focus,#buddypress textarea:focus{outline:0;border-color:var(--blue);box-shadow:0 0 0 3px rgba(105,199,232,.3)}
#buddypress .standard-form label,#buddypress .standard-form legend,#buddypress label{font-weight:700;font-size:14px}
#buddypress .standard-form .field-visibility-settings-toggle,#buddypress .description{color:var(--muted);font-size:13px}
#buddypress .standard-form{background:#fff;border-radius:var(--r);padding:clamp(16px,3vw,26px);box-shadow:var(--sh);border:1px solid rgba(50,110,130,.07)}
#buddypress .standard-form p,#buddypress .standard-form .bp-form-row{margin:0 0 16px}

/* ---- Feedback messages ---- */
#buddypress .bp-feedback,#buddypress #message,.buddypress-wrap .bp-feedback{display:flex;align-items:center;gap:10px;background:var(--blue-2);color:#0b5670;border:0;border-left:4px solid var(--blue);border-radius:12px;padding:12px 16px;margin:14px 0;box-shadow:none}
#buddypress .bp-feedback.error,#buddypress #message.error{background:#fdeaea;color:#a02c2c;border-left-color:var(--danger)}
#buddypress .bp-feedback.success,#buddypress #message.updated{background:#e3f6ee;color:#14684a;border-left-color:var(--ok)}
#buddypress .bp-feedback p{margin:0}

/* ---- Directory navigation (tabs) & filters ---- */
#buddypress .main-navs,#buddypress .bp-navs,.buddypress-wrap .bp-navs{background:transparent;overflow:visible}
#buddypress .bp-navs ul,#buddypress .main-navs ul{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 14px;padding:0;list-style:none}
#buddypress .bp-navs li a,#buddypress .main-navs li a{display:inline-flex;align-items:center;gap:8px;padding:9px 15px;border-radius:99px;background:#fff;border:1px solid var(--line);color:#3b5666;font-weight:700;font-size:14px;box-shadow:none}
#buddypress .bp-navs li a:hover,#buddypress .main-navs li a:hover{background:var(--blue-2);color:#075b79}
#buddypress .bp-navs li.current a,#buddypress .bp-navs li.selected a,#buddypress .main-navs li.current a,#buddypress .main-navs li.selected a{background:var(--teal);border-color:var(--teal);color:#fff}
#buddypress .bp-navs li .count,#buddypress .main-navs li .count{background:var(--blue-2);color:#075b79;border-radius:99px;padding:1px 8px;font-size:12px;font-weight:800}
#buddypress .bp-navs li.current .count,#buddypress .bp-navs li.selected .count{background:rgba(255,255,255,.25);color:#fff}
#buddypress .subnav-filters,#buddypress .bp-subnavs{background:#fff;border-radius:var(--r);padding:10px 14px;box-shadow:var(--sh);border:1px solid rgba(50,110,130,.07);margin-bottom:16px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
#buddypress .subnav-filters ul,#buddypress .bp-subnavs ul{margin:0;padding:0}
#buddypress .subnav-filters li{list-style:none}
#buddypress .subnav-search form,#buddypress .bp-dir-search-form{display:flex;align-items:center;gap:6px;background:#f5fafc;border:1px solid var(--line);border-radius:12px;padding:2px 4px}
#buddypress .bp-dir-search-form input[type=search]{border:0;background:none;box-shadow:none}
#buddypress .bp-dir-search-form button{padding:8px 12px}
#buddypress .bp-subnavs li a{padding:7px 13px;border-radius:99px;font-size:13.5px;font-weight:700;background:transparent;border:0;color:#4b6573}
#buddypress .bp-subnavs li.current a,#buddypress .bp-subnavs li.selected a{background:var(--blue-2);color:#075b79}

/* ---- Member / group directories (cards) ---- */
#buddypress ul.item-list,#buddypress .bp-list,.buddypress-wrap .bp-list{list-style:none;margin:0;padding:0;border:0}
#buddypress .bp-list.grid,#buddypress ul.item-list.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:16px;margin:0}
#buddypress .bp-list.grid>li,#buddypress .bp-list.grid .item-entry{width:auto!important;margin:0!important;padding:0!important;border:0;background:#fff;border-radius:var(--r);box-shadow:var(--sh);overflow:hidden;border:1px solid rgba(50,110,130,.07);transition:transform .15s,box-shadow .15s}
#buddypress .bp-list.grid>li:hover{transform:translateY(-3px);box-shadow:var(--sh-lg)}
#buddypress .bp-list.grid .list-wrap{background:transparent;border:0;box-shadow:none;padding:22px 14px 16px;text-align:center}
#buddypress .bp-list.grid .item-avatar{margin:0 auto 10px}
#buddypress .bp-list:not(.grid)>li{background:#fff;border-radius:var(--r);box-shadow:var(--sh);border:1px solid rgba(50,110,130,.07);margin:0 0 12px;padding:14px}
#buddypress .item-avatar img.avatar,#buddypress img.avatar{border-radius:50%;object-fit:cover}
#buddypress .bp-list.grid .item-avatar img{width:84px;height:84px;border:3px solid var(--blue-2)}
#buddypress .member-name,#buddypress .list-title,#buddypress .item-title{font-size:16px;font-weight:800;margin:0 0 2px}
#buddypress .item-meta,#buddypress .last-activity,#buddypress .activity,#buddypress .meta{color:var(--muted);font-size:13px}
#buddypress .item-desc{margin:6px 0;color:#3a4f5c}
#buddypress .bp-list .action,#buddypress .bp-list .member-buttons{margin-top:10px;display:flex;gap:6px;justify-content:center;flex-wrap:wrap}
#buddypress .bp-list .action .generic-button{margin:0}
#buddypress .members-meta,#buddypress .group-meta{font-size:13px}

/* ---- Pagination ---- */
#buddypress .bp-pagination{background:transparent;border:0;margin:18px 0;padding:0;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;color:var(--muted);font-size:13.5px}
#buddypress .bp-pagination-links a,#buddypress .bp-pagination-links span,#buddypress .pagination-links a,#buddypress .pagination-links span{display:inline-grid;place-items:center;min-width:38px;height:38px;padding:0 10px;margin:0 2px;border-radius:10px;background:#fff;border:1px solid var(--line);font-weight:700;color:var(--ink)}
#buddypress .bp-pagination-links span.current,#buddypress .pagination-links span.current,#buddypress .bp-pagination-links a:hover{background:var(--teal);color:#fff;border-color:var(--teal)}

/* ---- Single profile / group header ---- */
#buddypress #item-header,#buddypress .bp-single-vert-nav #item-header{margin-bottom:18px}
#buddypress #item-header-cover-image,#buddypress #header-cover-image{border-radius:24px 24px 0 0}
#buddypress #cover-image-container{border-radius:24px;overflow:hidden;box-shadow:var(--sh-lg);background:#fff;margin-bottom:0}
#buddypress #header-cover-image{background-color:#2a89a8;background-image:linear-gradient(115deg,#093f54,#1a8aae 65%,#69c7e8);background-size:cover;background-position:center;height:220px;border:0}
#buddypress #item-header-cover-image{padding:0 24px 20px;background:#fff}
#buddypress #item-header-avatar{margin-top:-60px;position:relative;z-index:2}
#buddypress #item-header-avatar img.avatar{width:120px;height:120px;border:5px solid #fff;box-shadow:var(--sh-lg);background:#fff}
#buddypress #item-header-content{padding-top:8px;color:var(--ink)}
#buddypress #item-header-content .user-nicename,#buddypress #item-header-content .highlight{color:var(--muted);background:transparent;font-weight:600}
#buddypress #item-header-content h2,#buddypress .member-header-actions h2{font-size:26px;margin:4px 0}
#buddypress #item-header .member-header-actions,#buddypress #item-actions{margin-top:10px}
#buddypress #item-header .generic-button,#buddypress #item-header .member-header-actions .generic-button{display:inline-block;margin:4px 6px 0 0}
#buddypress #item-header .activity,#buddypress #item-header .bp-group-meta,#buddypress #item-header-content .item-meta{color:var(--muted)}
#buddypress .group-status{display:inline-block;background:var(--blue-2);color:#075b79;border-radius:99px;padding:2px 12px;font-weight:800;font-size:12px}

/* ---- Single navigation (profile / group tabs) ---- */
#buddypress #object-nav,#buddypress .bp-navs.users-nav,#buddypress .bp-navs.groups-nav,#buddypress #item-nav{margin-bottom:16px}
#buddypress .bp-single-vert-nav .bp-navs.vertical ul{flex-direction:column}
#buddypress .bp-single-vert-nav .bp-wrap{display:grid;grid-template-columns:240px 1fr;gap:20px}
#buddypress .bp-single-vert-nav .bp-navs.vertical{background:#fff;border-radius:var(--r);padding:10px;box-shadow:var(--sh);border:1px solid rgba(50,110,130,.07);height:fit-content}
#buddypress .bp-single-vert-nav .bp-navs.vertical li a{border-radius:10px;border:0;width:100%;justify-content:space-between}
#buddypress #item-body{background:transparent;padding:0}
#buddypress #item-body .bp-profile-content,#buddypress .profile.public,#buddypress #item-body .bp-widget{background:#fff;border-radius:var(--r);padding:clamp(14px,3vw,24px);box-shadow:var(--sh);border:1px solid rgba(50,110,130,.07)}
#buddypress table.profile-fields,#buddypress table.notifications,#buddypress table.messages-notices,#buddypress table.forum,#buddypress table.wp-profile-fields{border:0;border-collapse:separate;border-spacing:0;width:100%;background:#fff;border-radius:var(--r);overflow:hidden;box-shadow:var(--sh)}
#buddypress table th,#buddypress table td{padding:12px 14px;border:0;border-bottom:1px solid var(--line);text-align:left;background:transparent}
#buddypress table thead th,#buddypress table.profile-fields tr.field_1 td.label{background:var(--blue-3);font-weight:800}
#buddypress table.profile-fields td.label{width:30%;color:var(--muted);font-weight:700}
#buddypress table tr:last-child td{border-bottom:0}
#buddypress .profile h2.screen-heading,#buddypress .bp-profile-wrapper h2{font-size:18px}

/* ---- Activity ---- */
#buddypress #whats-new-form,#buddypress .activity-update-form{background:#fff;border-radius:var(--r);padding:16px;box-shadow:var(--sh);border:1px solid rgba(50,110,130,.07);margin-bottom:16px}
#buddypress #whats-new-avatar img{border-radius:50%}
#buddypress #whats-new,#buddypress #whats-new-textarea textarea{background:#f5fafc;border:1px solid #dcecf1;border-radius:12px;min-height:84px;padding:12px}
#buddypress #whats-new-options{margin-top:10px}
#buddypress #whats-new-submit input,#buddypress #aw-whats-new-submit{background:var(--teal);color:#fff}
#buddypress .activity-list,#buddypress ul.activity-list{margin:0;padding:0;list-style:none;border:0}
#buddypress .activity-list li.activity-item,#buddypress ul.activity-list>li{background:#fff;border-radius:var(--r);box-shadow:var(--sh);border:1px solid rgba(50,110,130,.07);margin:0 0 14px;padding:18px}
#buddypress .activity-list .activity-avatar img{border-radius:50%;width:46px;height:46px}
#buddypress .activity-list .activity-header{color:var(--ink);font-weight:600}
#buddypress .activity-list .activity-header a:first-child{font-weight:800}
#buddypress .activity-list .activity-header .time-since,#buddypress .activity-list .activity-header a.view{color:var(--muted);font-weight:600;font-size:13px}
#buddypress .activity-list .activity-content .activity-inner,#buddypress .activity-list .activity-content blockquote{background:transparent;border:0;padding:6px 0;margin:0;font-size:15.5px;line-height:1.65;color:#2a3f4c}
#buddypress .activity-list .activity-inner img{border-radius:12px;max-width:100%;height:auto}
#buddypress .activity-meta.action,#buddypress .activity-list .activity-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
#buddypress .activity-meta.action .button,#buddypress .activity-list .activity-meta a.button{background:transparent;color:#5c707b;border:0;padding:7px 12px;border-radius:99px}
#buddypress .activity-meta.action .button:hover{background:var(--blue-2);color:#075b79}
#buddypress .activity-meta .fav,#buddypress .activity-meta .unfav{font-weight:700}
#buddypress .activity-comments{margin-top:12px}
#buddypress .activity-comments ul{margin:0;padding:0;list-style:none}
#buddypress .activity-comments ul li{background:#f6fbfd;border:0;border-radius:12px;padding:12px;margin:8px 0;border-top:0}
#buddypress .ac-form{background:transparent;border:0}
#buddypress .ac-form .ac-reply-content{background:#f5fafc;border:1px solid #dcecf1;border-radius:12px;padding:10px}
#buddypress .load-more a,#buddypress .load-newest a{display:block;text-align:center;background:#fff;border:1px dashed #b8d6e0;color:var(--teal);border-radius:12px;padding:12px;font-weight:800}

/* ---- Groups ---- */
#buddypress .groups-list .item-avatar img{border-radius:50%}
#buddypress .group-description,#buddypress #group-description{background:var(--blue-3);border-radius:12px;padding:12px 14px}

/* ---- Messages & notifications ---- */
#buddypress .message-lists,#buddypress .thread-list,#buddypress table.notifications{background:#fff}
#buddypress .message-lists li,#buddypress .thread-list li{border-bottom:1px solid var(--line);padding:12px 6px}
#buddypress .message-lists .unread,#buddypress tr.unread td{background:#f3fbfe}
#buddypress .bp-messages-content,#buddypress #bp-message-thread-list{background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:14px}
#buddypress .message-content,#buddypress .message-metas{color:#2a3f4c}
#buddypress .bp-messages-nav-panel,#buddypress .bp-messages-filters{padding:8px 0}
#buddypress .thread-sender img.avatar{border-radius:50%}
#buddypress .notifications-options-nav{padding:10px 0}
#buddypress .bp-tooltip:after{display:none}

/* ---- Registration / login / activation ---- */
#register-page,#buddypress #register-page,#buddypress #signup-form{max-width:760px;margin:0 auto}
#buddypress #signup-form .layout-wrap{display:grid;grid-template-columns:1fr 1fr;gap:20px}
#buddypress #signup-form .register-section{background:#fff;border-radius:var(--r);padding:20px;box-shadow:var(--sh)}
#buddypress #signup-form h2,#buddypress #signup-form h3{font-size:18px}
#buddypress #activate-page,#buddypress #buddypress.activate{max-width:560px;margin:0 auto}

/* ---- BP widgets ---- */
.widget.buddypress ul,.widget_bp_core_login_widget ul{list-style:none;margin:0;padding:0}
.widget.buddypress .avatar-block img.avatar{border-radius:50%;margin:0 6px 6px 0}
.widget.buddypress .item-options a{font-weight:700;margin-right:10px}

/* ---- Mobile ---- */
@media(max-width:782px){
	#buddypress .bp-single-vert-nav .bp-wrap{display:block}
	#buddypress #header-cover-image{height:150px}
	#buddypress #item-header-avatar{margin-top:-48px}
	#buddypress #item-header-avatar img.avatar{width:96px;height:96px}
	#buddypress #signup-form .layout-wrap{grid-template-columns:1fr}
	#buddypress .bp-list.grid{grid-template-columns:repeat(2,1fr);gap:12px}
	#buddypress .bp-navs ul{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px;-webkit-overflow-scrolling:touch}
	#buddypress .bp-navs li a{white-space:nowrap}
}
@media(max-width:420px){#buddypress .bp-list.grid{grid-template-columns:1fr}}

/* Delta light-blue layer */
#buddypress .button,#buddypress button,#buddypress input[type=submit],#buddypress input[type=button],#buddypress .generic-button a,#buddypress a.button,.buddypress-wrap .button{background:#69c7e8;color:#05344a;border-color:#69c7e8}
#buddypress .button:hover,#buddypress button:hover,#buddypress input[type=submit]:hover,#buddypress .generic-button a:hover{background:#4fb8de;border-color:#4fb8de;color:#05344a}
#buddypress .bp-navs li.current a,#buddypress .bp-navs li.selected a,#buddypress .main-navs li.current a,#buddypress .main-navs li.selected a{background:#69c7e8;border-color:#69c7e8;color:#05344a}
#buddypress .bp-navs li.current .count,#buddypress .bp-navs li.selected .count{background:rgba(255,255,255,.55);color:#05344a}
#buddypress #header-cover-image{background-image:linear-gradient(115deg,#1688b8,#4db9e2 60%,#9adcf2)}
#buddypress .bp-pagination-links span.current,#buddypress .pagination-links span.current,#buddypress .bp-pagination-links a:hover{background:#69c7e8;color:#05344a;border-color:#69c7e8}

/* Yellow buttons */
#buddypress .button,#buddypress button,#buddypress input[type=submit],#buddypress input[type=button],#buddypress .generic-button a,#buddypress a.button,.buddypress-wrap .button{background:linear-gradient(180deg,#fbd24f,#f2b91a);color:#3a2900;border-color:#e9b11a}
#buddypress .button:hover,#buddypress button:hover,#buddypress input[type=submit]:hover,#buddypress .generic-button a:hover{background:linear-gradient(180deg,#f8c93a,#e4a90f);border-color:#e4a90f;color:#3a2900}
#buddypress .bp-pagination-links span.current,#buddypress .pagination-links span.current,#buddypress .bp-pagination-links a:hover{background:#f6c230;color:#3a2900;border-color:#f6c230}
