/* =============================================================================
   ASTRO RASHI — GLOBAL THEME SYSTEM
   theme.css  |  Loaded last in master.blade.php
   Covers: transitions · body overlay · Bootstrap overrides · astrologer cards
           search/filters · modals · forms · Select2 · breadcrumbs · pagination
           alerts · chat UI · wallet · profile · dropdowns · light-theme fixes
   ============================================================================= */

/* =============================================================================
   1. SMOOTH THEME TRANSITIONS
   ============================================================================= */

*,
*::before,
*::after {
    transition-property: background-color, border-color, color, box-shadow;
    transition-duration: 0.2s;
    transition-timing-function: ease;
}

/* Disable transitions on images, SVGs, videos to prevent flicker */
img, svg, video, canvas { transition: none !important; }

/* =============================================================================
   2. HTML / BODY — COSMIC OVERLAY THEMING
   ============================================================================= */

html[data-theme="dark"] body .cosmic-galaxy-overlay {
    background: rgba(5, 5, 5, 0.78) !important;
}
html[data-theme="light"] body .cosmic-galaxy-overlay {
    background: rgba(250, 247, 240, 0.92) !important;
}

/* =============================================================================
   3. HEADER CONTROLS (Theme Toggle, Language Translate, Sign In)
   ============================================================================= */

/* Main actions container */
.mega-right-actions {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    height: 38px !important;
    margin: 0 !important;
}

/* ── 3.1 Theme Toggle Button ── */
.ar-theme-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(246, 183, 60, 0.35) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}
.ar-theme-toggle i {
    font-size: 0.95rem !important;
    color: #F6B73C !important;
    -webkit-text-fill-color: #F6B73C !important;
    pointer-events: none !important;
    display: block !important;
    line-height: 1 !important;
}
.ar-theme-toggle:hover {
    background-color: rgba(246, 183, 60, 0.18) !important;
    border-color: #F6B73C !important;
    box-shadow: 0 0 12px rgba(246, 183, 60, 0.35) !important;
    transform: rotate(20deg) !important;
}

html[data-theme="light"] .ar-theme-toggle {
    background-color: rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(201, 146, 15, 0.4) !important;
}
html[data-theme="light"] .ar-theme-toggle i {
    color: #C9920F !important;
    -webkit-text-fill-color: #C9920F !important;
}
html[data-theme="light"] .ar-theme-toggle:hover {
    background-color: rgba(201, 146, 15, 0.15) !important;
    border-color: #C9920F !important;
    box-shadow: 0 0 12px rgba(201, 146, 15, 0.25) !important;
}

/* ── 3.2 Google Translate Widget (Standard select + Simple mode) ── */
.mega-translate-wrap {
    display: inline-flex !important;
    align-items: center !important;
    height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: middle !important;
}

.mega-translate-wrap #google_translate_button,
.mega-translate-wrap .goog-te-gadget,
.goog-te-gadget {
    display: inline-flex !important;
    align-items: center !important;
    height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0 !important;
    color: transparent !important;
    line-height: 1 !important;
}

/* Hide 'Powered by Google Translate' text, links, and logo */
.goog-te-gadget > span,
.goog-te-gadget a,
.goog-logo-link,
.goog-te-gadget .goog-logo-link,
.goog-te-gadget img {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Google Translate Select Dropdown (.goog-te-combo) */
.mega-translate-wrap select.goog-te-combo,
select.goog-te-combo {
    height: 38px !important;
    line-height: 36px !important;
    margin: 0 !important;
    padding: 0 30px 0 14px !important;
    min-width: 105px !important;
    max-width: 140px !important;
    border-radius: 20px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    font-family: 'Poppins', sans-serif !important;
    outline: none !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    transition: all 0.3s ease !important;

    /* Dark mode background & border */
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(246, 183, 60, 0.35) !important;
    color: #ffffff !important;

    /* Gold dropdown arrow SVG */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23F6B73C' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
}

.mega-translate-wrap select.goog-te-combo:hover,
select.goog-te-combo:hover {
    background-color: rgba(246, 183, 60, 0.18) !important;
    border-color: #F6B73C !important;
}

select.goog-te-combo option {
    background-color: #121424 !important;
    color: #ffffff !important;
    padding: 8px 12px !important;
}

/* Light Theme overrides for Translate Dropdown */
html[data-theme="light"] .mega-translate-wrap select.goog-te-combo,
html[data-theme="light"] select.goog-te-combo {
    background-color: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(201, 146, 15, 0.4) !important;
    color: #1C1C2E !important;

    /* Darker gold dropdown arrow SVG for light theme */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23C9920F' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
}

html[data-theme="light"] .mega-translate-wrap select.goog-te-combo:hover,
html[data-theme="light"] select.goog-te-combo:hover {
    background-color: rgba(201, 146, 15, 0.15) !important;
    border-color: #C9920F !important;
}

html[data-theme="light"] select.goog-te-combo option {
    background-color: #ffffff !important;
    color: #1C1C2E !important;
    padding: 8px 12px !important;
}

/* Fallback for Simple Translate Gadget (.goog-te-gadget-simple) */
.mega-translate-wrap .goog-te-gadget-simple {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(246, 183, 60, 0.35) !important;
    padding: 0 16px !important;
    border-radius: 20px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    height: 38px !important;
    line-height: 36px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

html[data-theme="light"] .mega-translate-wrap .goog-te-gadget-simple {
    background-color: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(201, 146, 15, 0.4) !important;
    color: #1C1C2E !important;
}

/* ── 3.3 Sign In Button ── */
.mega-signin-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(246, 183, 60, 0.35) !important;
    border-radius: 25px !important;
    padding: 0 18px !important;
    height: 38px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    -webkit-text-fill-color: #ffffff !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}
.mega-signin-btn svg path { fill: #ffffff !important; }

html[data-theme="light"] .mega-signin-btn {
    background-color: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(201, 146, 15, 0.4) !important;
    color: #1C1C2E !important;
    -webkit-text-fill-color: #1C1C2E !important;
}
html[data-theme="light"] .mega-signin-btn svg path { fill: #1C1C2E !important; }
html[data-theme="light"] .mega-signin-btn:hover {
    background-color: rgba(201, 146, 15, 0.15) !important;
    border-color: #C9920F !important;
    color: #1C1C2E !important;
    -webkit-text-fill-color: #1C1C2E !important;
}

/* =============================================================================
   4. BOOTSTRAP OVERRIDES — SCOPED & SAFE
   ============================================================================= */

/* bg-white: make theme-aware */
html[data-theme="dark"]  .bg-white  { background-color: var(--cosmic-bg-card) !important; }
html[data-theme="light"] .bg-white  { background-color: #ffffff !important; }

/* text-dark, text-black */
html[data-theme="dark"]  .text-dark  { color: var(--cosmic-text-main)   !important; }
html[data-theme="light"] .text-dark  { color: var(--cosmic-text-main)   !important; }
html[data-theme="dark"]  .text-white { color: #ffffff !important; }
html[data-theme="light"] .text-white { color: #ffffff !important; }

/* text-muted */
html[data-theme="dark"]  .text-muted { color: var(--cosmic-text-muted) !important; }
html[data-theme="light"] .text-muted { color: var(--cosmic-text-muted) !important; }

/* bg-light */
html[data-theme="dark"]  .bg-light { background-color: var(--cosmic-bg-secondary) !important; }
html[data-theme="light"] .bg-light { background-color: #F5F0E8 !important; }

/* border */
html[data-theme="dark"]  .border         { border-color: var(--cosmic-border) !important; }
html[data-theme="light"] .border         { border-color: rgba(0,0,0,0.12) !important; }
html[data-theme="dark"]  .border-secondary { border-color: var(--cosmic-border) !important; }
html[data-theme="light"] .border-secondary { border-color: rgba(0,0,0,0.15) !important; }

/* =============================================================================
   5. ASTROLOGER LIST — SEARCH / FILTER BAR
   ============================================================================= */

.expert-search-section {
    background: transparent !important;
}
.expert-search-form {
    background: var(--cosmic-card-bg) !important;
    border: 1px solid var(--cosmic-border-gold) !important;
    border-radius: 16px !important;
    padding: 12px 16px !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.expert-search-form h1 {
    color: var(--cosmic-text-main) !important;
    font-size: 1.2rem !important;
}

.search-box {
    position: relative;
}
.search-box .form-control {
    border-radius: 12px !important;
    padding-right: 48px !important;
    height: 44px;
}
.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent !important;
    border: none !important;
    color: var(--cosmic-primary) !important;
    padding: 0 !important;
}
.searchIcon1 {
    cursor: pointer;
    color: var(--cosmic-text-muted);
}
.searchIcon1 i { color: var(--cosmic-primary) !important; }

/* =============================================================================
   6. ASTROLOGER CARDS (psychic-card & #expert-list)
   ============================================================================= */

#expert-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)) !important;
    gap: 20px !important;
    width: 100% !important;
    padding: 20px 0 !important;
}
@media (max-width: 576px) {
    #expert-list {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
}

.psychic-card,
#expert-list .psychic-card {
    height: auto !important;
    min-height: 185px !important;
    width: 100% !important;
    margin-bottom: 0 !important;
    border-radius: 16px !important;
    padding: 16px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    position: relative !important;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
    background: var(--cosmic-card-bg) !important;
    border: 1px solid var(--cosmic-card-border) !important;
    box-shadow: 0 4px 20px var(--cosmic-shadow) !important;
}

html[data-theme="dark"] #expert-list .psychic-card,
html[data-theme="dark"] .psychic-card {
    background: rgba(21, 26, 34, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45) !important;
}
html[data-theme="dark"] #expert-list .psychic-card:hover,
html[data-theme="dark"] .psychic-card:hover {
    border-color: rgba(246, 183, 60, 0.45) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(246, 183, 60, 0.15) !important;
    transform: translateY(-3px) !important;
}

html[data-theme="light"] #expert-list .psychic-card,
html[data-theme="light"] .psychic-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06) !important;
}
html[data-theme="light"] #expert-list .psychic-card:hover,
html[data-theme="light"] .psychic-card:hover {
    border-color: rgba(201, 146, 15, 0.5) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-3px) !important;
}

/* Card inner list & flex reset */
#expert-list .psychic-card ul {
    margin-bottom: 0 !important;
    display: flex !important;
    gap: 14px !important;
}
#expert-list .psychic-card ul li.w-100,
#expert-list .psychic-card ul li.astro-card-info {
    max-width: calc(100% - 90px) !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}
#expert-list .psychic-card ul li.w-100 .astro-meta-text,
#expert-list .psychic-card ul li.astro-card-info .astro-meta-text,
#expert-list .psychic-card ul li.w-100 .astro-name,
#expert-list .psychic-card ul li.astro-card-info .astro-name {
    max-width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Astrologer name */
.psychic-card .astro-name,
#expert-list .psychic-card .astro-name {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-transform: capitalize !important;
}
html[data-theme="dark"] .psychic-card .astro-name,
html[data-theme="dark"] #expert-list .psychic-card .astro-name {
    color: #ffffff !important;
}
html[data-theme="light"] .psychic-card .astro-name,
html[data-theme="light"] #expert-list .psychic-card .astro-name {
    color: #0f172a !important;
}

/* Metadata & specialties */
.psychic-card .astro-meta,
#expert-list .psychic-card .astro-meta {
    font-size: 0.8rem !important;
    line-height: 1.45 !important;
    display: block !important;
}
html[data-theme="dark"] .psychic-card .astro-skills,
html[data-theme="dark"] #expert-list .psychic-card .astro-skills {
    color: #cbd5e1 !important;
}
html[data-theme="light"] .psychic-card .astro-skills,
html[data-theme="light"] #expert-list .psychic-card .astro-skills {
    color: #334155 !important;
}
html[data-theme="dark"] .psychic-card .astro-languages,
html[data-theme="dark"] .psychic-card .astro-exp,
html[data-theme="dark"] #expert-list .psychic-card .astro-languages,
html[data-theme="dark"] #expert-list .psychic-card .astro-exp {
    color: #94a3b8 !important;
}
html[data-theme="light"] .psychic-card .astro-languages,
html[data-theme="light"] .psychic-card .astro-exp,
html[data-theme="light"] #expert-list .psychic-card .astro-languages,
html[data-theme="light"] #expert-list .psychic-card .astro-exp {
    color: #64748b !important;
}

/* Pricing */
.psychic-card .exprt-price,
#expert-list .psychic-card .exprt-price {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em !important;
}
html[data-theme="dark"] .psychic-card .exprt-price,
html[data-theme="dark"] #expert-list .psychic-card .exprt-price {
    color: #F6B73C !important;
}
html[data-theme="light"] .psychic-card .exprt-price,
html[data-theme="light"] #expert-list .psychic-card .exprt-price {
    color: #C9920F !important;
}

/* Status Pills */
.status-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    padding: 3px 10px !important;
    border-radius: 20px !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    margin-top: 6px !important;
    letter-spacing: 0.02em !important;
    line-height: 1.2 !important;
}
.status-pill .status-dot {
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    display: inline-block !important;
}
html[data-theme="dark"] .status-pill-online {
    background: rgba(34, 197, 94, 0.16) !important;
    color: #4ade80 !important;
    border: 1px solid rgba(34, 197, 94, 0.35) !important;
}
html[data-theme="dark"] .status-pill-online .status-dot {
    background: #22c55e !important;
    box-shadow: 0 0 6px #22c55e !important;
}
html[data-theme="light"] .status-pill-online {
    background: #ecfdf5 !important;
    color: #15803d !important;
    border: 1px solid #bbf7d0 !important;
}
html[data-theme="light"] .status-pill-online .status-dot {
    background: #16a34a !important;
}
html[data-theme="dark"] .status-pill-busy {
    background: rgba(249, 115, 22, 0.16) !important;
    color: #fb923c !important;
    border: 1px solid rgba(249, 115, 22, 0.35) !important;
}
html[data-theme="dark"] .status-pill-busy .status-dot {
    background: #f97316 !important;
}
html[data-theme="light"] .status-pill-busy {
    background: #fff7ed !important;
    color: #c2410c !important;
    border: 1px solid #fed7aa !important;
}
html[data-theme="light"] .status-pill-busy .status-dot {
    background: #ea580c !important;
}
html[data-theme="dark"] .status-pill-offline {
    background: rgba(148, 163, 184, 0.14) !important;
    color: #94a3b8 !important;
    border: 1px solid rgba(148, 163, 184, 0.25) !important;
}
html[data-theme="dark"] .status-pill-offline .status-dot {
    background: #64748b !important;
}
html[data-theme="light"] .status-pill-offline {
    background: #f1f5f9 !important;
    color: #64748b !important;
    border: 1px solid #e2e8f0 !important;
}
html[data-theme="light"] .status-pill-offline .status-dot {
    background: #94a3b8 !important;
}

/* Card Footer: Rating & Button */
.astro-card-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}
html[data-theme="light"] .astro-card-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
}
.astro-rating-score {
    font-size: 0.92rem !important;
}
html[data-theme="dark"] .astro-rating-score {
    color: #f1f5f9 !important;
}
html[data-theme="light"] .astro-rating-score {
    color: #0f172a !important;
}
.astro-stars i.filled-star {
    color: #F6B73C !important;
    font-size: 11px !important;
}
html[data-theme="light"] .astro-stars i.filled-star {
    color: #C9920F !important;
}
html[data-theme="dark"] .astro-stars i.empty-star {
    color: rgba(255, 255, 255, 0.2) !important;
    font-size: 11px !important;
}
html[data-theme="light"] .astro-stars i.empty-star {
    color: rgba(0, 0, 0, 0.18) !important;
    font-size: 11px !important;
}
.astro-sessions-count {
    font-size: 0.78rem !important;
}
html[data-theme="dark"] .astro-sessions-count {
    color: #94a3b8 !important;
}
html[data-theme="light"] .astro-sessions-count {
    color: #64748b !important;
}

/* Chat Button */
.btn-chat-action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 7px 18px !important;
    border-radius: 12px !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    background: linear-gradient(135deg, #F6B73C 0%, #FF9F1A 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(246, 183, 60, 0.35) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.btn-chat-action:hover:not(:disabled) {
    transform: translateY(-2px) scale(1.03) !important;
    box-shadow: 0 7px 20px rgba(246, 183, 60, 0.5) !important;
    color: #ffffff !important;
}
.btn-chat-action:disabled,
.btn-chat-action.btn-disabled-status {
    opacity: 0.55 !important;
    cursor: not-allowed !important;
    filter: grayscale(40%) !important;
}

/* =============================================================================
   7. BREADCRUMB
   ============================================================================= */

.astroway-breadcrumb {
    background: var(--cosmic-breadcrumb-bg) !important;
    border-bottom: 1px solid var(--cosmic-border-gold) !important;
    padding: 8px 0 !important;
}
.astroway-breadcrumb a,
.astroway-breadcrumb span,
.astroway-breadcrumb .breadcrumbs,
.astroway-breadcrumb .breadcrumbtext {
    color: var(--cosmic-breadcrumb-text) !important;
}
.astroway-breadcrumb a { text-decoration: none !important; }
.astroway-breadcrumb a:hover { color: var(--cosmic-primary) !important; }

/* =============================================================================
   8. MODALS
   ============================================================================= */

.modal-backdrop {
    z-index: 104000 !important;
}
.modal {
    z-index: 105000 !important;
}
.modal-dialog {
    position: relative;
    z-index: 105001 !important;
}
.modal-content {
    background: var(--cosmic-bg-modal) !important;
    border: 1px solid var(--cosmic-border-gold) !important;
    border-radius: 20px !important;
    color: var(--cosmic-text-main) !important;
    position: relative;
    z-index: 105002 !important;
    pointer-events: auto !important;
}
.select2-container--open {
    z-index: 106000 !important;
}
.select2-dropdown {
    z-index: 106001 !important;
}
.dcalendarpicker,
.dudatepicker {
    z-index: 106000 !important;
}
.swal2-container {
    z-index: 107000 !important;
}
.tooltip {
    z-index: 108000 !important;
}
.modal-header {
    background: transparent !important;
    border-bottom: 1px solid var(--cosmic-border) !important;
}
.modal-header .modal-title,
.modal-header h4,
.modal-header h5 {
    color: var(--cosmic-text-main) !important;
}
.modal-header .close,
.modal-header button.close {
    color: var(--cosmic-text-muted) !important;
    opacity: 1;
    text-shadow: none;
}
.modal-header .close:hover,
.modal-header button.close:hover {
    color: var(--cosmic-danger) !important;
}
.modal-body {
    color: var(--cosmic-text-light) !important;
}
.modal-body p,
.modal-body label,
.modal-body span {
    color: var(--cosmic-text-light) !important;
}
.modal-footer {
    border-top: 1px solid var(--cosmic-border) !important;
    background: transparent !important;
}

/* Login Modal specific */
.login-offer-bg { background: transparent !important; }
.modal-content .bg-white.body {
    background: transparent !important;
}
.modal-content .colorblack,
.modal-content p.colorblack {
    color: var(--cosmic-text-light) !important;
}
.modal-content .text-dark {
    color: var(--cosmic-text-light) !important;
}
html[data-theme="light"] .modal-content .text-dark {
    color: var(--cosmic-text-main) !important;
}

/* =============================================================================
   9. DROPDOWN MENUS
   ============================================================================= */

.dropdown-menu {
    background: var(--cosmic-bg-modal) !important;
    border: 1px solid var(--cosmic-border-gold) !important;
    border-radius: 14px !important;
    box-shadow: 0 15px 40px var(--cosmic-shadow) !important;
}
.dropdown-item {
    color: var(--cosmic-text-main) !important;
    transition: background 0.2s ease, color 0.2s ease !important;
}
.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--cosmic-primary-glow) !important;
    color: var(--cosmic-primary) !important;
}

/* User dropdown */
.user-options {
    background: var(--cosmic-bg-modal) !important;
    border: 1px solid var(--cosmic-border-gold) !important;
}
.user-options .namedisplay h2 {
    color: var(--cosmic-text-main) !important;
}

/* =============================================================================
   10. SELECT2
   ============================================================================= */

.select2-container--default .select2-selection--single {
    background: var(--cosmic-bg-input) !important;
    border: 1px solid var(--cosmic-border) !important;
    border-radius: 12px !important;
    height: 52px !important;
    color: var(--cosmic-text-main) !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--cosmic-text-main) !important;
    line-height: 52px !important;
    padding-left: 14px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 52px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: var(--cosmic-text-muted) transparent transparent !important;
}
.select2-dropdown {
    background: var(--cosmic-bg-modal) !important;
    border: 1px solid var(--cosmic-border-gold) !important;
    border-radius: 12px !important;
}
.select2-container--default .select2-results__option {
    color: var(--cosmic-text-main) !important;
    background: transparent !important;
}
.select2-container--default .select2-results__option--highlighted {
    background: var(--cosmic-primary-dim) !important;
    color: var(--cosmic-primary) !important;
}
.select2-search--dropdown .select2-search__field {
    background: var(--cosmic-bg-input) !important;
    border: 1px solid var(--cosmic-border) !important;
    color: var(--cosmic-text-main) !important;
    border-radius: 8px !important;
}

/* Select2 Multiple Styles (Categories, Skills, Languages) */
.select2-container--default .select2-selection--multiple {
    position: relative !important;
    background: var(--cosmic-bg-input) !important;
    border: 1.5px solid var(--cosmic-border) !important;
    border-radius: 14px !important;
    min-height: 52px !important;
    padding: 6px 36px 6px 12px !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
}
.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: var(--cosmic-primary) !important;
    box-shadow: 0 0 0 3px var(--cosmic-primary-glow) !important;
}
/* Chevron Down Icon */
.select2-container--default .select2-selection--multiple::after {
    content: '' !important;
    position: absolute !important;
    right: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 12px !important;
    height: 8px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2394a3b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    pointer-events: none !important;
    transition: transform 0.2s ease !important;
}
html[data-theme="light"] .select2-container--default .select2-selection--multiple::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") !important;
}
.select2-container--default.select2-container--open .select2-selection--multiple::after {
    transform: translateY(-50%) rotate(180deg) !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    display: inline-flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: rgba(245, 158, 11, 0.18) !important;
    border: 1px solid rgba(245, 158, 11, 0.4) !important;
    color: #f59e0b !important;
    border-radius: 8px !important;
    padding: 4px 10px 4px 24px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    margin: 2px 0 !important;
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
}
html[data-theme="light"] .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: rgba(217, 119, 6, 0.12) !important;
    border-color: rgba(217, 119, 6, 0.3) !important;
    color: #b45309 !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #f59e0b !important;
    border: none !important;
    left: 7px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 14px !important;
    cursor: pointer !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #ef4444 !important;
    background: transparent !important;
}
.select2-container--default .select2-selection--multiple .select2-search--inline {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}
.select2-container--default .select2-selection--multiple .select2-search--inline input.select2-search__field,
.select2-container--default .select2-selection--multiple input.select2-search__field {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    color: var(--cosmic-text-main) !important;
    margin: 0 !important;
    padding: 0 4px !important;
    height: 30px !important;
    min-height: unset !important;
    border-radius: 0 !important;
    font-size: 13.5px !important;
    width: auto !important;
}
html[data-theme="light"] .select2-container--default .select2-selection--multiple {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
}

/* Native select options styling */
select.form-select option,
select.form-control option {
    background-color: #1e293b !important;
    color: #ffffff !important;
    padding: 8px 12px !important;
}
html[data-theme="light"] select.form-select option,
html[data-theme="light"] select.form-control option {
    background-color: #ffffff !important;
    color: #0f172a !important;
}

/* =============================================================================
   11. LUXURY ASTRORASHI TOASTR SYSTEM (DUAL THEME)
   ============================================================================= */

/* Container positioning - Clear the sticky header! */
#toast-container {
    z-index: 9999999 !important;
    pointer-events: auto !important;
}

#toast-container.toast-top-right,
#toast-container.toast-top-left,
#toast-container.toast-top-center,
#toast-container.toast-top-full-width {
    top: 90px !important;
}

#toast-container.toast-top-right {
    right: 24px !important;
}

@media (max-width: 600px) {
    #toast-container.toast-top-right,
    #toast-container.toast-top-left,
    #toast-container.toast-top-center {
        top: 75px !important;
        right: 14px !important;
        left: 14px !important;
        width: auto !important;
        max-width: calc(100vw - 28px) !important;
    }
}

/* Base Toast Card */
#toast-container > div {
    position: relative !important;
    display: flex;
    flex-direction: column !important;
    justify-content: center !important;
    min-height: 52px !important;
    opacity: 1;
    width: 360px !important;
    max-width: 100% !important;
    padding: 14px 44px 14px 54px !important;
    border-radius: 16px !important;
    background-size: 22px 22px !important;
    background-position: 18px center !important;
    background-repeat: no-repeat !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45) !important;
    margin-bottom: 12px !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* Ensure jQuery fadeOut & hide() properly hide the toast */
#toast-container > div[style*="display: none"],
#toast-container > div[style*="display:none"] {
    display: none !important;
}

/* Toast with title (multi-line layout) */
#toast-container > div:has(.toast-title) {
    justify-content: flex-start !important;
    background-position: 18px 16px !important;
}

#toast-container > div:hover {
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6) !important;
    transform: translateY(-2px) !important;
    opacity: 1;
}

/* Left Accent Indicator Stripe (avoids border-radius distortion) */
#toast-container > div::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 4px !important;
    border-radius: 16px 0 0 16px !important;
    pointer-events: none !important;
}

/* Toast Typography */
#toast-container .toast-title {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px !important;
    margin: 0 0 4px 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
}

#toast-container .toast-message {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    padding: 0 !important;
    word-wrap: break-word !important;
    display: block !important;
}

/* Close Button - vertically centered for single-line, top-aligned for titled toasts */
#toast-container .toast-close-button {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    right: 14px !important;
    width: 24px !important;
    height: 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    text-shadow: none !important;
    opacity: 0.75 !important;
    border: none !important;
    background: transparent !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: all 0.2s ease !important;
    outline: none !important;
}

#toast-container .toast-close-button:hover {
    color: #ffffff !important;
    opacity: 1 !important;
    transform: translateY(-50%) scale(1.15) !important;
}

#toast-container > div:has(.toast-title) .toast-close-button {
    top: 16px !important;
    transform: none !important;
}

#toast-container > div:has(.toast-title) .toast-close-button:hover {
    transform: scale(1.15) !important;
}

/* Progress Bar */
#toast-container .toast-progress {
    height: 3px !important;
    opacity: 0.9 !important;
    border-radius: 0 0 16px 16px !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    position: absolute !important;
    z-index: 10 !important;
}

/* ── DARK THEME (DEFAULT) ── */
#toast-container > div {
    background-color: rgba(15, 23, 42, 0.96) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Dark - Success */
#toast-container > .toast-success {
    background-color: rgba(15, 23, 42, 0.96) !important;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2310B981'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E") !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.15) !important;
}
#toast-container > .toast-success::before {
    background: #10B981 !important;
}
#toast-container > .toast-success .toast-title {
    color: #34D399 !important;
}
#toast-container > .toast-success .toast-message {
    color: #F1F5F9 !important;
}
#toast-container > .toast-success .toast-progress {
    background: linear-gradient(90deg, #10B981, #059669) !important;
}

/* Dark - Error */
#toast-container > .toast-error {
    background-color: rgba(15, 23, 42, 0.96) !important;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23EF4444'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E") !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(239, 68, 68, 0.15) !important;
}
#toast-container > .toast-error::before {
    background: #EF4444 !important;
}
#toast-container > .toast-error .toast-title {
    color: #F87171 !important;
}
#toast-container > .toast-error .toast-message {
    color: #F1F5F9 !important;
}
#toast-container > .toast-error .toast-progress {
    background: linear-gradient(90deg, #EF4444, #DC2626) !important;
}

/* Dark - Info */
#toast-container > .toast-info {
    background-color: rgba(15, 23, 42, 0.96) !important;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F6B73C'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E") !important;
    border: 1px solid rgba(246, 183, 60, 0.3) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(246, 183, 60, 0.15) !important;
}
#toast-container > .toast-info::before {
    background: #F6B73C !important;
}
#toast-container > .toast-info .toast-title {
    color: #F6B73C !important;
}
#toast-container > .toast-info .toast-message {
    color: #F1F5F9 !important;
}
#toast-container > .toast-info .toast-progress {
    background: linear-gradient(90deg, #F6B73C, #D97706) !important;
}

/* Dark - Warning */
#toast-container > .toast-warning {
    background-color: rgba(15, 23, 42, 0.96) !important;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F59E0B'%3E%3Cpath d='M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z'/%3E%3C/svg%3E") !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 158, 11, 0.15) !important;
}
#toast-container > .toast-warning::before {
    background: #F59E0B !important;
}
#toast-container > .toast-warning .toast-title {
    color: #FBBF24 !important;
}
#toast-container > .toast-warning .toast-message {
    color: #F1F5F9 !important;
}
#toast-container > .toast-warning .toast-progress {
    background: linear-gradient(90deg, #F59E0B, #D97706) !important;
}

/* ── LIGHT THEME (html[data-theme="light"]) ── */
html[data-theme="light"] #toast-container > div {
    background-color: #ffffff !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12), 0 2px 10px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

html[data-theme="light"] #toast-container .toast-close-button {
    color: #64748B !important;
}
html[data-theme="light"] #toast-container .toast-close-button:hover {
    color: #0F172A !important;
}

/* Light - Success */
html[data-theme="light"] #toast-container > .toast-success {
    background-color: #ffffff !important;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23059669'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E") !important;
    border: 1px solid rgba(5, 150, 105, 0.25) !important;
    box-shadow: 0 14px 36px rgba(5, 150, 105, 0.12), 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}
html[data-theme="light"] #toast-container > .toast-success::before {
    background: #059669 !important;
}
html[data-theme="light"] #toast-container > .toast-success .toast-title {
    color: #047857 !important;
}
html[data-theme="light"] #toast-container > .toast-success .toast-message {
    color: #1E293B !important;
}
html[data-theme="light"] #toast-container > .toast-success .toast-progress {
    background: linear-gradient(90deg, #10B981, #059669) !important;
}

/* Light - Error */
html[data-theme="light"] #toast-container > .toast-error {
    background-color: #ffffff !important;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23DC2626'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E") !important;
    border: 1px solid rgba(220, 38, 38, 0.25) !important;
    box-shadow: 0 14px 36px rgba(220, 38, 38, 0.12), 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}
html[data-theme="light"] #toast-container > .toast-error::before {
    background: #DC2626 !important;
}
html[data-theme="light"] #toast-container > .toast-error .toast-title {
    color: #B91C1C !important;
}
html[data-theme="light"] #toast-container > .toast-error .toast-message {
    color: #1E293B !important;
}
html[data-theme="light"] #toast-container > .toast-error .toast-progress {
    background: linear-gradient(90deg, #EF4444, #DC2626) !important;
}

/* Light - Info */
html[data-theme="light"] #toast-container > .toast-info {
    background-color: #ffffff !important;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23D97706'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E") !important;
    border: 1px solid rgba(217, 119, 6, 0.25) !important;
    box-shadow: 0 14px 36px rgba(217, 119, 6, 0.12), 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}
html[data-theme="light"] #toast-container > .toast-info::before {
    background: #D97706 !important;
}
html[data-theme="light"] #toast-container > .toast-info .toast-title {
    color: #B45309 !important;
}
html[data-theme="light"] #toast-container > .toast-info .toast-message {
    color: #1E293B !important;
}
html[data-theme="light"] #toast-container > .toast-info .toast-progress {
    background: linear-gradient(90deg, #F6B73C, #D97706) !important;
}

/* Light - Warning */
html[data-theme="light"] #toast-container > .toast-warning {
    background-color: #ffffff !important;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23D97706'%3E%3Cpath d='M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z'/%3E%3C/svg%3E") !important;
    border: 1px solid rgba(217, 119, 6, 0.25) !important;
    box-shadow: 0 14px 36px rgba(217, 119, 6, 0.12), 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}
html[data-theme="light"] #toast-container > .toast-warning::before {
    background: #D97706 !important;
}
html[data-theme="light"] #toast-container > .toast-warning .toast-title {
    color: #B45309 !important;
}
html[data-theme="light"] #toast-container > .toast-warning .toast-message {
    color: #1E293B !important;
}
html[data-theme="light"] #toast-container > .toast-warning .toast-progress {
    background: linear-gradient(90deg, #F59E0B, #D97706) !important;
}

/* =============================================================================
   12. ALERTS
   ============================================================================= */

.alert {
    border-radius: 12px !important;
    border: 1px solid var(--cosmic-border) !important;
}
.alert-warning {
    background: rgba(246, 183, 60, 0.12) !important;
    border-color: rgba(246, 183, 60, 0.3) !important;
    color: var(--cosmic-text-main) !important;
}
.alert-success {
    background: rgba(34, 197, 94, 0.12) !important;
    border-color: rgba(34, 197, 94, 0.3) !important;
    color: var(--cosmic-text-main) !important;
}
.alert-danger {
    background: rgba(238, 78, 94, 0.12) !important;
    border-color: rgba(238, 78, 94, 0.3) !important;
    color: var(--cosmic-text-main) !important;
}
.alert-info {
    background: rgba(59, 130, 246, 0.12) !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
    color: var(--cosmic-text-main) !important;
}

/* =============================================================================
   13. TABLES
   ============================================================================= */

.table {
    color: var(--cosmic-text-main) !important;
    border-color: var(--cosmic-border) !important;
}
.table thead th {
    border-color: var(--cosmic-border) !important;
    color: var(--cosmic-primary) !important;
    background: var(--cosmic-primary-glow) !important;
}
.table td, .table th {
    border-color: var(--cosmic-border) !important;
    color: var(--cosmic-text-main) !important;
}
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.03) !important;
}
html[data-theme="light"] .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.03) !important;
}

/* =============================================================================
   14. INTAKE FORM (Chat page modal form)
   ============================================================================= */

.intake-form-section label,
#intakeFormModal label {
    color: var(--cosmic-text-main) !important;
    font-weight: 500 !important;
}
#intakeFormModal .form-control,
#intakeFormModal select,
#intakeFormModal input,
#intakeFormModal textarea {
    background: var(--cosmic-bg-input) !important;
    border-color: var(--cosmic-border) !important;
    color: var(--cosmic-text-main) !important;
}
#intakeFormModal .modal-content {
    background: var(--cosmic-bg-modal) !important;
}
#intakeFormModal h5 {
    color: var(--cosmic-primary) !important;
}

/* Radio buttons */
.form-check-label {
    color: var(--cosmic-text-main) !important;
}

/* =============================================================================
   15. WALLET SECTION
   ============================================================================= */

.wallet-balance-card,
.wallet-section {
    background: var(--cosmic-card-bg) !important;
    border: 1px solid var(--cosmic-border-gold) !important;
    border-radius: 16px !important;
    color: var(--cosmic-text-main) !important;
}
.wallet-amount,
.balance-amount {
    color: var(--cosmic-primary) !important;
    font-weight: 700 !important;
}

/* =============================================================================
   16. PROFILE / MY ACCOUNT
   ============================================================================= */

.profile-card,
.my-account-section {
    background: var(--cosmic-card-bg) !important;
    border: 1px solid var(--cosmic-border) !important;
    border-radius: 16px !important;
    color: var(--cosmic-text-main) !important;
}
.profile-label {
    color: var(--cosmic-text-muted) !important;
    font-size: 0.85rem !important;
}
.profile-value {
    color: var(--cosmic-text-main) !important;
    font-weight: 600 !important;
}

/* =============================================================================
   17. CHAT PAGE / CHAT UI
   ============================================================================= */

.chat-container,
.chat-box,
.chat-messages {
    background: var(--cosmic-card-bg) !important;
    border: 1px solid var(--cosmic-border) !important;
    border-radius: 16px !important;
}
.chat-message-user {
    background: var(--cosmic-primary-dim) !important;
    border-radius: 12px 12px 0 12px !important;
    color: var(--cosmic-text-main) !important;
}
.chat-message-astrologer {
    background: rgba(255, 255, 255, 0.06) !important;
    border-radius: 12px 12px 12px 0 !important;
    color: var(--cosmic-text-main) !important;
}
html[data-theme="light"] .chat-message-astrologer {
    background: rgba(0, 0, 0, 0.05) !important;
}
.chat-input-area {
    background: var(--cosmic-bg-input) !important;
    border-top: 1px solid var(--cosmic-border) !important;
}

/* =============================================================================
   18. HOROSCOPE / PANCHANG / KUNDALI SECTIONS
   ============================================================================= */

.horoscope-section,
.panchang-section,
.kundali-section {
    background: transparent !important;
}
.horoscope-card,
.rashi-card,
.sign-card {
    background: var(--cosmic-card-bg) !important;
    border: 1px solid var(--cosmic-card-border) !important;
    border-radius: 16px !important;
    color: var(--cosmic-text-main) !important;
}
.horoscope-card:hover {
    border-color: var(--cosmic-border-gold) !important;
}
.panchang-table th {
    color: var(--cosmic-primary) !important;
}
.panchang-table td {
    color: var(--cosmic-text-light) !important;
}

/* =============================================================================
   19. BLOG CARDS
   ============================================================================= */

.blog-card,
.blog-item {
    background: var(--cosmic-card-bg) !important;
    border: 1px solid var(--cosmic-card-border) !important;
    border-radius: 16px !important;
    overflow: hidden;
    transition: border-color 0.25s, box-shadow 0.25s;
}
.blog-card:hover {
    border-color: var(--cosmic-border-gold) !important;
    box-shadow: 0 8px 24px var(--cosmic-shadow) !important;
}
.blog-card h4, .blog-card h5, .blog-card .blog-title {
    color: var(--cosmic-text-main) !important;
}
.blog-card p, .blog-card .blog-excerpt {
    color: var(--cosmic-text-muted) !important;
}

/* =============================================================================
   20. REPORT CARDS
   ============================================================================= */

.report-card,
.report-item {
    background: var(--cosmic-card-bg) !important;
    border: 1px solid var(--cosmic-card-border) !important;
    border-radius: 16px !important;
}
.report-card h4, .report-card .report-title {
    color: var(--cosmic-text-main) !important;
}
.report-card p, .report-card .report-desc {
    color: var(--cosmic-text-muted) !important;
}

/* =============================================================================
   21. PRODUCT / SHOP CARDS
   ============================================================================= */

.product-card {
    background: var(--cosmic-card-bg) !important;
    border: 1px solid var(--cosmic-card-border) !important;
    border-radius: 16px !important;
    overflow: hidden;
}
.product-card .product-name,
.product-card h5 {
    color: var(--cosmic-text-main) !important;
}
.product-card .product-price {
    color: var(--cosmic-primary) !important;
    font-weight: 700;
}

/* =============================================================================
   22. PUJA CARDS
   ============================================================================= */

.puja-card {
    background: var(--cosmic-card-bg) !important;
    border: 1px solid var(--cosmic-card-border) !important;
    border-radius: 16px !important;
}
.puja-card h4, .puja-card h5 {
    color: var(--cosmic-text-main) !important;
}

/* =============================================================================
   23. TABS (Bootstrap nav-tabs)
   ============================================================================= */

.nav-tabs {
    border-bottom: 1px solid var(--cosmic-border) !important;
}
.nav-tabs .nav-link {
    color: var(--cosmic-text-muted) !important;
    border-color: transparent !important;
    border-radius: 10px 10px 0 0 !important;
}
.nav-tabs .nav-link:hover {
    color: var(--cosmic-primary) !important;
    border-color: var(--cosmic-border) !important;
}
.nav-tabs .nav-link.active {
    background: var(--cosmic-primary-glow) !important;
    border-color: var(--cosmic-border-gold) var(--cosmic-border-gold) transparent !important;
    color: var(--cosmic-primary) !important;
}
.tab-content {
    color: var(--cosmic-text-main) !important;
}

/* =============================================================================
   24. RESPONSIVE — SEARCH SECTION MOBILE
   ============================================================================= */

@media (max-width: 767px) {
    .expert-search-form {
        border-radius: 12px !important;
        padding: 10px 12px !important;
    }
}

/* =============================================================================
   25. LIGHT-THEME SPECIFIC OVERRIDES
   (Things that need more specific treatment in light mode)
   ============================================================================= */

html[data-theme="light"] body {
    background-color: var(--cosmic-bg-main);
}

/* Body section backgrounds in light mode */
html[data-theme="light"] .section-bg,
html[data-theme="light"] .looks-1,
html[data-theme="light"] .backimage {
    background-color: var(--cosmic-bg-secondary) !important;
}

/* Footer: keep dark even in light mode for visual separation */
html[data-theme="light"] #footer,
html[data-theme="light"] footer {
    background: var(--cosmic-footer-bg) !important;
}
html[data-theme="light"] footer a,
html[data-theme="light"] #footer a {
    color: rgba(255, 255, 255, 0.7) !important;
}
html[data-theme="light"] footer a:hover,
html[data-theme="light"] #footer a:hover {
    color: #F6B73C !important;
}
html[data-theme="light"] footer h5,
html[data-theme="light"] #footer h5 {
    color: #F6B73C !important;
}
html[data-theme="light"] .text-gray {
    color: #d1d5db !important;
}
html[data-theme="light"] .text-gray-dark {
    color: #9ca3af !important;
}

/* Light mode dropdown overrides */
html[data-theme="light"] .dropdown-menu {
    background: #ffffff !important;
    border: 1px solid rgba(201, 146, 15, 0.3) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1) !important;
}
html[data-theme="light"] .dropdown-item {
    color: var(--cosmic-text-main) !important;
}
html[data-theme="light"] .dropdown-item:hover {
    background: var(--cosmic-primary-glow) !important;
    color: var(--cosmic-primary) !important;
}
html[data-theme="light"] .user-options {
    background: #ffffff !important;
}

/* Light mode card shadow */
html[data-theme="light"] .card,
html[data-theme="light"] .psychic-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

/* Light mode form inputs */
html[data-theme="light"] .form-control,
html[data-theme="light"] select,
html[data-theme="light"] input[type="text"],
html[data-theme="light"] input[type="number"],
html[data-theme="light"] input[type="email"],
html[data-theme="light"] input[type="password"],
html[data-theme="light"] textarea {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
    color: var(--cosmic-text-main) !important;
}
html[data-theme="light"] .form-control:focus,
html[data-theme="light"] input:focus,
html[data-theme="light"] select:focus,
html[data-theme="light"] textarea:focus {
    border-color: var(--cosmic-primary) !important;
    box-shadow: 0 0 0 3px var(--cosmic-primary-glow) !important;
}

/* Light mode modal */
html[data-theme="light"] .modal-content {
    background: #ffffff !important;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15) !important;
}
html[data-theme="light"] .modal-header,
html[data-theme="light"] .modal-footer {
    border-color: rgba(0,0,0,0.1) !important;
}
html[data-theme="light"] .modal-body p,
html[data-theme="light"] .modal-body label,
html[data-theme="light"] .modal-body span {
    color: var(--cosmic-text-main) !important;
}

/* Light mode buttons secondary */
html[data-theme="light"] .btn-secondary,
html[data-theme="light"] .btn-outline-primary,
html[data-theme="light"] .btn-light {
    background: #ffffff !important;
    border-color: rgba(201, 146, 15, 0.5) !important;
    color: var(--cosmic-primary) !important;
}

/* Light mode select2 */
html[data-theme="light"] .select2-container--default .select2-selection--single {
    background: #ffffff !important;
    border-color: rgba(0,0,0,0.15) !important;
}
html[data-theme="light"] .select2-dropdown {
    background: #ffffff !important;
    border-color: rgba(201,146,15,0.3) !important;
}
html[data-theme="light"] .select2-container--default .select2-results__option {
    color: var(--cosmic-text-main) !important;
}
html[data-theme="light"] .select2-container--default .select2-results__option--highlighted {
    background: var(--cosmic-primary-glow) !important;
    color: var(--cosmic-primary) !important;
}

/* Light mode pagination */
html[data-theme="light"] .page-item .page-link {
    background: #ffffff !important;
    border-color: rgba(0,0,0,0.15) !important;
    color: var(--cosmic-text-main) !important;
}
html[data-theme="light"] .page-item .page-link:hover {
    background: var(--cosmic-primary-glow) !important;
    border-color: var(--cosmic-primary) !important;
    color: var(--cosmic-primary) !important;
}

/* =============================================================================
   26. NOTIFICATION BADGE / BELL
   ============================================================================= */

.notification-badge,
.badge-count {
    background: var(--cosmic-danger) !important;
    color: #fff !important;
    border-radius: 50%;
    font-size: 0.7rem;
}

/* =============================================================================
   27. SCROLLBAR THEMING (Webkit)
   ============================================================================= */

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: var(--cosmic-border-gold);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--cosmic-primary);
}

/* =============================================================================
   28. STICKY HEADER BLUR ON SCROLL (both themes)
   ============================================================================= */

.mega-header.header-scrolled {
    backdrop-filter: blur(30px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(180%) !important;
}
html[data-theme="dark"] .mega-header.header-scrolled {
    background: rgba(6, 7, 14, 0.97) !important;
}
html[data-theme="light"] .mega-header.header-scrolled {
    background: rgba(250, 247, 240, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
}

/* =============================================================================
   29. KUNDALI & SERVICE PAGES THEMING
   ============================================================================= */

.cat-pages,
.astrology-services,
.cat-pages p,
.astrology-services p,
.astrology-services ul li,
.panel-body,
.panel-body p {
    color: var(--cosmic-text-main) !important;
}

.shadow-pink {
    background: var(--cosmic-card-bg) !important;
    backdrop-filter: blur(18px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(180%) !important;
    border: 1px solid var(--cosmic-card-border) !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 35px var(--cosmic-shadow) !important;
}

.shadow-pink label {
    color: var(--cosmic-text-main) !important;
}

.form-control.border-pink {
    background: var(--cosmic-bg-input) !important;
    color: var(--cosmic-text-main) !important;
    border: 1px solid var(--cosmic-border-gold) !important;
}

html[data-theme="light"] .form-header-badge {
    background: linear-gradient(135deg, rgba(238, 78, 94, 0.2), rgba(201, 146, 15, 0.3)) !important;
    color: #1C1C2E !important;
}

html[data-theme="light"] .stylish-page-title,
html[data-theme="light"] .stylish-section-heading {
    color: #1C1C2E !important;
}

/* =============================================================================
   ENHANCED FORM INPUTS & PASSWORD STYLING
   ============================================================================= */
.input-group-custom {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
}
.input-group-custom .input-icon,
.input-group-custom i.input-icon {
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 16px !important;
    pointer-events: none !important;
    z-index: 10 !important;
    line-height: 1 !important;
    color: #94a3b8 !important;
}
html[data-theme="light"] .input-group-custom .input-icon,
html[data-theme="light"] .input-group-custom i.input-icon {
    color: #64748b !important;
}
.input-group-custom input,
.input-group-custom input.form-control,
.input-group-custom input[type="text"],
.input-group-custom input[type="email"],
.input-group-custom input[type="password"],
.input-group-custom .form-control {
    height: 52px !important;
    padding-left: 54px !important;
    padding-right: 52px !important;
    border-radius: 14px !important;
    font-size: 15px !important;
    box-sizing: border-box !important;
}
.input-group-custom input[type="password"]::placeholder {
    font-size: 14px !important;
    letter-spacing: 2px !important;
}
.input-group-custom .password-toggle {
    position: absolute !important;
    right: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 8px !important;
    font-size: 16px !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #94a3b8 !important;
    line-height: 1 !important;
    outline: none !important;
}
html[data-theme="light"] .input-group-custom .password-toggle {
    color: #64748b !important;
}
.input-group-custom .password-toggle:hover {
    color: var(--cosmic-primary) !important;
}

/* Crisp & legible placeholders across entire website */
::placeholder {
    opacity: 1 !important;
    color: #94a3b8 !important;
}
html[data-theme="light"] ::placeholder,
html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder,
html[data-theme="light"] .form-control::placeholder {
    opacity: 1 !important;
    color: #64748b !important;
}
html[data-theme="dark"] ::placeholder,
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder,
html[data-theme="dark"] .form-control::placeholder {
    opacity: 1 !important;
    color: #94a3b8 !important;
}


/* ================================================================
   AR AUTH SYSTEM — Premium Modal Styles
   Supports: Light & Dark theme via [data-theme]
   ================================================================ */

/* ── Auth Dialog ────────────────────────────────────────────────── */
.ar-auth-dialog {
    max-width: 420px;
    width: 100%;
    margin: 12px auto;
}

.ar-auth-modal {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: #13182A;
    box-shadow: 0 25px 80px rgba(0,0,0,0.6);
    position: relative;
}
html[data-theme="light"] .ar-auth-modal {
    background: #ffffff;
    border-color: rgba(0,0,0,0.08);
    box-shadow: 0 25px 80px rgba(0,0,0,0.18);
}

/* Close button */
.ar-auth-close {
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 10;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.7);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}
html[data-theme="light"] .ar-auth-close {
    background: rgba(0,0,0,0.05);
    border-color: rgba(0,0,0,0.12);
    color: #374151;
}
.ar-auth-close:hover {
    background: rgba(239,68,68,0.15);
    border-color: rgba(239,68,68,0.3);
    color: #EF4444;
    transform: rotate(90deg);
}

/* ── Banner ─────────────────────────────────────────────────────── */
.ar-auth-banner {
    background: linear-gradient(135deg, #1a0a4a 0%, #2d1580 50%, #0b0e14 100%);
    padding: 28px 24px 22px;
    position: relative;
    overflow: hidden;
}
html[data-theme="light"] .ar-auth-banner {
    background: linear-gradient(135deg, #3b1fa0 0%, #7c3aed 100%);
}
.ar-auth-banner::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(246,183,60,0.25) 0%, transparent 70%);
    pointer-events: none;
}
.ar-auth-banner-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}
.ar-auth-banner-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #F6B73C, #D97706);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(246,183,60,0.4);
}
.ar-auth-banner-icon i { color: #0B0E14; font-size: 18px; }
.ar-auth-banner-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.3px;
    line-height: 1.2;
}
.ar-auth-banner-sub {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    margin-top: 2px;
}
.ar-auth-banner-desc {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    margin-top: 10px;
    position: relative;
    z-index: 1;
}

/* ── Body ───────────────────────────────────────────────────────── */
.ar-auth-body {
    padding: 24px 24px 20px;
}
.ar-auth-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
}
html[data-theme="light"] .ar-auth-title { color: #1e1b4b; }
.ar-auth-sub {
    font-size: 0.84rem;
    color: rgba(255,255,255,0.55);
    margin: 0 0 18px;
}
html[data-theme="light"] .ar-auth-sub { color: #6b7280; }

/* ── Mobile/Email Toggle ────────────────────────────────────────── */
.ar-auth-toggle-wrap {
    display: flex;
    background: rgba(255,255,255,0.05);
    border-radius: 30px;
    padding: 4px;
    margin-bottom: 18px;
    border: 1px solid rgba(255,255,255,0.08);
}
html[data-theme="light"] .ar-auth-toggle-wrap {
    background: #f1f5f9;
    border-color: transparent;
}
.ar-toggle-btn {
    flex: 1;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 25px;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.5);
    transition: all 0.25s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
html[data-theme="light"] .ar-toggle-btn { color: #6b7280; }
.ar-toggle-btn.active {
    background: linear-gradient(135deg, #F6B73C, #D97706);
    color: #0B0E14;
    box-shadow: 0 3px 10px rgba(246,183,60,0.35);
    font-weight: 700;
}

/* ── Input Groups ────────────────────────────────────────────────── */
.ar-auth-input-group { position: relative; }
.ar-auth-mobile-wrap { display: flex; gap: 8px; align-items: center; }
.ar-auth-select {
    width: 100px !important;
    flex-shrink: 0;
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    color: #fff !important;
    border-radius: 10px !important;
    height: 46px;
    padding: 0 8px !important;
    font-size: 13px !important;
}
html[data-theme="light"] .ar-auth-select {
    background: #f9fafb !important;
    border-color: #e5e7eb !important;
    color: #111827 !important;
}
.ar-auth-icon-input {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}
.ar-auth-icon-input > i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(246,183,60,0.85);
    font-size: 15px;
    z-index: 5;
    pointer-events: none;
    width: 18px;
    text-align: center;
    line-height: 1;
}
.ar-auth-input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    border-radius: 10px;
    padding: 12px 14px 12px 14px;
    font-size: 0.93rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    height: 48px !important;
    box-sizing: border-box;
}
.ar-auth-icon-input .ar-auth-input,
.ar-auth-icon-input input.ar-auth-input,
.ar-auth-icon-input input[type="text"].ar-auth-input,
.ar-auth-icon-input input[type="email"].ar-auth-input,
.ar-auth-icon-input input[type="password"].ar-auth-input {
    padding-left: 50px !important;
    padding-right: 44px !important;
}
html[data-theme="light"] .ar-auth-input {
    background: #f9fafb;
    border-color: #e5e7eb;
    color: #111827;
}
.ar-auth-input:focus {
    border-color: #F6B73C !important;
    box-shadow: 0 0 0 3px rgba(246,183,60,0.18) !important;
}
.ar-auth-input::placeholder { color: rgba(255,255,255,0.35) !important; }
html[data-theme="light"] .ar-auth-input::placeholder { color: #9ca3af !important; }
.ar-auth-mobile-wrap .ar-auth-input { padding-left: 14px !important; }
.ar-auth-eye {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    padding: 0 4px;
    font-size: 15px;
    transition: color 0.2s ease;
    z-index: 6;
}
html[data-theme="light"] .ar-auth-eye { color: #9ca3af; }
.ar-auth-eye:hover { color: #F6B73C; }

/* ── Buttons ────────────────────────────────────────────────────── */
.ar-auth-btn-primary {
    width: 100%;
    background: linear-gradient(135deg, #F6B73C 0%, #D97706 100%);
    color: #0B0E14;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    border-radius: 12px;
    padding: 13px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.3px;
    margin-top: 4px;
    position: relative;
    overflow: hidden;
}
.ar-auth-btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(246,183,60,0.45);
}
.ar-auth-btn-primary:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

.ar-auth-btn-secondary {
    width: 100%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 12px;
    padding: 11px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
html[data-theme="light"] .ar-auth-btn-secondary {
    background: #f1f5f9;
    border-color: #e5e7eb;
    color: #374151;
}
.ar-auth-btn-secondary:hover { background: rgba(255,255,255,0.1); }
html[data-theme="light"] .ar-auth-btn-secondary:hover { background: #e5e7eb; }

/* ── Error ──────────────────────────────────────────────────────── */
.ar-auth-error {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.3);
    color: #F87171;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.84rem;
    font-weight: 500;
    margin-bottom: 12px;
}
html[data-theme="light"] .ar-auth-error { color: #DC2626; background: rgba(239,68,68,0.06); }

/* ── Divider / Switch ───────────────────────────────────────────── */
.ar-auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
    color: rgba(255,255,255,0.3);
    font-size: 0.8rem;
}
html[data-theme="light"] .ar-auth-divider { color: #d1d5db; }
.ar-auth-divider::before, .ar-auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.1);
}
html[data-theme="light"] .ar-auth-divider::before,
html[data-theme="light"] .ar-auth-divider::after { background: #e5e7eb; }
.ar-auth-divider span { flex-shrink: 0; }

.ar-auth-switch-text {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin: 0;
}
html[data-theme="light"] .ar-auth-switch-text { color: #6b7280; }
.ar-auth-switch-btn {
    background: none;
    border: none;
    color: #F6B73C;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    font-size: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(246,183,60,0.4);
    transition: color 0.2s ease;
}
.ar-auth-switch-btn:hover { color: #FFD166; }
.ar-auth-link-btn {
    background: none;
    border: none;
    color: #F6B73C;
    font-size: 0.82rem;
    cursor: pointer;
    padding: 0;
    font-weight: 600;
    transition: color 0.2s ease;
}
.ar-auth-link-btn:hover { color: #FFD166; }

/* ── 6-Digit OTP Boxes ──────────────────────────────────────────── */
.ar-otp-header { text-align: center; margin-bottom: 18px; }
.ar-otp-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(246,183,60,0.15), rgba(124,58,237,0.15));
    border: 1px solid rgba(246,183,60,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 20px;
    color: #F6B73C;
}

.ar-otp-dev-badge {
    background: rgba(251,191,36,0.1);
    border: 1px dashed rgba(251,191,36,0.4);
    color: #FCD34D;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.8rem;
    text-align: center;
    margin-bottom: 18px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.ar-otp-dev-badge:hover { background: rgba(251,191,36,0.15); }
html[data-theme="light"] .ar-otp-dev-badge { color: #92400E; background: rgba(251,191,36,0.08); border-color: rgba(251,191,36,0.4); }
.ar-otp-click-hint { font-size: 0.75rem; opacity: 0.7; }

.ar-otp-boxes {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
}
.ar-otp-digit {
    width: 46px;
    height: 54px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 12px;
    border: 2px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    color: #fff;
    outline: none;
    transition: all 0.2s ease;
    caret-color: #F6B73C;
}
html[data-theme="light"] .ar-otp-digit {
    background: #f9fafb;
    border-color: #e5e7eb;
    color: #1e1b4b;
}
.ar-otp-digit:focus {
    border-color: #F6B73C;
    box-shadow: 0 0 0 3px rgba(246,183,60,0.2);
    background: rgba(246,183,60,0.05);
}
html[data-theme="light"] .ar-otp-digit:focus { background: #fffbeb; }
.ar-otp-digit.ar-otp-filled {
    border-color: #10B981;
    color: #10B981;
    background: rgba(16,185,129,0.07);
}
html[data-theme="light"] .ar-otp-digit.ar-otp-filled { background: rgba(16,185,129,0.05); }
.ar-otp-digit.ar-otp-error { border-color: #EF4444; color: #EF4444; }

.ar-otp-resend-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 0.84rem;
}
.ar-otp-countdown { color: rgba(255,255,255,0.5); }
html[data-theme="light"] .ar-otp-countdown { color: #6b7280; }
.ar-otp-countdown strong { color: #F6B73C; }

/* ── App Download Footer ─────────────────────────────────────────── */
.ar-auth-app-footer {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 14px 20px;
    text-align: center;
}
html[data-theme="light"] .ar-auth-app-footer { border-top-color: rgba(0,0,0,0.07); }
.ar-auth-app-footer p { font-size: 0.78rem; color: rgba(255,255,255,0.4); margin: 0 0 8px; }
html[data-theme="light"] .ar-auth-app-footer p { color: #9ca3af; }
.ar-auth-app-btns { display: flex; justify-content: center; gap: 10px; }
.ar-auth-app-btns img { border-radius: 6px; opacity: 0.85; transition: opacity 0.2s; }
.ar-auth-app-btns img:hover { opacity: 1; }

@media (max-width: 440px) {
    .ar-auth-dialog { max-width: 100%; margin: 0; }
    .ar-auth-modal { border-radius: 0; }
    .ar-otp-digit { width: 40px; height: 50px; font-size: 1.3rem; }
    .ar-otp-boxes { gap: 6px; }
}

/* ================================================================
   PREMIUM USER DROPDOWN
   ================================================================ */
.ar-user-dropdown { position: relative; }

.ar-user-avatar-btn {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    padding: 0;
    border: 2px solid rgba(246,183,60,0.5);
    background: rgba(246,183,60,0.1);
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}
.ar-user-avatar-btn:hover {
    border-color: #F6B73C;
    box-shadow: 0 0 0 4px rgba(246,183,60,0.2);
}
.ar-user-avatar-img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
}
.ar-user-avatar-placeholder {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F6B73C, #D97706);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0B0E14;
    font-size: 14px;
}
.ar-user-online-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10B981;
    border: 2px solid var(--navbar-bg, #0b0e14);
}
html[data-theme="light"] .ar-user-online-dot { border-color: #fff; }

.ar-user-menu {
    min-width: 260px;
    padding: 0;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    background: #161C2E;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    overflow: hidden;
    margin-top: 10px;
}
html[data-theme="light"] .ar-user-menu {
    background: #fff;
    border-color: rgba(0,0,0,0.1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* User Menu Header */
.ar-user-menu-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(246,183,60,0.08));
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
html[data-theme="light"] .ar-user-menu-header {
    background: linear-gradient(135deg, #f5f3ff, #fffbeb);
    border-bottom-color: rgba(0,0,0,0.07);
}
.ar-user-menu-avatar { flex-shrink: 0; }
.ar-umh-img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(246,183,60,0.4); }
.ar-umh-placeholder {
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, #F6B73C, #D97706);
    display: flex; align-items: center; justify-content: center;
    color: #0B0E14; font-size: 16px;
}
.ar-umh-name { font-size: 0.9rem; font-weight: 700; color: #fff; }
html[data-theme="light"] .ar-umh-name { color: #1e1b4b; }
.ar-umh-sub { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
html[data-theme="light"] .ar-umh-sub { color: #6b7280; }
.ar-umh-badge {
    display: inline-flex; align-items: center; gap: 3px; margin-top: 4px;
    background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3);
    color: #10B981; font-size: 0.7rem; font-weight: 600; padding: 2px 8px; border-radius: 20px;
}

.ar-user-menu-divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 4px 0;
}
html[data-theme="light"] .ar-user-menu-divider { background: rgba(0,0,0,0.06); }

.ar-user-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
}
html[data-theme="light"] .ar-user-menu-item { color: #374151; }
.ar-user-menu-item:hover {
    background: rgba(246,183,60,0.08);
    color: #F6B73C;
    text-decoration: none;
    padding-left: 20px;
}
html[data-theme="light"] .ar-user-menu-item:hover { background: #fffbeb; }
.ar-umi-icon {
    width: 32px; height: 32px; border-radius: 8px;
    background: rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: 13px;
    transition: background 0.2s ease;
}
html[data-theme="light"] .ar-umi-icon { background: #f3f4f6; }
.ar-user-menu-item:hover .ar-umi-icon { background: rgba(246,183,60,0.15); }
html[data-theme="light"] .ar-user-menu-item:hover .ar-umi-icon { background: rgba(246,183,60,0.12); }
.ar-user-menu-item > span:not(.ar-umi-icon) { flex: 1; }
.ar-umi-arrow { font-size: 10px; color: rgba(255,255,255,0.2); }
html[data-theme="light"] .ar-umi-arrow { color: #d1d5db; }
.ar-umi-logout:hover { color: #EF4444 !important; background: rgba(239,68,68,0.08) !important; }
html[data-theme="light"] .ar-umi-logout:hover { background: #fef2f2 !important; }
.ar-umi-logout:hover .ar-umi-icon { background: rgba(239,68,68,0.15) !important; }

/* ================================================================
   LOGOUT CONFIRMATION MODAL
   ================================================================ */
.ar-logout-dialog { max-width: 380px; }
.ar-logout-modal {
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    background: #13182A;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
html[data-theme="light"] .ar-logout-modal { background: #fff; border-color: rgba(0,0,0,0.08); }
.ar-logout-body { padding: 36px 28px 28px; text-align: center; }
.ar-logout-icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: rgba(239,68,68,0.1);
    border: 2px solid rgba(239,68,68,0.25);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px;
    font-size: 24px;
    color: #EF4444;
    animation: arLogoutPulse 2s ease-in-out infinite;
}
@keyframes arLogoutPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.3); }
    50% { box-shadow: 0 0 0 10px rgba(239,68,68,0); }
}
.ar-logout-title { font-size: 1.1rem; font-weight: 700; color: #fff; margin: 0 0 10px; }
html[data-theme="light"] .ar-logout-title { color: #1e1b4b; }
.ar-logout-desc { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.6; margin: 0 0 24px; }
html[data-theme="light"] .ar-logout-desc { color: #6b7280; }
.ar-logout-actions { display: flex; gap: 12px; }
.ar-logout-cancel {
    flex: 1; padding: 12px; border-radius: 12px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.7); font-weight: 600; font-size: 0.9rem;
    cursor: pointer; transition: all 0.2s ease;
}
html[data-theme="light"] .ar-logout-cancel { background: #f1f5f9; border-color: #e5e7eb; color: #374151; }
.ar-logout-cancel:hover { background: rgba(255,255,255,0.1); }
html[data-theme="light"] .ar-logout-cancel:hover { background: #e5e7eb; }
.ar-logout-confirm {
    flex: 1; padding: 12px; border-radius: 12px;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    border: none; color: #fff; font-weight: 700; font-size: 0.9rem;
    cursor: pointer; transition: all 0.3s ease;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.ar-logout-confirm:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(239,68,68,0.4); }
.ar-logout-confirm:disabled { opacity: 0.65; cursor: not-allowed; transform: none; box-shadow: none; }


/* ── Profile Inputs Global Alignment (Prevent Overlapping) ── */
.ar-pf-input-wrap {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
}
.ar-pf-input-wrap > i {
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: var(--cosmic-primary, #F6B73C) !important;
    font-size: 15px !important;
    z-index: 5 !important;
    pointer-events: none !important;
    width: 18px !important;
    text-align: center !important;
    line-height: 1 !important;
}
.ar-pf-input-wrap input.ar-pf-input,
.ar-pf-input-wrap input[type="text"].ar-pf-input,
.ar-pf-input-wrap input[type="email"].ar-pf-input,
.ar-pf-input-wrap input[type="tel"].ar-pf-input,
.ar-pf-input-wrap input[type="date"].ar-pf-input,
.ar-pf-input-wrap input[type="time"].ar-pf-input {
    padding-left: 52px !important;
    padding-right: 16px !important;
    height: 52px !important;
}
.ar-pf-input-wrap select.ar-pf-select {
    padding-left: 52px !important;
    padding-right: 38px !important;
    height: 52px !important;
}

/* =============================================================================
   22. QUICK LINKS & SIDEBAR NAVIGATION — Dark & Light Theme Aligned
   ============================================================================= */

/* ── Card Container ── */
.ar-quick-links-card,
.ar-profile-stats-card {
    background: var(--card-bg, #13182A);
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.08));
    border-radius: 18px;
    padding: 18px 14px;
    margin-bottom: 20px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
[data-theme="light"] .ar-quick-links-card,
html[data-theme="light"] .ar-quick-links-card,
[data-theme="light"] .ar-profile-stats-card,
html[data-theme="light"] .ar-profile-stats-card {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 10px 30px rgba(74, 14, 122, 0.05), 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

/* ── Title ── */
.ar-ql-title,
.ar-psc-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--cosmic-primary, #F6B73C);
    margin: 0 0 12px;
    padding: 2px 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(246, 183, 60, 0.2);
}
[data-theme="light"] .ar-ql-title,
html[data-theme="light"] .ar-ql-title,
[data-theme="light"] .ar-psc-title,
html[data-theme="light"] .ar-psc-title {
    color: #92400E !important;
    border-bottom-color: rgba(217, 119, 6, 0.15) !important;
}
.ar-ql-title i,
.ar-psc-title i {
    color: #F6B73C;
    font-size: 14px;
}
[data-theme="light"] .ar-ql-title i,
html[data-theme="light"] .ar-ql-title i,
[data-theme="light"] .ar-psc-title i,
html[data-theme="light"] .ar-psc-title i {
    color: #D97706 !important;
}

/* ── Menu List & Items ── */
.ar-ql-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.ar-ql-item,
.ar-psc-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none !important;
    border: 1px solid transparent;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    background: transparent;
    color: rgba(255, 255, 255, 0.82);
}

/* ── Icons ── */
.ar-ql-item .ar-ql-icon,
.ar-psc-item .ar-psc-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.22s ease;
}
.ar-ql-item .ar-ql-icon i,
.ar-psc-item .ar-psc-icon i {
    color: #F6B73C;
    font-size: 14px;
    transition: transform 0.22s ease;
}
[data-theme="light"] .ar-ql-item .ar-ql-icon,
html[data-theme="light"] .ar-ql-item .ar-ql-icon,
[data-theme="light"] .ar-psc-item .ar-psc-icon,
html[data-theme="light"] .ar-psc-item .ar-psc-icon {
    background: rgba(246, 183, 60, 0.12) !important;
    border: 1px solid rgba(246, 183, 60, 0.22) !important;
}
[data-theme="light"] .ar-ql-item .ar-ql-icon i,
html[data-theme="light"] .ar-ql-item .ar-ql-icon i,
[data-theme="light"] .ar-psc-item .ar-psc-icon i,
html[data-theme="light"] .ar-psc-item .ar-psc-icon i {
    color: #D97706 !important;
}

/* ── Labels ── */
.ar-ql-item .ar-ql-label,
.ar-psc-item .ar-psc-label {
    font-size: 0.92rem;
    font-weight: 600;
    flex: 1;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    transition: color 0.2s ease;
}
[data-theme="light"] .ar-ql-item .ar-ql-label,
html[data-theme="light"] .ar-ql-item .ar-ql-label,
[data-theme="light"] .ar-psc-item .ar-psc-label,
html[data-theme="light"] .ar-psc-item .ar-psc-label {
    color: #374151 !important;
}

/* ── Arrows ── */
.ar-ql-item .ar-ql-arrow,
.ar-psc-item .ar-psc-arrow {
    color: rgba(255, 255, 255, 0.3);
    font-size: 11px;
    transition: all 0.22s ease;
}
[data-theme="light"] .ar-ql-item .ar-ql-arrow,
html[data-theme="light"] .ar-ql-item .ar-ql-arrow,
[data-theme="light"] .ar-psc-item .ar-psc-arrow,
html[data-theme="light"] .ar-psc-item .ar-psc-arrow {
    color: #9CA3AF !important;
}

/* ── Hover States (Dark Theme) ── */
.ar-ql-item:hover,
.ar-psc-item:hover {
    background: rgba(246, 183, 60, 0.08);
    border-color: rgba(246, 183, 60, 0.22);
    text-decoration: none !important;
    padding-left: 14px;
}
.ar-ql-item:hover .ar-ql-label,
.ar-psc-item:hover .ar-psc-label {
    color: #FFFFFF;
}
.ar-ql-item:hover .ar-ql-icon,
.ar-psc-item:hover .ar-psc-icon {
    background: rgba(246, 183, 60, 0.18);
    border-color: rgba(246, 183, 60, 0.35);
    transform: scale(1.05);
}
.ar-ql-item:hover .ar-ql-arrow,
.ar-psc-item:hover .ar-psc-arrow {
    color: #F6B73C;
    transform: translateX(4px);
}

/* ── Hover States (Light Theme) ── */
[data-theme="light"] .ar-ql-item:hover,
html[data-theme="light"] .ar-ql-item:hover,
[data-theme="light"] .ar-psc-item:hover,
html[data-theme="light"] .ar-psc-item:hover {
    background: rgba(246, 183, 60, 0.12) !important;
    border-color: rgba(217, 119, 6, 0.28) !important;
    padding-left: 14px !important;
}
[data-theme="light"] .ar-ql-item:hover .ar-ql-label,
html[data-theme="light"] .ar-ql-item:hover .ar-ql-label,
[data-theme="light"] .ar-psc-item:hover .ar-psc-label,
html[data-theme="light"] .ar-psc-item:hover .ar-psc-label {
    color: #111827 !important;
}
[data-theme="light"] .ar-ql-item:hover .ar-ql-icon,
html[data-theme="light"] .ar-ql-item:hover .ar-ql-icon,
[data-theme="light"] .ar-psc-item:hover .ar-psc-icon,
html[data-theme="light"] .ar-psc-item:hover .ar-psc-icon {
    background: #D97706 !important;
    border-color: #D97706 !important;
    transform: scale(1.05);
}
[data-theme="light"] .ar-ql-item:hover .ar-ql-icon i,
html[data-theme="light"] .ar-ql-item:hover .ar-ql-icon i,
[data-theme="light"] .ar-psc-item:hover .ar-psc-icon i,
html[data-theme="light"] .ar-psc-item:hover .ar-psc-icon i {
    color: #FFFFFF !important;
}
[data-theme="light"] .ar-ql-item:hover .ar-ql-arrow,
html[data-theme="light"] .ar-ql-item:hover .ar-ql-arrow,
[data-theme="light"] .ar-psc-item:hover .ar-psc-arrow,
html[data-theme="light"] .ar-psc-item:hover .ar-psc-arrow {
    color: #D97706 !important;
    transform: translateX(4px);
}

/* ── ACTIVE States (Dark Theme) ── */
.ar-ql-item.active,
.ar-psc-item.active {
    background: linear-gradient(135deg, rgba(246, 183, 60, 0.16) 0%, rgba(142, 45, 226, 0.12) 100%) !important;
    border-color: rgba(246, 183, 60, 0.38) !important;
    box-shadow: 0 4px 16px rgba(246, 183, 60, 0.12) !important;
}
.ar-ql-item.active .ar-ql-icon,
.ar-psc-item.active .ar-psc-icon {
    background: linear-gradient(135deg, #F6B73C 0%, #D97706 100%) !important;
    border-color: transparent !important;
    box-shadow: 0 3px 10px rgba(246, 183, 60, 0.35) !important;
}
.ar-ql-item.active .ar-ql-icon i,
.ar-psc-item.active .ar-psc-icon i {
    color: #0B0E14 !important;
}
.ar-ql-item.active .ar-ql-label,
.ar-psc-item.active .ar-psc-label {
    color: #F6B73C !important;
    font-weight: 700 !important;
}
.ar-ql-item.active .ar-ql-arrow,
.ar-psc-item.active .ar-psc-arrow {
    color: #F6B73C !important;
    transform: translateX(3px);
}

/* ── ACTIVE States (Light Theme) ── */
[data-theme="light"] .ar-ql-item.active,
html[data-theme="light"] .ar-ql-item.active,
[data-theme="light"] .ar-psc-item.active,
html[data-theme="light"] .ar-psc-item.active {
    background: linear-gradient(135deg, rgba(254, 243, 199, 0.88) 0%, rgba(253, 230, 138, 0.55) 100%) !important;
    border-color: rgba(217, 119, 6, 0.38) !important;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.12) !important;
}
[data-theme="light"] .ar-ql-item.active .ar-ql-icon,
html[data-theme="light"] .ar-ql-item.active .ar-ql-icon,
[data-theme="light"] .ar-psc-item.active .ar-psc-icon,
html[data-theme="light"] .ar-psc-item.active .ar-psc-icon {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
    border-color: transparent !important;
    box-shadow: 0 3px 10px rgba(217, 119, 6, 0.25) !important;
}
[data-theme="light"] .ar-ql-item.active .ar-ql-icon i,
html[data-theme="light"] .ar-ql-item.active .ar-ql-icon i,
[data-theme="light"] .ar-psc-item.active .ar-psc-icon i,
html[data-theme="light"] .ar-psc-item.active .ar-psc-icon i {
    color: #FFFFFF !important;
}
[data-theme="light"] .ar-ql-item.active .ar-ql-label,
html[data-theme="light"] .ar-ql-item.active .ar-ql-label,
[data-theme="light"] .ar-psc-item.active .ar-psc-label,
html[data-theme="light"] .ar-psc-item.active .ar-psc-label {
    color: #92400E !important;
    font-weight: 700 !important;
}
[data-theme="light"] .ar-ql-item.active .ar-ql-arrow,
html[data-theme="light"] .ar-ql-item.active .ar-ql-arrow,
[data-theme="light"] .ar-psc-item.active .ar-psc-arrow,
html[data-theme="light"] .ar-psc-item.active .ar-psc-arrow {
    color: #D97706 !important;
    transform: translateX(3px);
}

/* ── COSMIC TIP CARD (Light & Dark Friendly) ── */
.ar-cosmic-tip-card {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.14) 0%, rgba(246, 183, 60, 0.08) 100%);
    border: 1px solid rgba(246, 183, 60, 0.25);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
[data-theme="light"] .ar-cosmic-tip-card,
html[data-theme="light"] .ar-cosmic-tip-card {
    background: linear-gradient(135deg, rgba(238, 242, 255, 0.95) 0%, rgba(254, 243, 199, 0.75) 100%) !important;
    border-color: rgba(217, 119, 6, 0.25) !important;
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.08) !important;
}
.ar-cosmic-tip-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #F6B73C;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
[data-theme="light"] .ar-cosmic-tip-title,
html[data-theme="light"] .ar-cosmic-tip-title {
    color: #92400E !important;
}
.ar-cosmic-tip-title i {
    color: #F6B73C;
    font-size: 13px;
}
[data-theme="light"] .ar-cosmic-tip-title i,
html[data-theme="light"] .ar-cosmic-tip-title i {
    color: #D97706 !important;
}
.ar-cosmic-tip-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.55;
}
[data-theme="light"] .ar-cosmic-tip-text,
html[data-theme="light"] .ar-cosmic-tip-text {
    color: #4B5563 !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   ✦ REAL-TIME CUSTOMER NOTIFICATIONS SYSTEM (ASTRO RASHI LUXURY DESIGN) ✦
   ══════════════════════════════════════════════════════════════════════════ */

/* ── 1. Header Notification Icon & Wrapper ── */
.ar-notification-wrapper {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 4px !important;
}

.ar-notification-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(246, 183, 60, 0.35) !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    flex-shrink: 0 !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    position: relative !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

.ar-notification-toggle i.ar-notification-icon {
    font-size: 0.95rem !important;
    color: #F6B73C !important;
    -webkit-text-fill-color: #F6B73C !important;
    pointer-events: none !important;
    display: block !important;
    line-height: 1 !important;
    transition: transform 0.25s ease !important;
}

.ar-notification-toggle:hover {
    background-color: rgba(246, 183, 60, 0.18) !important;
    border-color: #F6B73C !important;
    box-shadow: 0 0 14px rgba(246, 183, 60, 0.4) !important;
    transform: translateY(-1px) !important;
}

.ar-notification-toggle:hover i.ar-notification-icon {
    transform: scale(1.1) rotate(12deg) !important;
}

/* Light Theme Toggle */
html[data-theme="light"] .ar-notification-toggle {
    background-color: rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(201, 146, 15, 0.4) !important;
}
html[data-theme="light"] .ar-notification-toggle i.ar-notification-icon {
    color: #C9920F !important;
    -webkit-text-fill-color: #C9920F !important;
}
html[data-theme="light"] .ar-notification-toggle:hover {
    background-color: rgba(201, 146, 15, 0.15) !important;
    border-color: #C9920F !important;
    box-shadow: 0 0 12px rgba(201, 146, 15, 0.25) !important;
}

/* Badge Indicator */
.ar-notification-badge {
    position: absolute !important;
    top: -3px !important;
    right: -3px !important;
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
    color: #ffffff !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    padding: 2px 5px !important;
    border-radius: 10px !important;
    min-width: 17px !important;
    text-align: center !important;
    border: 2px solid #0d131f !important;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6) !important;
    animation: arBadgePulse 2s infinite ease-in-out !important;
    pointer-events: none !important;
}

html[data-theme="light"] .ar-notification-badge {
    border-color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.4) !important;
}

@keyframes arBadgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); box-shadow: 0 0 12px rgba(239, 68, 68, 0.85); }
}

/* ── 2. Small Hover Dropdown ── */
.ar-notification-dropdown {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    right: 0 !important;
    width: 320px !important;
    max-width: 90vw !important;
    background: rgba(15, 23, 42, 0.96) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(246, 183, 60, 0.25) !important;
    border-radius: 16px !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(246, 183, 60, 0.12) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px) !important;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease !important;
    z-index: 100000 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* Hover reveal */
.ar-notification-wrapper:hover .ar-notification-dropdown,
.ar-notification-dropdown:hover {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

/* Invisible bridge so mouse hover doesn't break between button and dropdown */
.ar-notification-dropdown::before {
    content: '' !important;
    position: absolute !important;
    top: -12px !important;
    left: 0 !important;
    width: 100% !important;
    height: 12px !important;
    background: transparent !important;
}

html[data-theme="light"] .ar-notification-dropdown {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 2px 10px rgba(201, 146, 15, 0.08) !important;
}

/* Dropdown Header */
.ar-notif-dropdown-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(255, 255, 255, 0.02) !important;
}
html[data-theme="light"] .ar-notif-dropdown-header {
    border-bottom-color: rgba(0, 0, 0, 0.06) !important;
    background: rgba(0, 0, 0, 0.015) !important;
}
.ar-ndh-left {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #F6B73C !important;
}
html[data-theme="light"] .ar-ndh-left {
    color: #B45309 !important;
}
.ar-ndh-badge {
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    padding: 2px 8px !important;
    border-radius: 12px !important;
    background: rgba(246, 183, 60, 0.15) !important;
    color: #F6B73C !important;
}
html[data-theme="light"] .ar-ndh-badge {
    background: rgba(201, 146, 15, 0.12) !important;
    color: #B45309 !important;
}

/* Dropdown Body */
.ar-notif-dropdown-body {
    max-height: 280px !important;
    overflow-y: auto !important;
    padding: 6px 0 !important;
}

.ar-notif-dropdown-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 10px 14px !important;
    text-decoration: none !important;
    color: #f1f5f9 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
    transition: background-color 0.2s ease !important;
    position: relative !important;
}
.ar-notif-dropdown-item:last-child {
    border-bottom: none !important;
}
.ar-notif-dropdown-item:hover {
    background: rgba(246, 183, 60, 0.08) !important;
    text-decoration: none !important;
}
html[data-theme="light"] .ar-notif-dropdown-item {
    color: #1e293b !important;
    border-bottom-color: rgba(0, 0, 0, 0.04) !important;
}
html[data-theme="light"] .ar-notif-dropdown-item:hover {
    background: rgba(246, 183, 60, 0.1) !important;
}

.ar-notif-dropdown-item.is-unread {
    background: rgba(246, 183, 60, 0.04) !important;
}
html[data-theme="light"] .ar-notif-dropdown-item.is-unread {
    background: rgba(246, 183, 60, 0.06) !important;
}

/* Dropdown item type icon */
.ar-ndi-icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    font-size: 0.8rem !important;
    color: #ffffff !important;
}
.ar-ndi-icon.puja {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
}
.ar-ndi-icon.calendar {
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%) !important;
}
.ar-ndi-icon.blog {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
}
.ar-ndi-icon.chat, .ar-ndi-icon.chat_sent, .ar-ndi-icon.chat_approved {
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%) !important;
}
.ar-ndi-icon.astrologer {
    background: linear-gradient(135deg, #EC4899 0%, #BE185D 100%) !important;
}
.ar-ndi-icon.general {
    background: linear-gradient(135deg, #64748B 0%, #475569 100%) !important;
}

.ar-ndi-content {
    flex: 1 !important;
    min-width: 0 !important;
}
.ar-ndi-title {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    margin-bottom: 2px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    color: inherit !important;
}
.ar-ndi-desc {
    font-size: 0.72rem !important;
    line-height: 1.4 !important;
    color: rgba(255, 255, 255, 0.65) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin-bottom: 3px !important;
}
html[data-theme="light"] .ar-ndi-desc {
    color: #64748b !important;
}
.ar-ndi-time {
    font-size: 0.68rem !important;
    color: #F6B73C !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}
html[data-theme="light"] .ar-ndi-time {
    color: #B45309 !important;
}

/* Unread dot */
.ar-ndi-dot {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #F6B73C !important;
    position: absolute !important;
    right: 12px !important;
    top: 14px !important;
    box-shadow: 0 0 6px #F6B73C !important;
}

/* Dropdown Empty */
.ar-notif-dropdown-empty {
    text-align: center !important;
    padding: 24px 16px !important;
    color: rgba(255, 255, 255, 0.45) !important;
}
html[data-theme="light"] .ar-notif-dropdown-empty {
    color: #94a3b8 !important;
}
.ar-notif-dropdown-empty i {
    font-size: 1.75rem !important;
    margin-bottom: 6px !important;
    display: block !important;
}
.ar-notif-dropdown-empty p {
    font-size: 0.8rem !important;
    margin: 0 !important;
}

/* Dropdown Footer */
.ar-notif-dropdown-footer {
    padding: 8px 16px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(255, 255, 255, 0.02) !important;
    text-align: center !important;
}
html[data-theme="light"] .ar-notif-dropdown-footer {
    border-top-color: rgba(0, 0, 0, 0.06) !important;
    background: rgba(0, 0, 0, 0.015) !important;
}
.ar-notif-view-all-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    color: #F6B73C !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}
.ar-notif-view-all-btn:hover {
    color: #fbbf24 !important;
    transform: translateX(2px) !important;
    text-decoration: none !important;
}
html[data-theme="light"] .ar-notif-view-all-btn {
    color: #B45309 !important;
}
html[data-theme="light"] .ar-notif-view-all-btn:hover {
    color: #78350f !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   ✦ 3. FULL NOTIFICATIONS PAGE STYLES (DUAL THEME) ✦
   ══════════════════════════════════════════════════════════════════════════ */
.ar-notif-page-wrapper {
    min-height: 80vh !important;
    padding: 32px 0 70px !important;
}

.ar-notif-container,
.ar-notif-page-wrapper .container {
    max-width: 1200px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.ar-notif-hero-card {
    background: rgba(17, 24, 39, 0.75) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(246, 183, 60, 0.2) !important;
    border-radius: 20px !important;
    padding: 24px 28px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35) !important;
}
html[data-theme="light"] .ar-notif-hero-card {
    background: #ffffff !important;
    border-color: rgba(201, 146, 15, 0.25) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
}

.ar-notif-hero-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
}

.ar-notif-title-group {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
}

.ar-notif-title-icon {
    width: 48px !important;
    height: 48px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, rgba(246, 183, 60, 0.25) 0%, rgba(217, 119, 6, 0.15) 100%) !important;
    border: 1px solid rgba(246, 183, 60, 0.4) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.35rem !important;
    color: #F6B73C !important;
}
html[data-theme="light"] .ar-notif-title-icon {
    background: rgba(201, 146, 15, 0.12) !important;
    border-color: rgba(201, 146, 15, 0.3) !important;
    color: #B45309 !important;
}

.ar-notif-page-title {
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}
html[data-theme="light"] .ar-notif-page-title {
    color: #0f172a !important;
}

.ar-notif-page-subtitle {
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.65) !important;
    margin: 4px 0 0 !important;
}
html[data-theme="light"] .ar-notif-page-subtitle {
    color: #64748b !important;
}

.ar-notif-hero-actions {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

/* Action Buttons */
.ar-btn-notif-action {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 16px !important;
    border-radius: 10px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    border: none !important;
    outline: none !important;
    text-decoration: none !important;
}

.ar-btn-mark-all {
    background: rgba(246, 183, 60, 0.12) !important;
    color: #F6B73C !important;
    border: 1px solid rgba(246, 183, 60, 0.35) !important;
}
.ar-btn-mark-all:hover {
    background: rgba(246, 183, 60, 0.22) !important;
    color: #F6B73C !important;
    box-shadow: 0 0 12px rgba(246, 183, 60, 0.3) !important;
    text-decoration: none !important;
}
html[data-theme="light"] .ar-btn-mark-all {
    background: rgba(201, 146, 15, 0.1) !important;
    color: #B45309 !important;
    border-color: rgba(201, 146, 15, 0.35) !important;
}

.ar-btn-delete-all {
    background: rgba(239, 68, 68, 0.12) !important;
    color: #EF4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.35) !important;
}
.ar-btn-delete-all:hover {
    background: #EF4444 !important;
    color: #ffffff !important;
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.4) !important;
    text-decoration: none !important;
}

/* Filter Tabs */
.ar-notif-tabs-bar {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    overflow-x: auto !important;
    padding-bottom: 6px !important;
    margin-bottom: 20px !important;
    scrollbar-width: thin !important;
}
.ar-notif-tab {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 7px 14px !important;
    border-radius: 30px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}
.ar-notif-tab:hover {
    color: #ffffff !important;
    background: rgba(246, 183, 60, 0.12) !important;
    border-color: rgba(246, 183, 60, 0.3) !important;
    text-decoration: none !important;
}
.ar-notif-tab.active {
    color: #0f172a !important;
    background: linear-gradient(135deg, #F6B73C 0%, #D97706 100%) !important;
    border-color: #F6B73C !important;
    box-shadow: 0 4px 14px rgba(246, 183, 60, 0.35) !important;
}
html[data-theme="light"] .ar-notif-tab {
    color: #475569 !important;
    background: #f1f5f9 !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
}
html[data-theme="light"] .ar-notif-tab:hover {
    color: #0f172a !important;
    background: rgba(201, 146, 15, 0.15) !important;
}
html[data-theme="light"] .ar-notif-tab.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, #D97706 0%, #B45309 100%) !important;
    border-color: #B45309 !important;
}

/* ── 4. Notification Item Card & Hover Delete ── */
.ar-notif-list-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
}

.ar-notif-card {
    position: relative !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 18px !important;
    padding: 20px 24px !important;
    margin-bottom: 16px !important;
    background: rgba(17, 24, 39, 0.7) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 18px !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.ar-notif-card:last-child {
    margin-bottom: 0 !important;
}
.ar-notif-card:hover {
    background: rgba(30, 41, 59, 0.85) !important;
    border-color: rgba(246, 183, 60, 0.35) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38), 0 0 16px rgba(246, 183, 60, 0.12) !important;
}

html[data-theme="light"] .ar-notif-card {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
}
html[data-theme="light"] .ar-notif-card:hover {
    background: #ffffff !important;
    border-color: rgba(201, 146, 15, 0.4) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}

.ar-notif-card.is-unread {
    border-left: 4px solid #F6B73C !important;
    background: rgba(246, 183, 60, 0.05) !important;
}
html[data-theme="light"] .ar-notif-card.is-unread {
    border-left: 4px solid #D97706 !important;
    background: rgba(246, 183, 60, 0.06) !important;
}

/* Card Icon */
.ar-nc-icon-wrap {
    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;
    font-size: 1.1rem !important;
    color: #ffffff !important;
}
.ar-nc-icon-wrap.puja {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3) !important;
}
.ar-nc-icon-wrap.calendar {
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%) !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3) !important;
}
.ar-nc-icon-wrap.blog {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
}
.ar-nc-icon-wrap.chat, .ar-nc-icon-wrap.chat_sent, .ar-nc-icon-wrap.chat_approved {
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%) !important;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3) !important;
}
.ar-nc-icon-wrap.astrologer {
    background: linear-gradient(135deg, #EC4899 0%, #BE185D 100%) !important;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3) !important;
}
.ar-nc-icon-wrap.general {
    background: linear-gradient(135deg, #64748B 0%, #475569 100%) !important;
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.3) !important;
}

/* Card Body */
.ar-nc-body {
    flex: 1 !important;
    min-width: 0 !important;
    padding-right: 48px !important;
}

.ar-nc-header-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 4px !important;
}

.ar-nc-title {
    font-size: 0.98rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}
html[data-theme="light"] .ar-nc-title {
    color: #0f172a !important;
}

.ar-nc-unread-pill {
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 2px 6px !important;
    border-radius: 6px !important;
    background: rgba(246, 183, 60, 0.2) !important;
    color: #F6B73C !important;
}
html[data-theme="light"] .ar-nc-unread-pill {
    background: rgba(201, 146, 15, 0.15) !important;
    color: #B45309 !important;
}

.ar-nc-desc {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    color: rgba(255, 255, 255, 0.72) !important;
    margin: 0 0 8px !important;
}
html[data-theme="light"] .ar-nc-desc {
    color: #475569 !important;
}

.ar-nc-footer-row {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
}

.ar-nc-time {
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.45) !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}
html[data-theme="light"] .ar-nc-time {
    color: #94a3b8 !important;
}

.ar-nc-action-link {
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    color: #F6B73C !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    transition: all 0.2s ease !important;
}
.ar-nc-action-link:hover {
    color: #fbbf24 !important;
    transform: translateX(2px) !important;
    text-decoration: none !important;
}
html[data-theme="light"] .ar-nc-action-link {
    color: #B45309 !important;
}
html[data-theme="light"] .ar-nc-action-link:hover {
    color: #78350f !important;
}

/* ✦ HOVER DELETE ICON BUTTON ✦ */
.ar-notif-delete-btn {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: rgba(239, 68, 68, 0.1) !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    color: #EF4444 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 0.85rem !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: scale(0.85) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    outline: none !important;
    z-index: 5 !important;
}

/* On hover over the notification card, reveal delete button! */
.ar-notif-card:hover .ar-notif-delete-btn {
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1) !important;
}

.ar-notif-delete-btn:hover {
    background: #EF4444 !important;
    color: #ffffff !important;
    border-color: #EF4444 !important;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.5) !important;
    transform: scale(1.1) !important;
}

/* Touch devices support */
@media (hover: none) {
    .ar-notif-delete-btn {
        opacity: 0.8 !important;
        visibility: visible !important;
        transform: scale(1) !important;
    }
}

/* Slide out animation on delete */
@keyframes arCardSlideOut {
    0% { opacity: 1; transform: translateX(0); max-height: 160px; margin-bottom: 12px; }
    50% { opacity: 0; transform: translateX(40px); max-height: 160px; margin-bottom: 12px; }
    100% { opacity: 0; transform: translateX(40px); max-height: 0; margin-bottom: 0; padding: 0; }
}

.ar-card-deleting {
    animation: arCardSlideOut 0.35s forwards cubic-bezier(0.4, 0, 0.2, 1) !important;
    pointer-events: none !important;
    overflow: hidden !important;
}

/* Slide in animation for new real-time cards */
@keyframes arCardSlideIn {
    0% { opacity: 0; transform: translateY(-20px) scale(0.96); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.ar-card-incoming {
    animation: arCardSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 0 20px rgba(246, 183, 60, 0.3) !important;
}

/* Empty State */
.ar-notif-empty-state {
    text-align: center !important;
    padding: 60px 20px !important;
    background: rgba(17, 24, 39, 0.4) !important;
    border: 1px dashed rgba(255, 255, 255, 0.12) !important;
    border-radius: 20px !important;
}
html[data-theme="light"] .ar-notif-empty-state {
    background: rgba(0, 0, 0, 0.02) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}
.ar-notif-empty-icon {
    width: 72px !important;
    height: 72px !important;
    border-radius: 50% !important;
    background: rgba(246, 183, 60, 0.1) !important;
    border: 1px solid rgba(246, 183, 60, 0.25) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.8rem !important;
    color: #F6B73C !important;
    margin-bottom: 16px !important;
}
html[data-theme="light"] .ar-notif-empty-icon {
    background: rgba(201, 146, 15, 0.1) !important;
    color: #B45309 !important;
}
.ar-notif-empty-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 6px !important;
}
html[data-theme="light"] .ar-notif-empty-title {
    color: #0f172a !important;
}
.ar-notif-empty-desc {
    font-size: 0.88rem !important;
    color: rgba(255, 255, 255, 0.55) !important;
    max-width: 360px !important;
    margin: 0 auto 20px !important;
}
html[data-theme="light"] .ar-notif-empty-desc {
    color: #64748b !important;
}

