/* ==========================================================
   Revenza Hub - Light Theme Dashboard & Responsive Styles
   ========================================================== */

:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --border-subtle: #e2e8f0;
    --border-medium: #cbd5e1;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
}

/* Light Smooth Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Base Body Styles */
body {
    background-color: #f8fafc;
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Modern Card Glow & Hover */
.stat-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
}

/* Responsive Table Container with Smooth Scrolling */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Light Theme Status Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.025em;
    white-space: nowrap;
}
.badge-active, .badge-approved, .badge-completed, .badge-paid, .badge-converted {
    background-color: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}
.badge-pending, .badge-assigned, .badge-under_review, .badge-requested, .badge-in_progress, .badge-processing {
    background-color: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}
.badge-rejected, .badge-failed, .badge-blocked, .badge-suspended, .badge-invalid {
    background-color: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}
.badge-resubmission_required, .badge-contacted, .badge-follow_up {
    background-color: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}
.badge-pro {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #78350f;
    border: 1px solid #fcd34d;
    box-shadow: 0 1px 2px rgba(245, 158, 11, 0.15);
}

/* ==========================================================
   Button Text & Layout Safeguards (Prevents Awkward Wrapping)
   ========================================================== */
.btn-nowrap,
button,
a.btn,
.btn {
    white-space: nowrap;
}

/* Ensure flex containers for buttons align items tightly */
.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-weight: 600;
    padding: 0.45rem 0.85rem;
    border-radius: 0.65rem;
    font-size: 0.8125rem;
    line-height: 1.25rem;
    transition: all 0.15s ease-in-out;
}
@media (max-width: 640px) {
    .btn-action {
        padding: 0.4rem 0.7rem;
        font-size: 0.75rem;
    }
}

/* Responsive Heading Safeguards */
.page-title {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #0f172a;
}
@media (min-width: 640px) {
    .page-title {
        font-size: 1.5rem;
        line-height: 2rem;
    }
}
@media (min-width: 1024px) {
    .page-title {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
    animation: fadeIn 0.25s ease-out forwards;
}

/* Sidebar Drawer & Independent Navigation Scroll */
@media (max-width: 1023px) {
    .sidebar-drawer {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        height: 100%;
        height: 100dvh;
        max-height: 100dvh;
        z-index: 50;
        width: 18rem;
        max-width: 85vw;
        background-color: #ffffff;
        border-right: 1px solid #e2e8f0;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        overscroll-behavior: contain;
    }
    .sidebar-drawer.open {
        transform: translateX(0);
    }
    .sidebar-backdrop {
        position: fixed;
        inset: 0;
        z-index: 40;
        background-color: rgba(15, 23, 42, 0.45);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }
}

@media (min-width: 1024px) {
    .sidebar-drawer {
        position: sticky !important;
        top: 0 !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-height: 100vh !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        transform: none !important;
        flex-shrink: 0 !important;
        overscroll-behavior: contain !important;
        align-self: flex-start !important;
    }
}

.sidebar-nav {
    flex: 1 1 0% !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Mobile Table Cards Utility */
@media (max-width: 767px) {
    .mobile-card-row {
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 1rem;
        padding: 1rem;
        margin-bottom: 0.75rem;
        box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    }
    .mobile-card-row:hover {
        border-color: #cbd5e1;
    }
}

/* ==========================================================
   Smooth Tab Switching & Content Transitions
   ========================================================== */
@keyframes tabFadeIn {
    0% {
        opacity: 0;
        transform: translateY(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-tab-fade,
.tab-content-smooth {
    animation: tabFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: opacity, transform;
}

.tab-nav-btn {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    user-select: none;
}

.tab-nav-btn:hover {
    transform: translateY(-1px);
}

.tab-nav-btn:active {
    transform: translateY(0px) scale(0.98);
}

/* ==========================================================
   Large Number / Currency Auto-Scaling Utilities
   ========================================================== */
.stat-currency-value {
    font-size: clamp(1.2rem, 2.2vw, 1.85rem);
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.02em;
    max-width: 100%;
    display: inline-block;
}

@media (min-width: 641px) {
    .stat-currency-value {
        font-size: clamp(1.2rem, 1.6vw, 1.65rem);
        line-height: 1.2;
        overflow: visible;
        text-overflow: clip;
    }
}

@media (max-width: 640px) {
    .stat-currency-value {
        font-size: clamp(1.1rem, 4.8vw, 1.65rem);
    }
}

/* ==========================================================
   Mobile-Friendly Modal Dialog Container
   ========================================================== */
.modal-overlay-scrollable {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.75rem;
    background-color: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-dialog-scrollable {
    max-height: calc(100vh - 1.5rem);
    max-height: calc(100dvh - 1.5rem);
    display: flex;
    flex-direction: column;
    margin: auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.modal-body-scrollable {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 1.25rem 1.5rem;
}

/* ==========================================================
   Ultra-Attractive Vibrant Gradient Cards & Glowing Badges
   ========================================================== */
.card-gradient-blue {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.28), 0 8px 10px -6px rgba(37, 99, 235, 0.15);
}

.card-gradient-emerald {
    background: linear-gradient(135deg, #065f46 0%, #059669 50%, #10b981 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.28), 0 8px 10px -6px rgba(16, 185, 129, 0.15);
}

.card-gradient-purple {
    background: linear-gradient(135deg, #581c87 0%, #7c3aed 50%, #8b5cf6 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.28), 0 8px 10px -6px rgba(139, 92, 246, 0.15);
}

.card-gradient-amber {
    background: linear-gradient(135deg, #92400e 0%, #d97706 50%, #f59e0b 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.28), 0 8px 10px -6px rgba(245, 158, 11, 0.15);
}

.card-gradient-rose {
    background: linear-gradient(135deg, #9f1239 0%, #e11d48 50%, #f43f5e 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px -5px rgba(244, 63, 94, 0.28), 0 8px 10px -6px rgba(244, 63, 94, 0.15);
}

.card-gradient-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.06);
}

/* Verified Member Badge */
.badge-verified-member {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.65rem;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #10b981;
    color: #065f46;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
    animation: pulse-soft 2.5s infinite;
}

@keyframes pulse-soft {
    0%, 100% { box-shadow: 0 0 8px rgba(16, 185, 129, 0.25); }
    50% { box-shadow: 0 0 16px rgba(16, 185, 129, 0.45); }
}

/* Shimmer & Animated Progress Bars */
.progress-bar-container {
    height: 0.75rem;
    background: #e2e8f0;
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 9999px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* ==========================================================
   Performance Tasks Progress Bars: Solid Single-Colour,
   Pulsing Glow & Shiny Sheen Sweep Effects
   ========================================================== */

/* 1. Track Containers - Same Theme Colors, Solid & Non-transparent */
.progress-track-amber {
    height: 0.85rem !important;
    border-radius: 9999px !important;
    background-color: #fef3c7 !important;
    border: 1.5px solid #fcd34d !important;
    overflow: hidden !important;
    position: relative !important;
    box-shadow: inset 0 1px 3px rgba(180, 83, 9, 0.12) !important;
}
.dark .progress-track-amber {
    background-color: #241404 !important;
    border-color: rgba(245, 158, 11, 0.6) !important;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6) !important;
}

.progress-track-pink {
    height: 0.85rem !important;
    border-radius: 9999px !important;
    background-color: #fce7f3 !important;
    border: 1.5px solid #f472b6 !important;
    overflow: hidden !important;
    position: relative !important;
    box-shadow: inset 0 1px 3px rgba(190, 18, 60, 0.12) !important;
}
.dark .progress-track-pink {
    background-color: #2b0819 !important;
    border-color: rgba(236, 72, 153, 0.6) !important;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6) !important;
}

.progress-track-emerald {
    height: 0.85rem !important;
    border-radius: 9999px !important;
    background-color: #d1fae5 !important;
    border: 1.5px solid #34d399 !important;
    overflow: hidden !important;
    position: relative !important;
    box-shadow: inset 0 1px 3px rgba(4, 120, 87, 0.12) !important;
}
.dark .progress-track-emerald {
    background-color: #052419 !important;
    border-color: rgba(16, 185, 129, 0.6) !important;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6) !important;
}

.progress-track-blue {
    height: 0.85rem !important;
    border-radius: 9999px !important;
    background-color: #dbeafe !important;
    border: 1.5px solid #60a5fa !important;
    overflow: hidden !important;
    position: relative !important;
    box-shadow: inset 0 1px 3px rgba(29, 78, 216, 0.12) !important;
}
.dark .progress-track-blue {
    background-color: #0c1a3b !important;
    border-color: rgba(59, 130, 246, 0.6) !important;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6) !important;
}

/* 2. Shiny Sheen Sweep Animation (Left-to-Right Gloss Beam) */
@keyframes progress-shiny-sweep {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes progress-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-bar-shimmer,
.progress-bar-shiny,
.progress-bar-animated-amber,
.progress-bar-animated-pink,
.progress-bar-animated-emerald,
.progress-bar-animated-blue {
    position: relative !important;
    overflow: hidden !important;
}

.progress-bar-shimmer::after,
.progress-bar-shiny::after,
.progress-bar-animated-amber::after,
.progress-bar-animated-pink::after,
.progress-bar-animated-emerald::after,
.progress-bar-animated-blue::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0) 100%
    ) !important;
    transform: translateX(-100%) !important;
    animation: progress-shiny-sweep 2s infinite linear !important;
    pointer-events: none !important;
}

/* 3. Pulsing Glow Animations (Breathing Luminescence & Aura) */
@keyframes progress-pulse-amber {
    0%, 100% {
        box-shadow: 0 0 6px rgba(245, 158, 11, 0.45);
        filter: brightness(0.96);
        opacity: 0.92;
    }
    50% {
        box-shadow: 0 0 18px rgba(245, 158, 11, 0.95);
        filter: brightness(1.22);
        opacity: 1;
    }
}

@keyframes progress-pulse-pink {
    0%, 100% {
        box-shadow: 0 0 6px rgba(236, 72, 153, 0.45);
        filter: brightness(0.96);
        opacity: 0.92;
    }
    50% {
        box-shadow: 0 0 18px rgba(236, 72, 153, 0.95);
        filter: brightness(1.22);
        opacity: 1;
    }
}

@keyframes progress-pulse-emerald {
    0%, 100% {
        box-shadow: 0 0 6px rgba(16, 185, 129, 0.45);
        filter: brightness(0.96);
        opacity: 0.92;
    }
    50% {
        box-shadow: 0 0 18px rgba(16, 185, 129, 0.95);
        filter: brightness(1.22);
        opacity: 1;
    }
}

@keyframes progress-pulse-blue {
    0%, 100% {
        box-shadow: 0 0 6px rgba(37, 99, 235, 0.45);
        filter: brightness(0.96);
        opacity: 0.92;
    }
    50% {
        box-shadow: 0 0 18px rgba(37, 99, 235, 0.95);
        filter: brightness(1.22);
        opacity: 1;
    }
}

/* 4. Solid Single-Colour Progress Bars - NO Gradients on Bar Surface */
.progress-bar-animated-amber {
    height: 100% !important;
    border-radius: 9999px !important;
    background: #f59e0b !important;
    background-color: #f59e0b !important;
    background-image: none !important;
    animation: progress-pulse-amber 2s ease-in-out infinite !important;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.progress-bar-animated-pink {
    height: 100% !important;
    border-radius: 9999px !important;
    background: #ec4899 !important;
    background-color: #ec4899 !important;
    background-image: none !important;
    animation: progress-pulse-pink 2s ease-in-out infinite !important;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.progress-bar-animated-emerald {
    height: 100% !important;
    border-radius: 9999px !important;
    background: #10b981 !important;
    background-color: #10b981 !important;
    background-image: none !important;
    animation: progress-pulse-emerald 2s ease-in-out infinite !important;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.progress-bar-animated-blue {
    height: 100% !important;
    border-radius: 9999px !important;
    background: #2563eb !important;
    background-color: #2563eb !important;
    background-image: none !important;
    animation: progress-pulse-blue 2s ease-in-out infinite !important;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* 3. Performance Task Icon Badges - Same Theme Color, Vivid & Ultra-Bright */
.task-icon-badge-amber {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #d97706 100%) !important;
    border: 2px solid #fde047 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5) !important;
}

.task-icon-badge-pink {
    background: linear-gradient(135deg, #ec4899 0%, #f43f5e 50%, #be123c 100%) !important;
    border: 2px solid #fbcfe8 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.5) !important;
}

.task-icon-badge-emerald {
    background: linear-gradient(135deg, #059669 0%, #10b981 50%, #047857 100%) !important;
    border: 2px solid #a7f3d0 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5) !important;
}

.task-icon-badge-blue {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #1d4ed8 100%) !important;
    border: 2px solid #bae6fd !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5) !important;
}

/* News Marquee / Ticker */
.marquee-wrapper {
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
    white-space: nowrap;
    animation: marquee-scroll 25s linear infinite;
}

.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

/* Filter Pills Scrollable Container */
.filter-pills-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
}
.filter-pills-row::-webkit-scrollbar {
    display: none;
}

.filter-pill {
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
}
.filter-pill:hover {
    background: #f8fafc;
    color: #0f172a;
    border-color: #cbd5e1;
}
.filter-pill.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* Read Conditions Notice Banner */
.notice-conditions-banner {
    background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
    border: 1.5px solid #f43f5e;
    border-radius: 1.25rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(244, 63, 94, 0.12);
}

/* Top Achievers Podium - Light Color Gradients with Metallic Borders */
.podium-rank-1, .metallic-gold {
    background: linear-gradient(145deg, #fffef5 0%, #fef8dd 55%, #fffdf0 100%);
    border: 2.5px solid #eab308;
    box-shadow: 0 12px 32px -4px rgba(234, 179, 8, 0.22), 0 0 0 1px rgba(253, 224, 71, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.95);
}

.podium-rank-2, .metallic-silver {
    background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 55%, #f8fafc 100%);
    border: 2.5px solid #94a3b8;
    box-shadow: 0 12px 32px -4px rgba(148, 163, 184, 0.22), 0 0 0 1px rgba(203, 213, 225, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.95);
}

.podium-rank-3, .metallic-bronze {
    background: linear-gradient(145deg, #fffbf5 0%, #ffedd5 55%, #fff7ed 100%);
    border: 2.5px solid #d97706;
    box-shadow: 0 12px 32px -4px rgba(217, 119, 6, 0.22), 0 0 0 1px rgba(251, 146, 60, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.95);
}

/* ==========================================================
   Announcement Card Slider with Manual Left/Right Controls
   ========================================================== */
.announcement-slider-viewport {
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    scroll-snap-type: x mandatory;
}
.announcement-slider-viewport::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}
.announcement-slider-track {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}
.announcement-card-item {
    scroll-snap-align: start;
    flex: 0 0 100%;
}
@media (min-width: 640px) {
    .announcement-card-item {
        flex: 0 0 calc(50% - 0.375rem);
    }
}
@media (min-width: 1024px) {
    .announcement-card-item {
        flex: 0 0 calc(33.333% - 0.5rem);
    }
}

/* ==========================================================
   Horizontal Slidable Cards Utility (Get Task, Submissions)
   ========================================================== */
.card-slider-horizontal {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
}
.card-slider-horizontal::-webkit-scrollbar {
    display: none;
}
.card-slide-item {
    scroll-snap-align: start;
    flex: 0 0 280px;
}
@media (max-width: 640px) {
    .card-slide-item {
        flex: 0 0 85%;
    }
}

/* ==========================================================
   Mobile Balance Cards (3 Columns Compact Tile Grid)
   ========================================================== */
.mobile-balance-tile {
    padding: 0.75rem 0.5rem;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease;
}
@media (max-width: 639px) {
    .mobile-balance-tile .tile-title {
        font-size: 0.65rem;
        line-height: 1;
        letter-spacing: 0.025em;
        font-weight: 800;
        text-transform: uppercase;
        margin-bottom: 0.25rem;
    }
    .mobile-balance-tile .tile-amount {
        font-size: clamp(0.75rem, 3.4vw, 1rem);
        font-weight: 900;
        line-height: 1.2;
        letter-spacing: -0.025em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .mobile-balance-tile .tile-sub {
        font-size: 0.6rem;
        margin-top: 0.25rem;
        line-height: 1;
        opacity: 0.85;
    }
    .mobile-balance-tile .tile-icon {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.7rem;
        border-radius: 0.5rem;
    }
}

/* ==========================================================
   Interactive Animation & Visual Shine Effects
   ========================================================== */
@keyframes iconBounceSoft {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-4px) rotate(4deg); }
}
.icon-bounce-soft {
    animation: iconBounceSoft 3s ease-in-out infinite;
}

@keyframes pulseGlowRing {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(236, 72, 153, 0);
    }
}
.icon-pulse-glow {
    animation: pulseGlowRing 2.2s infinite;
}

/* Copy Button Click Animation State */
.btn-copy-success {
    background-color: #059669 !important;
    color: #ffffff !important;
    border-color: #10b981 !important;
    transform: scale(0.97);
}

/* Card Subtle Sheen Hover */
.card-premium-sheen {
    position: relative;
    overflow: hidden;
}
.card-premium-sheen::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, transparent 30%, rgba(255, 255, 255, 0.15) 50%, transparent 70%);
    transform: rotate(25deg) translateY(-100%);
    transition: transform 0.6s ease;
    pointer-events: none;
}
.card-premium-sheen:hover::before {
    transform: rotate(25deg) translateY(100%);
}

/* ==========================================================
   Coloured Neural Network Canvas Background
   Vivid, glowing nodes & synaptic signals (cyan, violet, magenta, amber, emerald)
   ========================================================== */
#theme-particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    opacity: 0.58;
    transition: opacity 0.5s ease;
}
html:not(.dark) #theme-particles-canvas {
    opacity: 0.22;
}

/* ==========================================================
   Revenza Hub - Violet Dark Mode System
   Palette: Deep Midnight Violet (#0b0818, #120d26, #181135)
   Default mode for Customer Affiliate Portal
   ========================================================== */
.dark,
.dark body {
    background-color: #0b0818 !important;
    background-image: 
        radial-gradient(circle at 12% 12%, rgba(139, 92, 246, 0.09) 0%, transparent 42%),
        radial-gradient(circle at 88% 88%, rgba(124, 58, 237, 0.07) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, #0d0a1f 0%, #080612 100%) !important;
    background-attachment: fixed !important;
    color: #f1f0fb !important;
}

/* Header Navbar in Dark Mode */
.dark header {
    background-color: rgba(14, 10, 29, 0.94) !important;
    border-bottom-color: #271c49 !important;
}

/* Customer Sidebar in Dark Mode */
.dark aside {
    background-color: #0d091d !important;
    border-right-color: #251b47 !important;
}

/* Standard Surfaces & Panels in Dark Mode */
.dark .bg-white {
    background-color: #140f2b !important;
    border-color: #281d50 !important;
    color: #f1f0fb !important;
}

.dark .bg-slate-50 {
    background-color: #100c23 !important;
    border-color: #221844 !important;
}

.dark .bg-slate-100 {
    background-color: #191336 !important;
    border-color: #2c1f58 !important;
}

.dark .bg-slate-200 {
    background-color: #231b4b !important;
    border-color: #382970 !important;
}

.dark .border-slate-100 {
    border-color: #1f173f !important;
}

.dark .border-slate-200,
.dark .border-slate-200\/80,
.dark .border-slate-200\/90 {
    border-color: #2a1f54 !important;
}

.dark .border-slate-300 {
    border-color: #3a2b72 !important;
}

.dark .divide-slate-100 > :not([hidden]) ~ :not([hidden]) {
    border-color: #1f173f !important;
}

.dark .divide-slate-200 > :not([hidden]) ~ :not([hidden]) {
    border-color: #2a1f54 !important;
}

/* Typography Overrides */
.dark .text-slate-900,
.dark .text-slate-800 {
    color: #f8fafc !important;
}

.dark .text-slate-700 {
    color: #cbd5e1 !important;
}

.dark .text-slate-600 {
    color: #94a3b8 !important;
}

.dark .text-slate-500 {
    color: #8b82af !important;
}

.dark .text-slate-400 {
    color: #6b638e !important;
}

/* Interactive Inputs & Selects */
.dark input:not([type="checkbox"]):not([type="radio"]),
.dark select,
.dark textarea {
    background-color: #181235 !important;
    border-color: #32255f !important;
    color: #f8fafc !important;
}

.dark input:focus,
.dark select:focus,
.dark textarea:focus {
    background-color: #1f1742 !important;
    border-color: #8b5cf6 !important;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25) !important;
}

.dark input::placeholder,
.dark textarea::placeholder {
    color: #6d6494 !important;
}

/* Table Headers & Rows */
.dark table thead th {
    background-color: #110d26 !important;
    color: #c4b5fd !important;
    border-bottom-color: #271c4e !important;
}

.dark table tbody tr:hover {
    background-color: rgba(139, 92, 246, 0.08) !important;
}

.dark table td {
    border-bottom-color: #1d153a !important;
}

/* Modals & Dialogs */
.dark .modal-dialog-scrollable {
    background-color: #140f2b !important;
    border: 1px solid #3d2c77 !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7) !important;
}

.dark .modal-dialog-scrollable .bg-slate-50 {
    background-color: #100c23 !important;
    border-color: #281d50 !important;
}

/* Badges & Status Pills in Dark Mode */
.dark .badge-active,
.dark .badge-approved,
.dark .badge-completed,
.dark .badge-paid,
.dark .badge-converted {
    background-color: rgba(16, 185, 129, 0.15) !important;
    color: #34d399 !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
}

.dark .badge-pending,
.dark .badge-assigned,
.dark .badge-under_review,
.dark .badge-requested,
.dark .badge-in_progress,
.dark .badge-processing {
    background-color: rgba(245, 158, 11, 0.15) !important;
    color: #fbbf24 !important;
    border-color: rgba(245, 158, 11, 0.3) !important;
}

.dark .badge-rejected,
.dark .badge-failed,
.dark .badge-blocked,
.dark .badge-suspended,
.dark .badge-invalid {
    background-color: rgba(244, 63, 94, 0.15) !important;
    color: #fb7185 !important;
    border-color: rgba(244, 63, 94, 0.3) !important;
}

.dark .badge-resubmission_required,
.dark .badge-contacted,
.dark .badge-follow_up {
    background-color: rgba(99, 102, 241, 0.15) !important;
    color: #818cf8 !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
}

/* Top Profile Greeting Card in Dark Mode: Regal Deep Purple with Radiant Bright Violet Border */
.dark .dashboard-profile-card,
.dark .bg-gradient-to-br.from-amber-100\/95 {
    background: linear-gradient(135deg, #2b0b57 0%, #190634 50%, #26094e 100%) !important;
    border: 2.5px solid #c084fc !important; /* Brighter electric violet border */
    box-shadow: 0 12px 35px -5px rgba(192, 132, 252, 0.45), 0 0 25px rgba(192, 132, 252, 0.25) !important;
}

/* Ambient glowing orbs inside purple card */
.dark .dashboard-profile-card .blur-3xl {
    background: rgba(168, 85, 247, 0.25) !important;
    display: block !important;
}
.dark .dashboard-profile-card .blur-2xl {
    background: rgba(192, 132, 252, 0.2) !important;
    display: block !important;
}

/* Ensure crisp high-contrast bright text inside purple card in dark mode */
.dark .dashboard-profile-card h1,
.dark .from-amber-100\/95 h1,
.dark .from-amber-100\/95 .text-slate-900 {
    color: #ffffff !important; /* Crisp pure white */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

.dark .dashboard-profile-card .text-slate-700,
.dark .dashboard-profile-card .text-slate-800,
.dark .from-amber-100\/95 .text-slate-700 {
    color: #e9d5ff !important; /* Luminous soft lavender */
}

.dark .dashboard-profile-card .text-slate-500,
.dark .from-amber-100\/95 .text-slate-500 {
    color: #d8b4fe !important; /* Bright violet-lavender */
}

.dark .dashboard-profile-card .text-slate-400 {
    color: #c084fc !important; /* Bright purple bullet */
}

.dark .dashboard-profile-card .text-slate-950,
.dark .from-amber-100\/95 .text-slate-950 {
    color: #ffffff !important;
}

.dark .dashboard-profile-card .tagline-strip {
    border-color: rgba(192, 132, 252, 0.25) !important;
    color: #e9d5ff !important;
}

/* Date Badge inside Dashboard Profile Card: Light Purple Glass Surface + Radiant Purple Border */
.dashboard-date-badge {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.28) 0%, rgba(139, 92, 246, 0.18) 100%) !important;
    background-color: #3b166d !important;
    backdrop-filter: blur(8px) !important;
    border: 2px solid #c084fc !important; /* Brighter electric purple border, NO yellow */
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25) !important;
}
.dashboard-date-badge i,
.dashboard-date-badge svg {
    color: #e9d5ff !important; /* Soft bright lilac calendar icon */
}
.dashboard-date-badge span {
    color: #ffffff !important; /* Bright Crisp White Date */
    font-weight: 900 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

/* Identifier Mini-Cards (Process ID & Sponsor ID) inside Dashboard Profile Card */
.dashboard-id-card {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.28) 0%, rgba(139, 92, 246, 0.18) 100%) !important;
    background-color: #3b166d !important;
    backdrop-filter: blur(8px) !important;
    border: 2px solid #c084fc !important; /* Brighter electric purple border, NO yellow */
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.15) !important;
}

.dashboard-id-card .id-card-label {
    color: #e9d5ff !important; /* Soft bright lilac label */
    font-weight: 900 !important;
    letter-spacing: 0.07em !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

.dashboard-id-card .id-card-value {
    color: #ffffff !important; /* Ultra-Bright Pure White Value */
    font-weight: 900 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6) !important;
}

.dashboard-id-card .id-card-copy {
    color: #c084fc !important; /* Bright Purple Copy Icon */
    transition: transform 0.15s ease, color 0.15s ease;
}
.dashboard-id-card .id-card-copy:hover {
    color: #ffffff !important;
    transform: scale(1.2);
}

/* ==========================================================
   Comprehensive Dark Mode Surface & Contrast Harmonization
   Eliminates blinding white/silver cards and ensures 100% legibility
   ========================================================== */

/* 1. Dark Mode Metallic Podium Cards (Rank 1 Gold, Rank 2 Silver, Rank 3 Bronze) */
.dark .podium-rank-1,
.dark .metallic-gold {
    background: linear-gradient(145deg, #1d1607 0%, #2e220a 55%, #181104 100%) !important;
    border: 2.5px solid #eab308 !important;
    box-shadow: 0 12px 32px -4px rgba(234, 179, 8, 0.35), inset 0 1px 2px rgba(234, 179, 8, 0.25) !important;
    color: #f8fafc !important;
}

.dark .podium-rank-2,
.dark .metallic-silver {
    background: linear-gradient(145deg, #151726 0%, #22263d 55%, #11121d 100%) !important;
    border: 2.5px solid #94a3b8 !important;
    box-shadow: 0 12px 32px -4px rgba(148, 163, 184, 0.35), inset 0 1px 2px rgba(148, 163, 184, 0.25) !important;
    color: #f8fafc !important;
}

.dark .podium-rank-3,
.dark .metallic-bronze {
    background: linear-gradient(145deg, #22120a 0%, #361c0e 55%, #190c05 100%) !important;
    border: 2.5px solid #d97706 !important;
    box-shadow: 0 12px 32px -4px rgba(217, 119, 6, 0.35), inset 0 1px 2px rgba(217, 119, 6, 0.25) !important;
    color: #f8fafc !important;
}

.dark .podium-rank-1 .text-amber-950,
.dark .podium-rank-1 .text-amber-900,
.dark .podium-rank-1 .text-amber-800 {
    color: #fde047 !important;
}

.dark .podium-rank-2 .text-slate-900,
.dark .podium-rank-2 .text-slate-800,
.dark .podium-rank-2 .text-slate-600 {
    color: #f1f5f9 !important;
}

.dark .podium-rank-3 .text-amber-950,
.dark .podium-rank-3 .text-amber-900,
.dark .podium-rank-3 .text-amber-800 {
    color: #fdba74 !important;
}

/* 2. Neutralize White/Silver Floating Cards Outside Dashboard Profile Card */
.dark :not(.dashboard-profile-card) > .bg-white\/95,
.dark :not(.dashboard-profile-card) .bg-white\/95,
.dark :not(.dashboard-profile-card) > .bg-white\/90,
.dark :not(.dashboard-profile-card) .bg-white\/90,
.dark :not(.dashboard-profile-card) > .bg-white\/80,
.dark :not(.dashboard-profile-card) .bg-white\/80 {
    background-color: #171133 !important;
    border-color: #2e215e !important;
    color: #f8fafc !important;
}

/* 3. Global Tailwind Gradient Overrides (Converts Pale Gradients into Obsidian Jewel Tones) */
.dark [class*="from-white"] {
    --tw-gradient-from: #151726 var(--tw-gradient-from-position, ) !important;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}
.dark [class*="to-white"] {
    --tw-gradient-to: #140f2b var(--tw-gradient-to-position, ) !important;
}
.dark [class*="via-white"] {
    --tw-gradient-stops: var(--tw-gradient-from), #171135 var(--tw-gradient-via-position, ), var(--tw-gradient-to) !important;
}
.dark [class*="to-slate-50"] {
    --tw-gradient-to: #110d26 var(--tw-gradient-to-position, ) !important;
}
.dark [class*="from-blue-50"]:not([class*="from-blue-500"]) {
    --tw-gradient-from: rgba(30, 58, 138, 0.35) var(--tw-gradient-from-position, ) !important;
}
.dark [class*="from-emerald-50"]:not([class*="from-emerald-500"]) {
    --tw-gradient-from: rgba(6, 78, 59, 0.35) var(--tw-gradient-from-position, ) !important;
}
.dark [class*="from-purple-50"]:not([class*="from-purple-500"]) {
    --tw-gradient-from: rgba(88, 28, 135, 0.4) var(--tw-gradient-from-position, ) !important;
}
.dark [class*="from-amber-50"]:not([class*="from-amber-500"]):not(.dashboard-profile-card) {
    --tw-gradient-from: rgba(120, 53, 15, 0.35) var(--tw-gradient-from-position, ) !important;
}
.dark [class*="from-indigo-50"]:not([class*="from-indigo-500"]) {
    --tw-gradient-from: rgba(49, 46, 129, 0.35) var(--tw-gradient-from-position, ) !important;
}
.dark [class*="from-rose-50"]:not([class*="from-rose-500"]), 
.dark [class*="from-pink-50"]:not([class*="from-pink-500"]), 
.dark [class*="from-red-50"]:not([class*="from-red-500"]) {
    --tw-gradient-from: rgba(159, 18, 57, 0.35) var(--tw-gradient-from-position, ) !important;
}
.dark [class*="from-slate-50"], .dark [class*="from-slate-100"] {
    --tw-gradient-from: #191238 var(--tw-gradient-from-position, ) !important;
}
.dark [class*="via-blue-50"]:not([class*="via-blue-500"]) {
    --tw-gradient-stops: var(--tw-gradient-from), rgba(30, 58, 138, 0.22) var(--tw-gradient-via-position, ), var(--tw-gradient-to) !important;
}
.dark [class*="via-emerald-50"]:not([class*="via-emerald-500"]), 
.dark [class*="via-teal-50"]:not([class*="via-teal-500"]), 
.dark [class*="via-green-50"]:not([class*="via-green-500"]) {
    --tw-gradient-stops: var(--tw-gradient-from), rgba(6, 78, 59, 0.22) var(--tw-gradient-via-position, ), var(--tw-gradient-to) !important;
}
.dark [class*="via-indigo-50"]:not([class*="via-indigo-500"]) {
    --tw-gradient-stops: var(--tw-gradient-from), rgba(49, 46, 129, 0.22) var(--tw-gradient-via-position, ), var(--tw-gradient-to) !important;
}
.dark [class*="via-yellow-50"]:not([class*="via-yellow-500"]), 
.dark [class*="via-amber-50"]:not([class*="via-amber-500"]) {
    --tw-gradient-stops: var(--tw-gradient-from), rgba(120, 53, 15, 0.22) var(--tw-gradient-via-position, ), var(--tw-gradient-to) !important;
}
.dark [class*="via-slate-50"] {
    --tw-gradient-stops: var(--tw-gradient-from), #161131 var(--tw-gradient-via-position, ), var(--tw-gradient-to) !important;
}
.dark [class*="via-pink-50"], .dark [class*="via-rose-50"] {
    --tw-gradient-stops: var(--tw-gradient-from), rgba(159, 18, 57, 0.22) var(--tw-gradient-via-position, ), var(--tw-gradient-to) !important;
}

/* 4. Pastel Background Classes (Badges, Alerts, Chips, Inner Sections) */
.dark .bg-blue-50,
.dark .bg-blue-100,
.dark .bg-sky-50,
.dark .bg-sky-100 {
    background-color: rgba(30, 58, 138, 0.28) !important;
    border-color: rgba(59, 130, 246, 0.4) !important;
    color: #93c5fd !important;
}

.dark .bg-emerald-50,
.dark .bg-emerald-100,
.dark .bg-green-50,
.dark .bg-green-100,
.dark .bg-teal-50,
.dark .bg-teal-100 {
    background-color: rgba(6, 78, 59, 0.28) !important;
    border-color: rgba(16, 185, 129, 0.4) !important;
    color: #6ee7b7 !important;
}

.dark .bg-purple-50,
.dark .bg-purple-100,
.dark .bg-violet-50,
.dark .bg-violet-100 {
    background-color: rgba(88, 28, 135, 0.3) !important;
    border-color: rgba(139, 92, 246, 0.45) !important;
    color: #d8b4fe !important;
}

.dark .bg-amber-50,
.dark .bg-amber-100,
.dark .bg-yellow-50,
.dark .bg-yellow-100 {
    background-color: rgba(120, 53, 15, 0.28) !important;
    border-color: rgba(245, 158, 11, 0.4) !important;
    color: #fde047 !important;
}

.dark .bg-rose-50,
.dark .bg-rose-100,
.dark .bg-pink-50,
.dark .bg-pink-100,
.dark .bg-red-50,
.dark .bg-red-100 {
    background-color: rgba(159, 18, 57, 0.28) !important;
    border-color: rgba(244, 63, 94, 0.4) !important;
    color: #fda4af !important;
}

.dark .bg-indigo-50,
.dark .bg-indigo-100 {
    background-color: rgba(49, 46, 129, 0.28) !important;
    border-color: rgba(99, 102, 241, 0.4) !important;
    color: #a5b4fc !important;
}

/* 5. Contrast Text Rules: Light text on Dark Surfaces, Dark text on Light Surfaces */
.dark .text-amber-950,
.dark .text-amber-900,
.dark .text-amber-800,
.dark .text-yellow-950,
.dark .text-yellow-900,
.dark .text-yellow-800 {
    color: #fde047 !important;
}

.dark .text-blue-950,
.dark .text-blue-900,
.dark .text-blue-800 {
    color: #93c5fd !important;
}

.dark .text-emerald-950,
.dark .text-emerald-900,
.dark .text-emerald-800,
.dark .text-green-950,
.dark .text-green-900,
.dark .text-green-800,
.dark .text-teal-950,
.dark .text-teal-900,
.dark .text-teal-800 {
    color: #6ee7b7 !important;
}

.dark .text-purple-950,
.dark .text-purple-900,
.dark .text-purple-800,
.dark .text-violet-950,
.dark .text-violet-900,
.dark .text-violet-800 {
    color: #d8b4fe !important;
}

.dark .text-rose-950,
.dark .text-rose-900,
.dark .text-rose-800,
.dark .text-pink-950,
.dark .text-pink-900,
.dark .text-pink-800,
.dark .text-red-950,
.dark .text-red-900,
.dark .text-red-800 {
    color: #fda4af !important;
}

.dark .text-indigo-950,
.dark .text-indigo-900,
.dark .text-indigo-800 {
    color: #a5b4fc !important;
}

/* Light Background Exceptions: When background is vibrant yellow/amber, keep text dark */
.dark .bg-amber-400,
.dark .bg-amber-500,
.dark .bg-yellow-400,
.dark .bg-yellow-500 {
    color: #020617 !important;
}
.dark .bg-amber-400 *,
.dark .bg-amber-500 *,
.dark .bg-yellow-400 *,
.dark .bg-yellow-500 * {
    color: inherit !important;
}

/* 6. Reports Announcements Card, Filter Pills, and Notice Banners */
.dark .announcement-card-item {
    background-color: #1a1339 !important;
    border-color: rgba(245, 158, 11, 0.35) !important;
    color: #f8fafc !important;
}
.dark .announcement-card-item h4 {
    color: #f8fafc !important;
}
.dark .announcement-card-item p {
    color: #cbd5e1 !important;
}

.dark .filter-pill {
    background-color: #161131 !important;
    color: #cbd5e1 !important;
    border-color: #2e225c !important;
}
.dark .filter-pill:hover {
    background-color: #211947 !important;
    color: #f8fafc !important;
    border-color: #4a378e !important;
}
.dark .filter-pill.active {
    background-color: #7c3aed !important;
    color: #ffffff !important;
    border-color: #8b5cf6 !important;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4) !important;
}

.dark .notice-conditions-banner {
    background: linear-gradient(135deg, rgba(159, 18, 57, 0.25) 0%, #170f2b 100%) !important;
    border-color: #e11d48 !important;
    color: #fecdd3 !important;
}

/* 7. Dark Mode Borders */
.dark .border-amber-200,
.dark .border-amber-300,
.dark .border-yellow-200,
.dark .border-yellow-300 {
    border-color: rgba(245, 158, 11, 0.4) !important;
}
.dark .border-blue-200,
.dark .border-blue-300 {
    border-color: rgba(59, 130, 246, 0.4) !important;
}
.dark .border-emerald-200,
.dark .border-emerald-300 {
    border-color: rgba(16, 185, 129, 0.4) !important;
}
.dark .border-purple-200,
.dark .border-purple-300 {
    border-color: rgba(139, 92, 246, 0.45) !important;
}
.dark .border-indigo-200,
.dark .border-indigo-300 {
    border-color: rgba(99, 102, 241, 0.4) !important;
}
.dark .border-rose-200,
.dark .border-rose-300,
.dark .border-pink-200,
.dark .border-pink-300 {
    border-color: rgba(244, 63, 94, 0.4) !important;
}
.dark .border-slate-900,
.dark .border-slate-800 {
    border-color: #3b2c75 !important;
}

/* Stat Cards & Quick Links Hover */
.dark .stat-card:hover {
    box-shadow: 0 12px 28px -5px rgba(139, 92, 246, 0.18), 0 8px 10px -6px rgba(0, 0, 0, 0.5) !important;
}

/* Scrollbar in Dark Mode */
.dark ::-webkit-scrollbar-track {
    background: #0d091d !important;
}
.dark ::-webkit-scrollbar-thumb {
    background: #2f235b !important;
    border-radius: 4px;
}
.dark ::-webkit-scrollbar-thumb:hover {
    background: #4a378e !important;
}



