/* User Profile Dropdown - 100% Bootstrap Standard Like Notification Bell */

#userProfileArea, #userProfileMobileArea {

    position: relative !important;

}

.user-profile-dropdown,
.arora-profile-dropdown {
    background: #14161b !important;
    background-color: #14161b !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    width: 264px !important;
    min-width: 248px !important;
    max-width: calc(100vw - 24px) !important;
    padding: 8px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.04) !important;
    margin-top: 10px !important;
    z-index: 1065 !important;
    overflow: hidden !important;
}

.arora-profile-dropdown li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.arora-pm-header {
    padding: 8px 8px 10px 8px !important;
}

.arora-pm-user-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
}

.arora-pm-avatar {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid rgba(21, 180, 139, 0.65) !important;
    flex-shrink: 0 !important;
}

.arora-pm-user-meta {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.arora-pm-name {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.arora-pm-stats {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
}

.arora-pm-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 0.70rem !important;
    font-weight: 700 !important;
    padding: 2px 7px !important;
    border-radius: 6px !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    font-variant-numeric: tabular-nums !important;
}

.arora-pm-pill--wallet {
    background: rgba(21, 180, 139, 0.14) !important;
    color: #10b981 !important;
    border: 1px solid rgba(21, 180, 139, 0.28) !important;
}

.arora-pm-pill--pts {
    background: rgba(245, 158, 11, 0.14) !important;
    color: #fbbf24 !important;
    border: 1px solid rgba(245, 158, 11, 0.28) !important;
}

.arora-pm-divider {
    border: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin: 6px 4px !important;
    opacity: 1 !important;
}

.arora-profile-dropdown .arora-pm-item,
.user-profile-dropdown .user-profile-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 11px !important;
    width: 100% !important;
    padding: 8px 10px !important;
    margin: 2px 0 !important;
    border-radius: 10px !important;
    color: #e5e7eb !important;
    font-size: 0.86rem !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    background: transparent !important;
    text-decoration: none !important;
    text-align: left !important;
    white-space: nowrap !important;
    transition: background-color 0.18s ease, color 0.18s ease !important;
}

.arora-pm-icon {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    border-radius: 8px !important;
    background: rgba(21, 180, 139, 0.12) !important;
    color: #15b48b !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.88rem !important;
    flex-shrink: 0 !important;
    transition: background-color 0.18s ease, color 0.18s ease !important;
}

.arora-pm-icon--amber {
    background: rgba(245, 158, 11, 0.14) !important;
    color: #fbbf24 !important;
}

.arora-pm-icon--danger {
    background: rgba(239, 68, 68, 0.14) !important;
    color: #f87171 !important;
}

.arora-pm-label {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.arora-pm-badge-pts {
    margin-left: auto !important;
    padding: 2px 7px !important;
    border-radius: 999px !important;
    background: rgba(245, 158, 11, 0.16) !important;
    color: #fbbf24 !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
    font-size: 0.70rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    flex-shrink: 0 !important;
}

.arora-profile-dropdown .arora-pm-item:hover,
.arora-profile-dropdown .arora-pm-item:focus,
.arora-profile-dropdown .arora-pm-item:active {
    background: rgba(21, 180, 139, 0.14) !important;
    color: #ffffff !important;
}

.arora-profile-dropdown .arora-pm-item:hover .arora-pm-icon {
    background: rgba(21, 180, 139, 0.24) !important;
}

.arora-profile-dropdown .arora-pm-item--danger {
    color: #f87171 !important;
}

.arora-profile-dropdown .arora-pm-item--danger:hover,
.arora-profile-dropdown .arora-pm-item--danger:focus {
    background: rgba(239, 68, 68, 0.14) !important;
    color: #fca5a5 !important;
}

/* Light theme support for profile dropdown */
html[data-theme="light"] .arora-profile-dropdown {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16) !important;
}

html[data-theme="light"] .arora-pm-name {
    color: #0f172a !important;
}

html[data-theme="light"] .arora-pm-divider {
    border-top-color: rgba(15, 23, 42, 0.08) !important;
}

html[data-theme="light"] .arora-profile-dropdown .arora-pm-item {
    color: #1e293b !important;
}

html[data-theme="light"] .arora-profile-dropdown .arora-pm-item:hover {
    background: rgba(21, 180, 139, 0.1) !important;
    color: #0f766e !important;
}

html[data-theme="light"] .arora-profile-dropdown .arora-pm-item--danger {
    color: #dc2626 !important;
}

html[data-theme="light"] .arora-profile-dropdown .arora-pm-item--danger:hover {
    background: rgba(239, 68, 68, 0.08) !important;
    color: #b91c1c !important;
}

.userProfileDropIcon::after,

#userProfileArea .dropdown-toggle::after,

#userProfileMobileArea .dropdown-toggle::after {

    display: none !important;

}

/* ==========================================================================
   SEARCH BAR ICON & LIVE SEARCH DROPDOWN COMPACT FIX (Desktop + Mobile + Light)
   ========================================================================== */
body .gczbd-header .header-search-wrap .search-btn2,
body .gczbd-header .search-box2 .search-btn2,
body .mobile-search-wrap .search-btn-mobile {
    appearance: none !important;
    -webkit-appearance: none !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    position: absolute !important;
    right: 7px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 0.92rem !important;
    line-height: 1 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 4 !important;
    transition: color 0.2s ease, background-color 0.2s ease !important;
}

body .gczbd-header .header-search-wrap:focus-within .search-btn2,
body .gczbd-header .header-search-wrap .search-btn2:hover,
body .gczbd-header .header-search-wrap .search-btn2:focus,
body .gczbd-header .header-search-wrap .search-btn2:active,
body .mobile-search-wrap:focus-within .search-btn-mobile,
body .mobile-search-wrap .search-btn-mobile:hover,
body .mobile-search-wrap .search-btn-mobile:focus,
body .mobile-search-wrap .search-btn-mobile:active {
    color: #15b48b !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

body .gczbd-header .header-search-wrap .search-result.is-closed,
body .mobile-search-wrap .search-result.is-closed {
    display: none !important;
}

body .gczbd-header .header-search-wrap .search-result:not(:empty):not(.is-closed) {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    max-height: 340px !important;
    overflow-y: auto !important;
    padding: 6px !important;
    background: #14171f !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.68) !important;
    z-index: 100005 !important;
}

body .gczbd-header .header-search-wrap .search-result::-webkit-scrollbar,
body .mobile-search-wrap .search-result::-webkit-scrollbar {
    width: 5px;
}

body .gczbd-header .header-search-wrap .search-result::-webkit-scrollbar-thumb,
body .mobile-search-wrap .search-result::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
}

body .gczbd-header .search-result .search-item,
body .mobile-search-wrap .search-result .search-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 8px 10px !important;
    border-radius: 9px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    text-decoration: none !important;
    transition: background-color 0.18s ease !important;
}

body .gczbd-header .search-result .search-item:last-child,
body .mobile-search-wrap .search-result .search-item:last-child {
    border-bottom: none !important;
}

body .gczbd-header .search-result .search-item:hover,
body .mobile-search-wrap .search-result .search-item:hover {
    background-color: rgba(21, 180, 139, 0.12) !important;
}

body .gczbd-header .search-result .search-item .img-area,
body .mobile-search-wrap .search-result .search-item .img-area {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    flex: 0 0 42px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body .gczbd-header .search-result .search-item .img-area img,
body .gczbd-header .search-result .search-item img,
body .mobile-search-wrap .search-result .search-item .img-area img,
body .mobile-search-wrap .search-result .search-item img {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;
    object-fit: cover !important;
    border-radius: 7px !important;
    display: block !important;
}

body .gczbd-header .search-result .search-item .text-area,
body .mobile-search-wrap .search-result .search-item .text-area {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 2px !important;
}

body .gczbd-header .search-result .search-item .title,
body .mobile-search-wrap .search-result .search-item .title {
    color: #f8fafc !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin: 0 !important;
}

body .gczbd-header .search-result .search-item .sub-title,
body .mobile-search-wrap .search-result .search-item .sub-title {
    color: #15b48b !important;
    font-size: 0.73rem !important;
    font-weight: 600 !important;
    text-transform: capitalize !important;
    letter-spacing: 0.2px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

html[data-theme="light"] body .gczbd-header .header-search-wrap .search-btn2,
html[data-theme="light"] body .mobile-search-wrap .search-btn-mobile {
    color: #475569 !important;
    background: transparent !important;
}

html[data-theme="light"] body .gczbd-header .header-search-wrap:focus-within .search-btn2,
html[data-theme="light"] body .gczbd-header .header-search-wrap .search-btn2:hover,
html[data-theme="light"] body .gczbd-header .header-search-wrap .search-btn2:focus,
html[data-theme="light"] body .gczbd-header .header-search-wrap .search-btn2:active,
html[data-theme="light"] body .mobile-search-wrap:focus-within .search-btn-mobile {
    color: #059669 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

html[data-theme="light"] body .gczbd-header .header-search-wrap .search-result:not(:empty):not(.is-closed),
html[data-theme="light"] body .mobile-search-wrap .search-result:not(:empty):not(.is-closed) {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14) !important;
}

html[data-theme="light"] body .gczbd-header .search-result .search-item,
html[data-theme="light"] body .mobile-search-wrap .search-result .search-item {
    border-bottom-color: rgba(15, 23, 42, 0.06) !important;
}

html[data-theme="light"] body .gczbd-header .search-result .search-item .img-area,
html[data-theme="light"] body .mobile-search-wrap .search-result .search-item .img-area {
    background: #f8fafc !important;
    border-color: rgba(15, 23, 42, 0.08) !important;
}

html[data-theme="light"] body .gczbd-header .search-result .search-item .title,
html[data-theme="light"] body .mobile-search-wrap .search-result .search-item .title {
    color: #0f172a !important;
}


body .gczbd-header #themeToggleBtn.theme-toggle-header-btn {
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #fbbf24 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease !important;
}

body .gczbd-header #themeToggleBtn.theme-toggle-header-btn:hover {
    border-color: #15b48b !important;
    background: rgba(21, 180, 139, 0.12) !important;
    transform: translateY(-1px);
}

html[data-theme="light"] body .gczbd-header #themeToggleBtn.theme-toggle-header-btn {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

html[data-theme="light"] body .gczbd-header #themeToggleBtn.theme-toggle-header-btn:hover {
    border-color: #10b981 !important;
    background: rgba(16, 185, 129, 0.12) !important;
    color: #059669 !important;
}
