:root {
    --hdr-primary: #374a74;
    --hdr-primary-dark: #263554;
    --hdr-primary-light: #4c6294;
    --hdr-primary-soft: rgba(55, 74, 116, 0.08);
    --hdr-accent: #1877f2;
    --hdr-accent-hover: #1565c0;
    --hdr-accent-soft: #eff6ff;
    --hdr-bg: rgba(255, 255, 255, 0.95);
    --hdr-border: rgba(226, 232, 240, 0.85);
    --hdr-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
    --hdr-card-shadow: 0 16px 40px -8px rgba(15, 23, 42, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.06);
    --hdr-text: #0f172a;
    --hdr-text-muted: #64748b;
    --hdr-text-light: #94a3b8;
    --hdr-surface: #ffffff;
    --hdr-surface-soft: #f8fafc;
    --hdr-surface-hover: #f1f5f9;
    --hdr-danger: #ef4444;
    --hdr-danger-soft: #fef2f2;
    --hdr-success: #10b981;
    --hdr-success-soft: #ecfdf5
}

@keyframes dropSlideDown {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(.98)
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

@keyframes badgePulse {
    0% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.08)
    }

    100% {
        transform: scale(1)
    }
}

@keyframes dotGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(24, 119, 242, .5)
    }

    70% {
        box-shadow: 0 0 0 6px rgba(24, 119, 242, 0)
    }

    100% {
        box-shadow: 0 0 0 0 rgba(24, 119, 242, 0)
    }
}

.dropdown_page::after,
.dropdown_page::before,
.friend-dropdown::after,
.friend-dropdown::before,
.notif-dropdown::after,
.notif-dropdown::before,
.notification-dropdown::after,
.notification-dropdown::before,
.profile-dropdown11::after,
.profile-dropdown11::before,
.profile-menu11 .profile-dropdown11::after,
.profile-menu11 .profile-dropdown11::before,
.topbar .dropdown_page::after,
.topbar .dropdown_page::before,
.topbar .friend-dropdown::after,
.topbar .friend-dropdown::before,
.topbar .notification-dropdown::after,
.topbar .notification-dropdown::before,
.topbar .profile-dropdown11::after,
.topbar .profile-dropdown11::before,
div.profile-dropdown11::after,
div.profile-dropdown11::before {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    border: none !important
}

.topbar.modern-topbar {
    position: fixed !important;
    top: 0 !important;
    height: 64px !important;
    background: var(--hdr-bg) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid var(--hdr-border) !important;
    box-shadow: var(--hdr-shadow) !important;
    z-index: 1050 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 20px !important;
    gap: 16px !important;
    box-sizing: border-box !important;
    transition: all .25s ease !important
}

@media (min-width:992px) {
    .topbar.modern-topbar {
        left: 80px !important;
        right: 80px !important
    }
}

@media (min-width:769px) and (max-width:991.98px) {
    .topbar.modern-topbar {
        left: 70px !important;
        right: 0 !important
    }
}

@media (max-width:768px) {
    .topbar.modern-topbar {
        left: 0 !important;
        right: 0 !important;
        padding: 0 10px !important;
        gap: 8px !important
    }
}

.nav-left {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-shrink: 0 !important
}

.log1o {
    background: linear-gradient(135deg, var(--hdr-primary) 0, #1e293b 100%) !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 3px 10px rgba(55, 74, 116, .25) !important;
    transition: transform .2s cubic-bezier(.34, 1.56, .64, 1), box-shadow .2s ease !important;
    overflow: hidden !important
}

.log1o:hover {
    transform: translateY(-1px) scale(1.03) !important;
    box-shadow: 0 5px 14px rgba(55, 74, 116, .35) !important
}

.brand-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    text-decoration: none !important
}

.brand-logo-img {
    width: 34px !important;
    height: auto !important;
    object-fit: contain !important
}

.topbar .nav-search {
    position: relative !important;
    width: 360px !important;
    max-width: 100% !important;
    transition: width .25s ease !important
}

.topbar .search-box-wrapper {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    background: #f1f5f9 !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 9999px !important;
    height: 38px !important;
    padding: 0 4px 0 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: all .2s cubic-bezier(.4, 0, .2, 1) !important
}

.topbar .search-box-wrapper:hover {
    background: #eef2f6 !important;
    border-color: #cbd5e1 !important
}

.topbar .search-box-wrapper:focus-within {
    background: #fff !important;
    border-color: var(--hdr-primary) !important;
    box-shadow: 0 0 0 3px rgba(55, 74, 116, .12) !important
}

.topbar .search-icon-leading {
    font-size: 19px !important;
    color: var(--hdr-text-muted) !important;
    margin-right: 6px !important;
    flex-shrink: 0 !important;
    pointer-events: none !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important
}

.topbar .search-box-wrapper:focus-within .search-icon-leading {
    color: var(--hdr-primary) !important
}

.nav-search input,
.topbar .nav-search input,
.topbar .search-box-wrapper input,
.topbar .search-box-wrapper input#search_input {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: 100% !important;
    height: 32px !important;
    line-height: 32px !important;
    border: none !important;
    outline: 0 !important;
    background: transparent !important;
    padding: 0 6px 0 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: var(--hdr-text) !important
}

.topbar .nav-search input::placeholder,
.topbar .search-box-wrapper input::placeholder {
    color: var(--hdr-text-light) !important;
    font-weight: 400 !important
}

.nav-search .settings-wrapper,
.settings-wrapper,
.topbar .nav-search .settings-wrapper,
.topbar .search-box-wrapper .settings-wrapper {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    height: auto !important;
    flex-shrink: 0 !important;
    z-index: 5 !important
}

#selected_type,
.search-setting,
.topbar #selected_type,
.topbar .search-setting {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    background: #fff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 9999px !important;
    padding: 2px 8px !important;
    height: 28px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    color: #475569 !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05) !important;
    transition: all .15s ease !important;
    user-select: none !important;
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    margin: 0 !important
}

#selected_type,
.search-setting,
.topbar .search-setting {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 5px 11px !important;
    border-radius: 9999px !important;
    background: #f1f5f9 !important;
    color: #1e293b !important;
    cursor: pointer !important;
    transition: all .2s cubic-bezier(.4, 0, .2, 1) !important;
    border: 1px solid #e2e8f0 !important;
    user-select: none !important
}

#selected_type:hover,
.search-setting:hover,
.topbar .search-setting:hover {
    background: #e2e8f0 !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important
}

#selected_type i,
.search-setting i,
.topbar .search-setting i {
    font-size: 15px !important;
    color: #1877f2 !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important
}

.search-setting .setting-caret {
    font-size: 14px !important;
    color: #64748b !important;
    margin-left: 1px !important
}

#selected_type .setting-text,
#selected_type span,
.search-setting .setting-text,
.topbar .search-setting .setting-text {
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1 !important
}

.dropdown_page,
.topbar .dropdown_page {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    width: 235px !important;
    background: #fff !important;
    border: 1px solid rgba(226, 232, 240, .95) !important;
    border-radius: 16px !important;
    box-shadow: 0 18px 40px -6px rgba(15, 23, 42, .18), 0 0 0 1px rgba(0, 0, 0, .04) !important;
    padding: 8px !important;
    z-index: 1080 !important;
    display: none;
    animation: dropSlideDown .2s cubic-bezier(.16, 1, .3, 1) !important
}

.dropdown_page.active,
.topbar .dropdown_page.active {
    display: block !important
}

.filter-dropdown-title {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: .6px !important;
    padding: 6px 10px 4px !important
}

.item11 {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 8px 10px !important;
    border-radius: 10px !important;
    color: #334155 !important;
    cursor: pointer !important;
    transition: all .15s ease !important;
    margin-bottom: 2px !important;
    border: 1px solid transparent !important
}

.item11:hover {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #0f172a !important
}

.item11.active {
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
    color: #1d4ed8 !important
}

.item11-icon-wrap {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important
}

.item11-icon-wrap.icon-all {
    background: #eff6ff !important;
    color: #2563eb !important
}

.item11-icon-wrap.icon-user {
    background: #ecfdf5 !important;
    color: #059669 !important
}

.item11-icon-wrap.icon-page {
    background: #f5f3ff !important;
    color: #7c3aed !important
}

.item11-icon-wrap i {
    font-size: 18px !important
}

.item11-content {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important
}

.item11-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    color: #0f172a !important
}

.item11.active .item11-title {
    color: #1d4ed8 !important
}

.item11-sub {
    font-size: 11px !important;
    color: #64748b !important;
    line-height: 1.2 !important;
    margin-top: 1px !important
}

.item11 .check-ico {
    font-size: 16px !important;
    color: #2563eb !important;
    opacity: 0;
    transition: opacity .15s ease !important
}

.item11.active .check-ico {
    opacity: 1 !important
}

#list_conti_usr {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    min-width: 380px !important;
    background: #fff !important;
    border: 1px solid rgba(226, 232, 240, .95) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 45px -8px rgba(15, 23, 42, .22), 0 0 0 1px rgba(0, 0, 0, .04) !important;
    overflow: hidden !important;
    z-index: 1070 !important;
    animation: dropSlideDown .2s cubic-bezier(.16, 1, .3, 1) !important
}

#list_conti_usr:empty {
    display: none !important
}

.search-results-floating-wrap {
    background: #fff !important
}

.sr-header-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 16px !important;
    background: linear-gradient(135deg, #fff 0, #f8fafc 100%) !important;
    border-bottom: 1px solid #f1f5f9 !important
}

.sr-header-left {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 12.5px !important;
    color: #475569 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important
}

.sr-header-left i {
    font-size: 16px !important;
    color: #1877f2 !important
}

.sr-header-count {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #2563eb !important;
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    padding: 1px 7px !important;
    border-radius: 9999px !important;
    flex-shrink: 0 !important
}

.sr-results-scroll {
    max-height: 380px !important;
    overflow-y: auto !important;
    padding: 8px 10px !important
}

.sr-results-scroll::-webkit-scrollbar {
    width: 5px
}

.sr-results-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px
}

.sr-section-label {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: .5px !important;
    padding: 6px 8px 4px 8px !important
}

.sr-section-label i {
    font-size: 14px !important;
    color: #94a3b8 !important
}

.sr-list-items {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important
}

.sr-item {
    margin: 0 !important;
    padding: 0 !important
}

.sr-item-link {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 8px 10px !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    background: #fff !important;
    border: 1px solid transparent !important;
    transition: all .15s ease !important
}

.sr-item-link:hover {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    transform: translateX(2px) !important
}

.sr-avatar-wrap {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    position: relative !important;
    flex-shrink: 0 !important
}

.sr-avatar-wrap img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 1.5px solid #fff !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .08) !important
}

.sr-info {
    flex: 1 !important;
    min-width: 0 !important
}

.sr-name {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important
}

.sr-item-link:hover .sr-name {
    color: #1877f2 !important
}

.sr-meta {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin-top: 2px !important;
    font-size: 11.5px !important;
    color: #64748b !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important
}

.sr-meta i {
    font-size: 13px !important;
    color: #94a3b8 !important
}

.sr-type-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 2px 7px !important;
    border-radius: 9999px !important;
    flex-shrink: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: .3px !important
}

.sr-type-badge i {
    font-size: 11px !important
}

.user-type-badge {
    background: #eff6ff !important;
    color: #2563eb !important;
    border: 1px solid #bfdbfe !important
}

.page-type-badge {
    background: #f5f3ff !important;
    color: #7c3aed !important;
    border: 1px solid #ddd6fe !important
}

.sr-item-arrow {
    font-size: 15px !important;
    color: #cbd5e1 !important;
    transition: all .15s ease !important;
    flex-shrink: 0 !important
}

.sr-item-link:hover .sr-item-arrow {
    color: #1877f2 !important;
    transform: translateX(2px) !important
}

.sr-footer-action {
    padding: 8px 12px !important;
    background: #f8fafc !important;
    border-top: 1px solid #f1f5f9 !important
}

.sr-btn-see-all {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: 100% !important;
    padding: 8px 14px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #374a74 0, #263554 100%) !important;
    color: #fff !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(38, 53, 84, .2) !important;
    transition: all .15s ease !important
}

.sr-btn-see-all:hover {
    color: #fff !important;
    opacity: .94 !important;
    transform: translateY(-.5px) !important;
    box-shadow: 0 4px 10px rgba(38, 53, 84, .3) !important
}

.sr-btn-see-all i {
    font-size: 15px !important
}

.sr-empty-box {
    padding: 32px 18px !important;
    text-align: center !important
}

.sr-empty-icon {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    color: #94a3b8 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 10px auto !important
}

.sr-empty-icon i {
    font-size: 24px !important
}

.sr-empty-box h5 {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 0 0 4px 0 !important
}

.sr-empty-box p {
    font-size: 12px !important;
    color: #64748b !important;
    margin: 0 !important
}

.loaders_search {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 24px 16px !important;
    color: #64748b !important;
    font-size: 13px !important;
    font-weight: 500 !important
}

.search-loader-spinner {
    width: 18px !important;
    height: 18px !important;
    border: 2.5px solid #e2e8f0 !important;
    border-top-color: #1877f2 !important;
    border-radius: 50% !important;
    animation: searchSpin .7s linear infinite !important
}

@keyframes searchSpin {
    to {
        transform: rotate(360deg)
    }
}

.nav-menu {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-left: auto !important
}

.icon-box1 {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important
}

.icon-circle-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f1f5f9 !important;
    color: #475569 !important;
    cursor: pointer !important;
    transition: all .2s cubic-bezier(.4, 0, .2, 1) !important;
    border: 1px solid transparent !important
}

.icon-circle-btn i {
    font-size: 21px !important;
    transition: transform .2s ease !important
}

.icon-circle-btn:hover {
    background: #e2e8f0 !important;
    color: var(--hdr-text) !important;
    transform: translateY(-1px) !important
}

.icon-box1:hover .icon-circle-btn {
    background: #e2e8f0 !important
}

.badge1 {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    background: linear-gradient(135deg, #ef4444 0, #dc2626 100%) !important;
    color: #fff !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    min-width: 18px !important;
    height: 18px !important;
    line-height: 18px !important;
    border-radius: 9999px !important;
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 4px !important;
    border: 2px solid #fff !important;
    box-shadow: 0 2px 6px rgba(239, 68, 68, .45) !important;
    pointer-events: none !important;
    z-index: 3 !important;
    box-sizing: border-box !important;
    font-family: inherit !important
}

.badge1.d-none,
.badge1:empty,
.badge1[style*="display: none"],
.badge1[style*="display:none"] {
    display: none !important
}

.notification-dropdown,
.topbar .notification-dropdown {
    display: none;
    position: absolute !important;
    right: -10px !important;
    top: 50px !important;
    width: 380px !important;
    max-height: calc(100vh - 75px) !important;
    background: #fff !important;
    border-radius: 14px !important;
    box-shadow: var(--hdr-card-shadow) !important;
    z-index: 1070 !important;
    overflow: hidden !important;
    animation: dropSlideDown .25s cubic-bezier(.16, 1, .3, 1) !important
}

.notification-dropdown.active,
.topbar .notification-dropdown.active {
    display: block !important
}

.notif-header {
    padding: 14px 18px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    background: #fff !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important
}

.notif-header-left {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important
}

.notif-header h4 {
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--hdr-text) !important;
    letter-spacing: -.2px !important
}

.notif-unread-count {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--hdr-accent) !important;
    background: var(--hdr-accent-soft) !important;
    padding: 2px 8px !important;
    border-radius: 9999px !important;
    border: 1px solid rgba(24, 119, 242, .15) !important
}

.notif-header-actions {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important
}

.notif-mark-all {
    background: transparent !important;
    border: 1px solid #e2e8f0 !important;
    color: var(--hdr-accent) !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    transition: all .2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important
}

.notif-mark-all:hover {
    background: var(--hdr-accent-soft) !important;
    border-color: #bfdbfe !important;
    color: var(--hdr-accent-hover) !important
}

.notif-delete-all {
    color: #ef4444 !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    transition: all .2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important
}

.notif-delete-all:hover {
    background: #fef2f2 !important;
    border-color: #fca5a5 !important;
    color: #dc2626 !important
}

.notif-list,
.topbar .notif-list {
    overflow-y: auto !important;
    padding: 4px !important
}

.notif-list::-webkit-scrollbar {
    width: 5px
}

.notif-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px
}

.notif-item {
    padding: 10px 12px !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    border-radius: 10px !important;
    margin-bottom: 2px !important;
    transition: all .15s ease !important;
    cursor: pointer !important;
    position: relative !important;
    border-left: 3px solid transparent !important
}

.notif-item:hover {
    background: #f8fafc !important
}

.notif-item.unread {
    background: #f0f7ff !important;
    border-left-color: var(--hdr-accent) !important
}

.notif-item.unread:hover {
    background: #e6f0fd !important
}

.notif-icon {
    flex-shrink: 0 !important
}

.notif-icon-circle {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .04) !important
}

.notif-content {
    flex: 1 !important;
    min-width: 0 !important
}

.notif-content p {
    margin: 0 0 3px 0 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    color: #1e293b !important;
    word-break: break-word !important
}

.notif-meta {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important
}

.notif-time {
    font-size: 11.5px !important;
    color: var(--hdr-text-muted) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important
}

.notif-unread-dot {
    display: inline-block !important;
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background: var(--hdr-accent) !important;
    animation: dotGlow 1.8s infinite !important
}

.notif-actions {
    display: flex !important;
    gap: 3px !important;
    flex-shrink: 0 !important;
    opacity: 0 !important;
    transition: opacity .2s ease !important
}

.notif-item:hover .notif-actions {
    opacity: 1 !important
}

.notif-action-btn {
    width: 26px !important;
    height: 26px !important;
    border: none !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: var(--hdr-text-muted) !important;
    cursor: pointer !important;
    transition: all .15s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 11px !important
}

.mark-read-btn {
    background: #eff6ff !important;
    color: var(--hdr-accent) !important
}

.mark-read-btn:hover {
    background: #dbeafe !important;
    color: var(--hdr-accent-hover) !important
}

.hide-btn {
    background: #fef3c7 !important;
    color: #d97706 !important
}

.hide-btn:hover {
    background: #fde68a !important
}

.delete-btn {
    background: #fee2e2 !important;
    color: var(--hdr-danger) !important
}

.delete-btn:hover {
    background: #fecaca !important
}

.notif-empty {
    padding: 36px 16px !important;
    text-align: center !important
}

.empty-icon-ring {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 10px !important
}

.empty-icon-ring i {
    font-size: 24px !important;
    color: #94a3b8 !important
}

.notif-empty h5 {
    margin: 0 0 3px 0 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1e293b !important
}

.notif-empty p {
    margin: 0 !important;
    font-size: 12.5px !important;
    color: var(--hdr-text-muted) !important
}

.notif-footer {
    padding: 10px 16px !important;
    border-top: 1px solid #f1f5f9 !important;
    text-align: center !important;
    background: #fafafa !important
}

.notif-footer a {
    text-decoration: none !important;
    color: var(--hdr-accent) !important;
    font-weight: 600 !important;
    font-size: 12.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    transition: gap .2s ease, color .2s ease !important
}

.notif-footer a:hover {
    color: var(--hdr-accent-hover) !important;
    gap: 8px !important
}

.friend-dropdown,
.topbar .friend-dropdown {
    display: none;
    position: absolute !important;
    right: -10px !important;
    top: 50px !important;
    width: 380px !important;
    max-height: calc(100vh - 75px) !important;
    background: #fff !important;
    border-radius: 16px !important;
    box-shadow: 0 16px 40px -8px rgba(15, 23, 42, .2), 0 0 0 1px rgba(0, 0, 0, .06) !important;
    z-index: 1070 !important;
    overflow: hidden !important;
    animation: dropSlideDown .25s cubic-bezier(.16, 1, .3, 1) !important
}

.friend-dropdown.active,
.topbar .friend-dropdown.active {
    display: block !important
}

.friend-header {
    padding: 14px 18px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    background: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important
}

.friend-header-left {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important
}

.friend-header-icon-wrap {
    width: 34px !important;
    height: 34px !important;
    border-radius: 9px !important;
    background: #eff6ff !important;
    color: #1877f2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important
}

.friend-header-icon-wrap i {
    font-size: 18px !important
}

.friend-header h4 {
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--hdr-text) !important;
    letter-spacing: -.2px !important;
    line-height: 1.25 !important
}

.friend-header-sub {
    font-size: 11.5px !important;
    color: var(--hdr-text-muted) !important;
    display: block !important;
    margin-top: 1px !important;
    font-weight: 500 !important
}

.friend-find-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 4px 10px !important;
    border-radius: 9999px !important;
    background: #eff6ff !important;
    color: #1877f2 !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all .15s ease !important
}

.friend-find-link:hover {
    background: #dbeafe !important;
    color: #1565c0 !important
}

.friend-find-link i {
    font-size: 13px !important
}

.friend-lis,
.topbar .friend-lis {
    max-height: calc(100vh - 190px) !important;
    overflow-y: auto !important;
    padding: 6px 8px !important
}

.friend-lis::-webkit-scrollbar {
    width: 5px
}

.friend-lis::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px
}

.friend-request-item {
    padding: 10px 12px !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    border-radius: 12px !important;
    margin-bottom: 3px !important;
    transition: background .15s ease !important;
    background: #fff !important
}

.friend-request-item:hover {
    background: #f8fafc !important
}

.friend-request-avatar {
    position: relative !important;
    flex-shrink: 0 !important
}

.friend-request-avatar img {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid #fff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08) !important
}

.frnd-avatar-badge {
    position: absolute !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 11px !important;
    height: 11px !important;
    border-radius: 50% !important;
    background: #10b981 !important;
    border: 2px solid #fff !important
}

.friend-request-info {
    flex: 1 !important;
    min-width: 0 !important
}

.friend-request-name {
    font-weight: 700 !important;
    color: var(--hdr-text) !important;
    font-size: 13.5px !important;
    line-height: 1.3 !important
}

.friend-request-name a {
    color: var(--hdr-text) !important;
    text-decoration: none !important;
    transition: color .15s ease !important
}

.friend-request-name a:hover {
    color: var(--hdr-accent) !important
}

.friend-request-meta {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin-top: 3px !important
}

.friend-request-time {
    font-size: 11.5px !important;
    color: var(--hdr-text-muted) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important
}

.friend-request-time i {
    font-size: 13px !important
}

.friend-request-actions {
    display: flex !important;
    gap: 8px !important;
    margin-top: 8px !important
}

.btn-accept {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 6px 14px !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    background: linear-gradient(135deg, #1877f2 0, #0284c7 100%) !important;
    color: #fff !important;
    box-shadow: 0 2px 6px rgba(24, 119, 242, .25) !important;
    transition: all .15s ease !important
}

.btn-accept:hover {
    box-shadow: 0 4px 10px rgba(24, 119, 242, .35) !important;
    transform: translateY(-.5px) !important
}

.btn-accept i {
    font-size: 14px !important
}

.btn-reject {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 6px 14px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    background: #f8fafc !important;
    color: #475569 !important;
    transition: all .15s ease !important
}

.btn-reject:hover {
    background: #e2e8f0 !important;
    color: #1e293b !important
}

.btn-reject i {
    font-size: 14px !important
}

.friend-empty-state {
    padding: 34px 20px !important;
    text-align: center !important
}

.friend-empty-icon-wrap {
    width: 64px !important;
    height: 64px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #eff6ff 0, #dbeafe 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 12px !important;
    color: #1877f2 !important;
    box-shadow: 0 4px 14px rgba(24, 119, 242, .12) !important
}

.friend-empty-icon-wrap i {
    font-size: 30px !important
}

.friend-empty-state h5 {
    margin: 0 0 5px 0 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0f172a !important
}

.friend-empty-state p {
    margin: 0 auto 16px !important;
    font-size: 12.5px !important;
    color: var(--hdr-text-muted) !important;
    max-width: 250px !important;
    line-height: 1.45 !important
}

.friend-empty-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 7px 18px !important;
    border-radius: 9999px !important;
    background: linear-gradient(135deg, #1877f2 0, #0284c7 100%) !important;
    color: #fff !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(24, 119, 242, .25) !important;
    transition: all .2s ease !important
}

.friend-empty-btn:hover {
    box-shadow: 0 4px 12px rgba(24, 119, 242, .35) !important;
    transform: translateY(-.5px) !important;
    color: #fff !important
}

.friend-empty-btn i {
    font-size: 16px !important
}

.friend-footer {
    padding: 10px 16px !important;
    border-top: 1px solid #f1f5f9 !important;
    text-align: center !important;
    background: #fafafa !important
}

.friend-footer-link {
    text-decoration: none !important;
    color: var(--hdr-accent) !important;
    font-weight: 600 !important;
    font-size: 12.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    transition: gap .2s ease, color .2s ease !important
}

.friend-footer-link:hover {
    color: var(--hdr-accent-hover) !important;
    gap: 8px !important
}

.nav-right {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-shrink: 0 !important
}

.more-services-box .icon-circle-btn {
    cursor: pointer !important
}

.profile-menu11 {
    position: relative !important
}

.avatar-trigger {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 2px 6px 2px 2px !important;
    border-radius: 9999px !important;
    cursor: pointer !important;
    transition: all .2s ease !important;
    border: 1px solid transparent !important;
    background: #f8fafc !important
}

.avatar-trigger:hover {
    background: #f1f5f9 !important;
    border-color: #e2e8f0 !important
}

.avatar1 {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid #fff !important;
    box-shadow: 0 0 0 1.5px #cbd5e1 !important;
    transition: box-shadow .2s ease !important
}

.avatar-trigger:hover .avatar1 {
    box-shadow: 0 0 0 2px var(--hdr-primary) !important
}

.avatar-status-indicator {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: var(--hdr-success) !important;
    border: 1.5px solid #fff !important;
    margin-left: -11px !important;
    margin-top: 18px !important;
    z-index: 2 !important
}

.avatar-dropdown-arrow {
    font-size: 17px !important;
    color: var(--hdr-text-muted) !important;
    transition: transform .2s ease !important
}

.avatar-trigger.active .avatar-dropdown-arrow,
.profile-dropdown11.active~.avatar-trigger .avatar-dropdown-arrow,
.profile-menu11:has(.profile-dropdown11.active) .avatar-dropdown-arrow {
    transform: rotate(180deg) !important
}

.profile-dropdown11,
.topbar .profile-dropdown11 {
    position: absolute !important;
    right: 0 !important;
    top: 48px !important;
    width: 300px !important;
    max-height: calc(100vh - 75px) !important;
    background: #fff !important;
    border-radius: 16px !important;
    box-shadow: 0 16px 40px -8px rgba(15, 23, 42, .2), 0 0 0 1px rgba(0, 0, 0, .06) !important;
    z-index: 1070 !important;
    display: none;
    flex-direction: column !important;
    overflow: hidden !important;
    animation: dropSlideDown .2s cubic-bezier(.16, 1, .3, 1) !important
}

.profile-dropdown11.active,
.topbar .profile-dropdown11.active {
    display: flex !important
}

.profile-header,
.topbar .profile-header {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 12px 14px !important;
    background: linear-gradient(135deg, #fff 0, #f8fafc 100%) !important;
    border-bottom: 1px solid #f1f5f9 !important
}

.profile-avatar-wrap {
    position: relative !important;
    flex-shrink: 0 !important
}

.profile-header img,
.topbar .profile-avatar-wrap img {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid #fff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08) !important
}

.profile-online-ring {
    position: absolute !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 11px !important;
    height: 11px !important;
    border-radius: 50% !important;
    background: #10b981 !important;
    border: 2px solid #fff !important
}

.profile-meta {
    flex: 1 !important;
    min-width: 0 !important
}

.profile-header h4,
.topbar .profile-meta h4 {
    margin: 0 0 2px 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--hdr-text) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.3 !important
}

.profile-badge-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    padding: 1px 7px !important;
    border-radius: 9999px !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.35 !important
}

.profile-badge-pill i {
    font-size: 11px !important
}

.profile-badge-pill.user-badge {
    background: #eff6ff !important;
    color: #2563eb !important
}

.profile-badge-pill.page-badge {
    background: #fdf2f8 !important;
    color: #db2777 !important
}

.profile-view-head-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 2px !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
    background: #f1f5f9 !important;
    color: #334155 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    transition: all .15s ease !important
}

.profile-view-head-btn:hover {
    background: #1877f2 !important;
    color: #fff !important
}

.profile-view-head-btn i {
    font-size: 13px !important
}

.profile-switcher-panel {
    flex-shrink: 0 !important;
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important
}

.profile-switcher-header {
    padding: 7px 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-bottom: 1px solid #f1f5f9 !important
}

.switcher-hdr-title {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: .5px !important
}

.switcher-hdr-title i {
    font-size: 14px !important
}

.switcher-see-all-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 2px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #1877f2 !important;
    text-decoration: none !important
}

.switcher-see-all-link:hover {
    color: #1565c0 !important
}

.switcher-see-all-link i {
    font-size: 13px !important
}

.profile-switcher-list {
    padding: 6px 8px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important
}

.profile-switch-card {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 6px 8px !important;
    border-radius: 9px !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    cursor: pointer !important;
    transition: all .15s ease !important
}

.profile-switch-card:hover {
    border-color: #cbd5e1 !important;
    background: #f8fafc !important
}

.profile-switch-card.is-active {
    background: #eff6ff !important;
    border-color: rgba(37, 99, 235, .35) !important
}

.switch-card-avatar {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    position: relative !important;
    flex-shrink: 0 !important
}

.switch-card-avatar img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 1px solid #e2e8f0 !important
}

.switch-active-ring {
    position: absolute !important;
    bottom: -2px !important;
    right: -2px !important;
    width: 13px !important;
    height: 13px !important;
    border-radius: 50% !important;
    background: #16a34a !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1.5px solid #fff !important
}

.switch-active-ring i {
    font-size: 9px !important;
    font-weight: 700 !important
}

.switch-card-info {
    flex: 1 !important;
    min-width: 0 !important
}

.switch-card-name {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.25 !important
}

.switch-card-role {
    font-size: 10.5px !important;
    color: #64748b !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.25 !important
}

.switch-card-status {
    flex-shrink: 0 !important
}

.active-badge-pill {
    font-size: 10px !important;
    font-weight: 700 !important;
    color: #16a34a !important;
    background: #dcfce7 !important;
    padding: 2px 7px !important;
    border-radius: 9999px !important;
    display: inline-block !important
}

.btn-do-switch {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    background: #fff !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all .15s ease !important
}

.btn-do-switch:hover {
    background: #1877f2 !important;
    border-color: #1877f2 !important;
    color: #fff !important
}

.btn-do-switch i {
    font-size: 12px !important
}

.btn-more-profiles-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    padding: 5px 8px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #1877f2 !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    background: #f1f5f9 !important;
    margin-top: 2px !important;
    transition: all .15s ease !important
}

.btn-more-profiles-link:hover {
    background: #e2e8f0 !important;
    color: #1565c0 !important
}

.btn-more-profiles-link i {
    font-size: 14px !important
}

.menu-list,
.topbar .menu-list {
    flex: 1 1 auto !important;
    list-style: none !important;
    padding: 4px 6px !important;
    margin: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    max-height: calc(100vh - 185px) !important
}

.menu-list::-webkit-scrollbar,
.topbar .menu-list::-webkit-scrollbar {
    width: 5px
}

.menu-list::-webkit-scrollbar-thumb,
.topbar .menu-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px
}

.menu-list li,
.topbar .menu-list li {
    display: block !important;
    padding: 0 !important;
    margin: 1px 0 !important;
    border: none !important;
    background: transparent !important;
    color: inherit !important;
    float: none !important;
    width: 100% !important
}

.menu-list li:hover,
.topbar .menu-list li:hover {
    background: transparent !important
}

.menu-item-link,
.topbar .menu-item-link {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    padding: 6px 10px !important;
    border-radius: 8px !important;
    color: #334155 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all .15s ease !important;
    line-height: 1.4 !important
}

.menu-item-link:hover,
.topbar .menu-item-link:hover {
    background: #f1f5f9 !important;
    color: var(--hdr-text) !important;
    transform: none !important
}

.topbar .menu-icon-box {
    width: 26px !important;
    height: 26px !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important
}

.topbar .menu-icon-box i {
    font-size: 15px !important;
    line-height: 1 !important;
    color: inherit !important
}

.icon-primary {
    background: #eff6ff !important;
    color: #2563eb !important
}

.icon-slate {
    background: #f1f5f9 !important;
    color: #475569 !important
}

.icon-indigo {
    background: #e0e7ff !important;
    color: #4f46e5 !important
}

.icon-emerald {
    background: #d1fae5 !important;
    color: #059669 !important
}

.icon-cyan {
    background: #cffafe !important;
    color: #0891b2 !important
}

.icon-rose {
    background: #ffe4e6 !important;
    color: #e11d48 !important
}

.icon-purple {
    background: #f3e8ff !important;
    color: #7c3aed !important
}

.icon-gray {
    background: #f3f4f6 !important;
    color: #6b7280 !important
}

.icon-amber {
    background: #fef3c7 !important;
    color: #d97706 !important
}

.menu-earn-badge {
    margin-left: auto;
    background: linear-gradient(135deg, #10b981 0, #059669 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: .5px;
    line-height: 1.3
}

.menu-divider {
    height: 1px !important;
    background: #f1f5f9 !important;
    margin: 4px 8px !important;
    display: block !important
}

.logout,
.topbar .logout {
    flex-shrink: 0 !important;
    padding: 6px 8px 8px !important;
    background: #fff !important;
    border-top: 1px solid #f1f5f9 !important;
    margin-top: auto !important
}

.logout-link,
.topbar .logout-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 7px 12px !important;
    border-radius: 8px !important;
    background: #fef2f2 !important;
    color: #dc2626 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all .15s ease !important
}

.logout-link:hover,
.topbar .logout-link:hover {
    background: #fee2e2 !important;
    color: #b91c1c !important
}

.topbar .logout-link i {
    font-size: 16px !important;
    color: #dc2626 !important
}

.sidebar-toggle {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    color: #334155 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all .2s ease !important
}

.sidebar-toggle:hover {
    background: #e2e8f0 !important;
    color: var(--hdr-text) !important
}

.search-result-item {
    display: flex !important;
    align-items: center !important;
    padding: 9px 12px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    transition: background .15s ease !important;
    cursor: pointer !important
}

.search-result-item:hover {
    background: #f8fafc !important
}

.search-result-item img {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    margin-right: 10px !important
}

.search-result-item .result-info {
    flex: 1 !important;
    min-width: 0 !important
}

.search-result-item .result-name {
    font-weight: 600 !important;
    color: var(--hdr-text) !important;
    font-size: 13px !important
}

.search-result-item .result-type {
    font-size: 11.5px !important;
    color: var(--hdr-text-muted) !important
}

.result-separator {
    padding: 6px 12px !important;
    background: #f8fafc !important;
    font-weight: 700 !important;
    color: var(--hdr-text-muted) !important;
    font-size: 11.5px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    text-transform: uppercase !important;
    letter-spacing: .5px !important
}

.search-empty {
    padding: 28px 16px !important;
    text-align: center !important
}

.search-empty i {
    color: #cbd5e1 !important;
    margin-bottom: 10px !important;
    font-size: 32px !important
}

.search-empty h5 {
    margin: 0 0 3px 0 !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #1e293b !important
}

.search-empty p {
    margin: 0 !important;
    font-size: 12.5px !important;
    color: var(--hdr-text-muted) !important
}

.loaders_search {
    padding: 20px !important;
    text-align: center !important
}

.loader {
    display: inline-block !important
}

.ball-pulse>div {
    display: inline-block !important;
    width: 8px !important;
    height: 8px !important;
    margin: 0 3px !important;
    background: var(--hdr-primary) !important;
    border-radius: 50% !important;
    animation: ball-pulse 1.4s infinite ease-in-out !important
}

.ball-pulse>div:nth-child(2) {
    animation-delay: .2s !important
}

.ball-pulse>div:nth-child(3) {
    animation-delay: .4s !important
}

@keyframes ball-pulse {

    0%,
    100%,
    80% {
        transform: scale(0)
    }

    40% {
        transform: scale(1)
    }
}

.modal-content {
    border-radius: 16px !important;
    border: none !important;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, .25) !important;
    overflow: hidden !important
}

.modal-header.with-title {
    padding: 16px 20px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    background: #fff !important
}

.modal-header.with-title h4,
.modal-header.with-title h5 {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: var(--hdr-text) !important;
    margin: 0 !important
}

.language-option {
    transition: all .2s ease !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important
}

.language-option:hover {
    border-color: var(--hdr-primary) !important;
    background: #f8fafc !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .06) !important
}

#moreServicesModal.modal {
    background: rgba(15, 23, 42, .65) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 1065 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important
}

#moreServicesModal .modal-dialog {
    max-width: 960px !important;
    width: 94% !important;
    margin: 1.5rem auto !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    max-height: calc(100vh - 3rem) !important
}

#moreServicesModal.show .modal-dialog {
    margin: 1.5rem auto !important
}

#moreServicesModal .modal-content {
    display: flex !important;
    flex-direction: column !important;
    max-height: calc(100vh - 3rem) !important;
    border-radius: 18px !important;
    border: 1px solid rgba(226, 232, 240, .9) !important;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, .35) !important;
    overflow: hidden !important;
    background: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important
}

.svc-modal-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 15px 22px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    background: #fff !important;
    gap: 16px !important;
    flex-shrink: 0 !important
}

.svc-header-left {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-width: 0 !important
}

.svc-header-icon {
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, var(--hdr-primary, #374a74) 0, #1e293b 100%) !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 12px rgba(55, 74, 116, .25) !important
}

.svc-header-icon i {
    font-size: 22px !important;
    color: #fff !important
}

.svc-header-info {
    min-width: 0 !important
}

.svc-modal-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 2px 0 !important;
    line-height: 1.25 !important;
    letter-spacing: -.2px !important
}

.svc-modal-subtitle {
    font-size: 12.5px !important;
    color: #64748b !important;
    margin: 0 !important;
    line-height: 1.35 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important
}

.svc-header-right {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-shrink: 0 !important
}

.svc-count-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 5px 12px !important;
    border-radius: 9999px !important;
    background: #f1f5f9 !important;
    color: #475569 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border: 1px solid #e2e8f0 !important;
    transition: all .2s ease !important
}

.svc-count-badge.has-selected {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border-color: #bfdbfe !important
}

.svc-count-dot {
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background: #94a3b8 !important;
    transition: all .2s ease !important
}

.svc-count-badge.has-selected .svc-count-dot {
    background: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .2) !important
}

.svc-close-btn {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    color: #64748b !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all .2s ease !important;
    padding: 0 !important
}

.svc-close-btn:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
    transform: scale(1.05) !important
}

.svc-close-btn i {
    font-size: 18px !important
}

.svc-modal-body {
    padding: 0 !important;
    background: #fff !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important
}

#moreServicesModal #servicesForm,
.svc-modal-body form {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important
}

.svc-modal-scrollable {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    background: #f8fafc !important
}

.svc-modal-scrollable::-webkit-scrollbar {
    width: 6px
}

.svc-modal-scrollable::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px
}

.svc-modal-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) !important;
    gap: 18px !important;
    padding: 18px 22px !important;
    background: #f8fafc !important;
    align-items: start !important;
    box-sizing: border-box !important
}

.svc-modal-left {
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important
}

.svc-modal-right {
    min-width: 0 !important
}

.svc-grid-toolbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 10px !important
}

.svc-toolbar-heading {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .6px !important;
    color: #64748b !important
}

.svc-toolbar-btns {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important
}

.svc-tool-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 4px 10px !important;
    border-radius: 7px !important;
    border: 1px solid #e2e8f0 !important;
    background: #fff !important;
    color: #475569 !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all .15s ease !important
}

.svc-tool-btn:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important
}

.svc-tool-btn i {
    font-size: 14px !important;
    line-height: 1 !important
}

.svc-grid-wrapper {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important
}

.svc-card {
    position: relative !important;
    background: #fff !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 12px 8px 10px !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all .2s cubic-bezier(.4, 0, .2, 1) !important;
    user-select: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    height: 118px !important;
    box-sizing: border-box !important
}

.svc-card:hover {
    transform: translateY(-2px) !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 8px 16px -4px rgba(15, 23, 42, .08) !important
}

.svc-real-checkbox {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important
}

.svc-card-check {
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    border: 1.5px solid #cbd5e1 !important;
    background: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all .2s cubic-bezier(.34, 1.56, .64, 1) !important;
    z-index: 2 !important
}

.svc-card-check i {
    font-size: 12px !important;
    color: transparent !important;
    font-weight: 700 !important;
    transition: color .15s ease !important
}

.svc-card.svc-selected {
    border-color: var(--hdr-primary, #374a74) !important;
    background: #f8fafc !important;
    box-shadow: 0 6px 18px -3px rgba(55, 74, 116, .18) !important
}

.svc-card.svc-selected .svc-card-check {
    background: var(--hdr-primary, #374a74) !important;
    border-color: var(--hdr-primary, #374a74) !important;
    transform: scale(1.08) !important
}

.svc-card.svc-selected .svc-card-check i {
    color: #fff !important
}

.svc-card-icon-box {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    background: #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 6px !important;
    transition: all .2s ease !important;
    flex-shrink: 0 !important;
    overflow: hidden !important
}

.svc-card:hover .svc-card-icon-box {
    transform: scale(1.05) !important
}

.svc-card.svc-selected .svc-card-icon-box {
    background: #fff !important;
    box-shadow: 0 3px 10px rgba(55, 74, 116, .15) !important
}

.svc-card-img {
    width: 28px !important;
    height: 28px !important;
    object-fit: contain !important
}

.svc-card-fallback-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%
}

.svc-card-fallback-icon i {
    font-size: 24px !important
}

.svc-card-info {
    width: 100% !important;
    min-width: 0 !important
}

.svc-card-title {
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 0 0 3px 0 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important
}

.svc-card-tag {
    display: inline-block !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    padding: 1px 6px !important;
    border-radius: 9999px !important;
    text-transform: uppercase !important;
    letter-spacing: .3px !important;
    line-height: 1.3 !important
}

.theme-blue .svc-card-tag {
    background: #eff6ff !important;
    color: #2563eb !important
}

.theme-emerald .svc-card-tag {
    background: #ecfdf5 !important;
    color: #059669 !important
}

.theme-purple .svc-card-tag {
    background: #f5f3ff !important;
    color: #7c3aed !important
}

.theme-cyan .svc-card-tag {
    background: #ecfeff !important;
    color: #0891b2 !important
}

.theme-amber .svc-card-tag {
    background: #fffbeb !important;
    color: #d97706 !important
}

.theme-rose .svc-card-tag {
    background: #fff1f2 !important;
    color: #e11d48 !important
}

.theme-slate .svc-card-tag {
    background: #f1f5f9 !important;
    color: #475569 !important
}

.svc-guide-container {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 12px 14px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04) !important;
    box-sizing: border-box !important
}

.svc-guide-header {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    margin-bottom: 8px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    flex-shrink: 0 !important
}

.svc-guide-header-icon {
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
    background: #eff6ff !important;
    color: #2563eb !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important
}

.svc-guide-header-icon i {
    font-size: 16px !important
}

.svc-guide-header h5 {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 1px 0 !important
}

.svc-guide-header p {
    font-size: 11px !important;
    color: #64748b !important;
    margin: 0 !important
}

.svc-guide-items {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    overflow-y: auto !important;
    max-height: 235px !important;
    padding-right: 2px !important
}

.svc-guide-items::-webkit-scrollbar {
    width: 4px !important
}

.svc-guide-items::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
    border-radius: 2px !important
}

.svc-guide-row {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding: 6px 8px !important;
    border-radius: 8px !important;
    border: 1px solid transparent !important;
    background: #f8fafc !important;
    transition: all .2s ease !important
}

.svc-guide-row.svc-highlighted,
.svc-guide-row:hover {
    background: #fff !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 3px 10px rgba(15, 23, 42, .05) !important;
    transform: translateX(2px) !important
}

.svc-guide-row-icon {
    width: 26px !important;
    height: 26px !important;
    border-radius: 7px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important
}

.theme-blue .svc-guide-row-icon {
    background: #eff6ff !important;
    color: #2563eb !important
}

.theme-emerald .svc-guide-row-icon {
    background: #ecfdf5 !important;
    color: #059669 !important
}

.theme-purple .svc-guide-row-icon {
    background: #f5f3ff !important;
    color: #7c3aed !important
}

.theme-cyan .svc-guide-row-icon {
    background: #ecfeff !important;
    color: #0891b2 !important
}

.theme-amber .svc-guide-row-icon {
    background: #fffbeb !important;
    color: #d97706 !important
}

.theme-rose .svc-guide-row-icon {
    background: #fff1f2 !important;
    color: #e11d48 !important
}

.theme-slate .svc-guide-row-icon {
    background: #f1f5f9 !important;
    color: #475569 !important
}

.svc-guide-row-icon i {
    font-size: 15px !important
}

.svc-guide-row-body {
    flex: 1 !important;
    min-width: 0 !important
}

.svc-guide-row-title-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    margin-bottom: 2px !important
}

.svc-guide-row-title-bar strong {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #1e293b !important
}

.svc-guide-row-pill {
    font-size: 9px !important;
    font-weight: 700 !important;
    padding: 1px 5px !important;
    border-radius: 9999px !important;
    text-transform: uppercase !important
}

.theme-blue .svc-guide-row-pill {
    background: #eff6ff !important;
    color: #2563eb !important
}

.theme-emerald .svc-guide-row-pill {
    background: #ecfdf5 !important;
    color: #059669 !important
}

.theme-purple .svc-guide-row-pill {
    background: #f5f3ff !important;
    color: #7c3aed !important
}

.theme-cyan .svc-guide-row-pill {
    background: #ecfeff !important;
    color: #0891b2 !important
}

.theme-amber .svc-guide-row-pill {
    background: #fffbeb !important;
    color: #d97706 !important
}

.theme-rose .svc-guide-row-pill {
    background: #fff1f2 !important;
    color: #e11d48 !important
}

.theme-slate .svc-guide-row-pill {
    background: #f1f5f9 !important;
    color: #475569 !important
}

.svc-guide-row-body p {
    font-size: 10.5px !important;
    color: #64748b !important;
    margin: 0 !important;
    line-height: 1.35 !important
}

.svc-modal-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 22px !important;
    border-top: 1px solid #f1f5f9 !important;
    background: #fff !important;
    gap: 14px !important;
    flex-shrink: 0 !important;
    margin-top: auto !important
}

.svc-footer-note {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 12px !important;
    color: #64748b !important
}

.svc-footer-note i {
    font-size: 16px !important;
    color: #94a3b8 !important
}

.svc-footer-buttons {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-shrink: 0 !important
}

.svc-btn-secondary {
    padding: 8px 18px !important;
    border-radius: 9px !important;
    border: 1.5px solid #e2e8f0 !important;
    background: #fff !important;
    color: #475569 !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all .15s ease !important;
    line-height: 1.2 !important
}

.svc-btn-secondary:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important
}

.svc-btn-primary {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px 22px !important;
    border-radius: 9px !important;
    border: none !important;
    background: linear-gradient(135deg, var(--hdr-primary, #374a74) 0, #1e293b 100%) !important;
    color: #fff !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(55, 74, 116, .28) !important;
    transition: all .2s ease !important;
    line-height: 1.2 !important
}

.svc-btn-primary:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(55, 74, 116, .38) !important
}

.svc-btn-primary i {
    font-size: 16px !important
}

.svc-empty-state {
    grid-column: 1/-1 !important;
    padding: 24px 16px !important;
    text-align: center !important;
    color: #94a3b8 !important
}

.svc-empty-state i {
    font-size: 36px !important;
    margin-bottom: 6px !important;
    color: #cbd5e1 !important
}

@media (max-width:860px) {
    #moreServicesModal .modal-dialog {
        max-width: 680px !important;
        width: 95% !important;
        margin: 1rem auto !important
    }

    .svc-modal-layout {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        padding: 14px 16px !important
    }

    .svc-guide-items {
        max-height: 180px !important
    }
}

@media (max-width:640px) {
    #moreServicesModal .modal-dialog {
        width: 96% !important;
        margin: .75rem auto !important
    }

    .svc-modal-header {
        padding: 12px 14px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important
    }

    .svc-header-right {
        width: 100% !important;
        justify-content: space-between !important
    }

    .svc-grid-wrapper {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important
    }

    .svc-modal-footer {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        padding: 12px 14px !important
    }

    .svc-footer-buttons {
        width: 100% !important;
        justify-content: space-between !important
    }

    .svc-btn-primary,
    .svc-btn-secondary {
        flex: 1 !important;
        text-align: center !important;
        justify-content: center !important
    }
}

@media (max-width:768px) {
    .topbar .nav-search {
        width: auto !important;
        flex: 1 !important;
        max-width: 220px !important
    }

    .topbar .friend-dropdown,
    .topbar .notification-dropdown {
        width: calc(100vw - 20px) !important;
        position: fixed !important;
        top: 70px !important;
        right: 10px !important;
        left: 10px !important;
        max-width: 420px !important;
        margin: 0 auto !important;
        border-radius: 14px !important
    }

    .topbar .profile-dropdown11 {
        position: fixed !important;
        top: 70px !important;
        right: 10px !important;
        width: 270px !important
    }
}

@media (max-width:480px) {
    .topbar .nav-search {
        max-width: 150px !important
    }

    .topbar .search-setting .setting-text {
        display: none !important
    }

    .topbar .search-setting {
        padding: 3px 6px !important
    }

    .nav-menu {
        gap: 5px !important
    }

    .icon-circle-btn {
        width: 34px !important;
        height: 34px !important
    }

    .avatar1 {
        width: 32px !important;
        height: 32px !important
    }
}

.modern-modal-dialog.modal {
    background: rgba(15, 23, 42, .5) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important
}

.modern-modal-dialog .modal-content {
    background: #fff !important;
    border-radius: 20px !important;
    border: 1px solid rgba(226, 232, 240, .9) !important;
    box-shadow: 0 25px 60px -12px rgba(15, 23, 42, .3), 0 0 0 1px rgba(0, 0, 0, .04) !important;
    overflow: hidden !important
}

#allFriendRequestsModal .modal-dialog,
.modern-modal-dialog.modal-friend-requests-wide .modal-dialog {
    max-width: 900px !important;
    width: 92% !important;
    margin: 2rem auto !important
}

#allProfilesModal .modal-dialog,
.modern-modal-dialog.modal-profiles-wide .modal-dialog {
    max-width: 820px !important;
    width: 92% !important;
    margin: 2rem auto !important
}

.modal-hdr-modern {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 18px 24px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    background: linear-gradient(135deg, #fff 0, #f8fafc 100%) !important
}

.modal-hdr-left {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important
}

.modal-hdr-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important
}

.modal-hdr-icon i {
    font-size: 24px !important
}

.modal-hdr-icon.icon-primary-soft {
    background: #eff6ff !important;
    color: #1877f2 !important;
    box-shadow: 0 2px 8px rgba(24, 119, 242, .15) !important
}

.modal-hdr-icon.icon-indigo-soft {
    background: #ede9fe !important;
    color: #7c3aed !important;
    box-shadow: 0 2px 8px rgba(124, 58, 237, .15) !important
}

.modal-title-row {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important
}

.modal-hdr-titles .modal-title {
    margin: 0 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.25 !important
}

.modal-badge-pill-head {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #1877f2 !important;
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    padding: 2px 9px !important;
    border-radius: 9999px !important;
    letter-spacing: .2px !important
}

.modal-badge-pill-head.purple-pill {
    color: #7c3aed !important;
    background: #f5f3ff !important;
    border-color: #ddd6fe !important
}

.modal-hdr-titles .modal-sub {
    margin: 2px 0 0 0 !important;
    font-size: 12.5px !important;
    color: #64748b !important
}

.modal-close-round {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    border: none !important;
    color: #64748b !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all .2s ease !important
}

.modal-close-round:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
    transform: rotate(90deg) !important
}

.modal-close-round i {
    font-size: 18px !important
}

#allFriendRequestsModal .modal-body-modern {
    padding: 20px 24px !important;
    background: #f8fafc !important
}

.friend-modal-container {
    max-height: 480px !important;
    overflow-y: auto !important;
    padding: 4px 2px !important
}

.friend-modal-container::-webkit-scrollbar {
    width: 6px
}

.friend-modal-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px
}

#allFriendRequestsList {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)) !important;
    gap: 14px !important
}

#allFriendRequestsModal .friend-request-item {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 14px 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin-bottom: 0 !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .04) !important;
    transition: all .2s cubic-bezier(.4, 0, .2, 1) !important
}

#allFriendRequestsModal .friend-request-item:hover {
    background: #fff !important;
    border-color: #cbd5e1 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 24px -4px rgba(15, 23, 42, .08) !important
}

#allFriendRequestsModal .friend-request-avatar {
    position: relative !important;
    flex-shrink: 0 !important
}

#allFriendRequestsModal .friend-request-avatar img {
    width: 54px !important;
    height: 54px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08) !important
}

#allFriendRequestsModal .friend-request-info {
    flex: 1 !important;
    min-width: 0 !important
}

#allFriendRequestsModal .friend-request-name {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
    margin-bottom: 3px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important
}

#allFriendRequestsModal .friend-request-name a {
    color: #0f172a !important;
    text-decoration: none !important;
    transition: color .15s ease !important
}

#allFriendRequestsModal .friend-request-name a:hover {
    color: #1877f2 !important
}

#allFriendRequestsModal .friend-request-meta {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important
}

#allFriendRequestsModal .friend-request-time {
    font-size: 12px !important;
    color: #64748b !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important
}

#allFriendRequestsModal .friend-request-time i {
    font-size: 13px !important;
    color: #94a3b8 !important
}

#allFriendRequestsModal .friend-request-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 0 !important;
    flex-shrink: 0 !important
}

#allFriendRequestsModal .btn-accept {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 7px 15px !important;
    border: none !important;
    border-radius: 9px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    background: linear-gradient(135deg, #1877f2 0, #0284c7 100%) !important;
    color: #fff !important;
    box-shadow: 0 2px 6px rgba(24, 119, 242, .25) !important;
    transition: all .15s ease !important
}

#allFriendRequestsModal .btn-accept:hover {
    background: linear-gradient(135deg, #166fe5 0, #0369a1 100%) !important;
    box-shadow: 0 4px 12px rgba(24, 119, 242, .35) !important;
    transform: translateY(-1px) !important
}

#allFriendRequestsModal .btn-accept i {
    font-size: 14px !important
}

#allFriendRequestsModal .btn-reject {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 7px 13px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 9px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    background: #fff !important;
    color: #475569 !important;
    transition: all .15s ease !important
}

#allFriendRequestsModal .btn-reject:hover {
    background: #fee2e2 !important;
    border-color: #fca5a5 !important;
    color: #dc2626 !important
}

#allFriendRequestsModal .btn-reject i {
    font-size: 14px !important
}

#allFriendRequestsModal .friend-empty-state {
    grid-column: 1/-1 !important;
    text-align: center !important;
    padding: 40px 20px !important;
    background: #fff !important;
    border-radius: 14px !important;
    border: 1px dashed #cbd5e1 !important
}

.modal-body-profiles {
    padding: 0 !important;
    background: #f8fafc !important
}

.profiles-modal-top-bar {
    padding: 16px 22px 14px 22px !important;
    background: #fff !important;
    border-bottom: 1px solid #f1f5f9 !important
}

.modal-search-box {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 14px !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    transition: all .2s ease !important
}

.modal-search-box:focus-within {
    border-color: #1877f2 !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(24, 119, 242, .12) !important
}

.modal-search-box input {
    border: none !important;
    background: transparent !important;
    outline: 0 !important;
    font-size: 13.5px !important;
    color: #0f172a !important;
    width: 100% !important;
    padding: 0 !important
}

.modal-search-box input::placeholder {
    color: #94a3b8 !important
}

.modal-search-box .search-ico {
    color: #94a3b8 !important;
    font-size: 20px !important
}

.clear-search-btn {
    border: none !important;
    background: transparent !important;
    color: #94a3b8 !important;
    cursor: pointer !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important
}

.clear-search-btn:hover {
    color: #334155 !important
}

.clear-search-btn i {
    font-size: 18px !important
}

.modal-filter-tabs {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 12px !important
}

.filter-tab-btn {
    padding: 6px 14px !important;
    border-radius: 9999px !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all .15s ease !important
}

.filter-tab-btn:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important
}

.filter-tab-btn.active {
    background: #1877f2 !important;
    border-color: #1877f2 !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(24, 119, 242, .25) !important
}

.modal-profiles-scroll {
    max-height: 440px !important;
    overflow-y: auto !important;
    padding: 16px 22px !important
}

.modal-profiles-scroll::-webkit-scrollbar {
    width: 6px
}

.modal-profiles-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px
}

.profiles-modal-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)) !important;
    gap: 12px !important
}

.profile-modal-item {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 12px 16px !important;
    border-radius: 14px !important;
    background: #fff !important;
    border: 1.5px solid #e2e8f0 !important;
    transition: all .2s cubic-bezier(.4, 0, .2, 1) !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .03) !important
}

.profile-modal-item:hover {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px -3px rgba(15, 23, 42, .08) !important
}

.profile-modal-item.active-profile {
    background: linear-gradient(135deg, #f0f7ff 0, #fff 100%) !important;
    border-color: #2563eb !important;
    box-shadow: 0 0 0 1px #2563eb, 0 4px 12px rgba(37, 99, 235, .1) !important
}

.modal-avatar-wrap {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    position: relative !important;
    flex-shrink: 0 !important
}

.modal-avatar-wrap img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid #fff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08) !important
}

.modal-active-dot {
    position: absolute !important;
    bottom: -1px !important;
    right: -1px !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    background: #16a34a !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #fff !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2) !important
}

.modal-active-dot i {
    font-size: 11px !important;
    font-weight: 700 !important
}

.modal-profile-info {
    flex: 1 !important;
    min-width: 0 !important
}

.modal-profile-name {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important
}

.modal-profile-meta {
    margin-top: 3px !important
}

.meta-tag {
    display: inline-block !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 2px 8px !important;
    border-radius: 9999px !important
}

.meta-tag.user-tag {
    background: #eff6ff !important;
    color: #2563eb !important
}

.meta-tag.page-tag {
    background: #fdf2f8 !important;
    color: #db2777 !important
}

.modal-profile-action {
    flex-shrink: 0 !important
}

.badge-current-active {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #16a34a !important;
    background: #dcfce7 !important;
    padding: 5px 12px !important;
    border-radius: 9999px !important
}

.badge-current-active i {
    font-size: 14px !important
}

.btn-modal-switch {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 6px 14px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    background: #fff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #1e293b !important;
    cursor: pointer !important;
    transition: all .15s ease !important
}

.btn-modal-switch:hover {
    background: #1877f2 !important;
    border-color: #1877f2 !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(24, 119, 242, .25) !important
}

.btn-modal-switch i {
    font-size: 14px !important
}

.modal-no-results {
    grid-column: 1/-1 !important;
    padding: 36px 16px !important;
    text-align: center !important;
    color: #94a3b8 !important;
    background: #fff !important;
    border-radius: 14px !important;
    border: 1px dashed #cbd5e1 !important
}

.modal-no-results i {
    font-size: 40px !important;
    color: #cbd5e1 !important
}

.modal-no-results p {
    margin: 8px 0 0 0 !important;
    font-size: 13.5px !important;
    color: #64748b !important
}

.modal-ftr-modern {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 14px 24px !important;
    border-top: 1px solid #f1f5f9 !important;
    background: #f8fafc !important
}

.modal-ftr-hint {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 12px !important;
    color: #64748b !important
}

.modal-ftr-hint i {
    font-size: 16px !important;
    color: #1877f2 !important
}

.btn-create-page-modern {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 7px 16px !important;
    border-radius: 9px !important;
    background: linear-gradient(135deg, #374a74 0, #263554 100%) !important;
    color: #fff !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(38, 53, 84, .2) !important;
    transition: all .15s ease !important
}

.btn-create-page-modern:hover {
    color: #fff !important;
    opacity: .94 !important;
    transform: translateY(-.5px) !important;
    box-shadow: 0 4px 10px rgba(38, 53, 84, .3) !important
}

.btn-create-page-modern i {
    font-size: 16px !important
}

.btn-secondary-modern {
    padding: 7px 18px !important;
    border-radius: 9px !important;
    border: 1px solid #cbd5e1 !important;
    background: #fff !important;
    color: #475569 !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all .15s ease !important
}

.btn-secondary-modern:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important
}

@media (max-width:820px) {

    #allFriendRequestsModal .modal-dialog,
    #allProfilesModal .modal-dialog,
    .modern-modal-dialog.modal-friend-requests-wide .modal-dialog,
    .modern-modal-dialog.modal-profiles-wide .modal-dialog {
        max-width: 95% !important;
        width: 95% !important;
        margin: 1rem auto !important
    }
}

@media (max-width:680px) {
    #allFriendRequestsList {
        grid-template-columns: 1fr !important
    }

    #allFriendRequestsModal .friend-request-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important
    }

    #allFriendRequestsModal .friend-request-actions {
        width: 100% !important;
        margin-top: 4px !important
    }

    #allFriendRequestsModal .btn-accept,
    #allFriendRequestsModal .btn-reject {
        flex: 1 !important;
        justify-content: center !important
    }

    .profiles-modal-list {
        grid-template-columns: 1fr !important
    }

    .modal-filter-tabs {
        flex-wrap: wrap !important
    }

    #allFriendRequestsModal .modal-body-modern,
    .modal-ftr-modern,
    .modal-hdr-modern,
    .modal-profiles-scroll,
    .profiles-modal-top-bar {
        padding-left: 16px !important;
        padding-right: 16px !important
    }

    .modal-ftr-hint {
        display: none !important
    }
}