/* ========================================
   ECCO DASHBOARD STYLES
   ======================================== */

/* ----------------------------------------
   FONT IMPORTS
   ---------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Readex+Pro:wght@400;500;600;700&family=Quicksand:wght@300;400;500;600;700&display=swap');

/* ----------------------------------------
   CSS VARIABLES / ROOT
   ---------------------------------------- */
:root {
    /* Fonts */
    --font-heading: 'Readex Pro', sans-serif;
    --font-body: 'Quicksand', sans-serif;
    
    /* Pink Gradient Colors */
    --gradient-pink-start: #ec4899;
    --gradient-pink-mid: #f472b6;
    --gradient-pink-end: #db2777;
    
    /* Dashboard Primary Colors */
    --dash-primary: #ec4899;
    --dash-primary-dark: #db2777;
    --dash-primary-light: rgba(236, 72, 153, 0.1);
    
    /* Status Colors */
    --dash-success: #10b981;
    --dash-success-light: rgba(16, 185, 129, 0.1);
    --dash-warning: #f59e0b;
    --dash-warning-light: rgba(245, 158, 11, 0.1);
    --dash-danger: #ef4444;
    --dash-danger-light: rgba(239, 68, 68, 0.1);
    --dash-info: #3b82f6;
    --dash-info-light: rgba(59, 130, 246, 0.1);
    
    /* Neutral Colors */
    --dash-gray-50: #f9fafb;
    --dash-gray-100: #f3f4f6;
    --dash-gray-200: #e5e7eb;
    --dash-gray-300: #d1d5db;
    --dash-gray-400: #9ca3af;
    --dash-gray-500: #6b7280;
    --dash-gray-600: #4b5563;
    --dash-gray-700: #374151;
    --dash-gray-800: #1f2937;
    --dash-gray-900: #111827;
    
    /* Animation Settings */
    --animation-duration: 20s;
    --animation-ease: ease-in-out;
}

/* ----------------------------------------
   BASE TYPOGRAPHY
   ---------------------------------------- */
body {
    font-family: var(--font-body);
    font-weight: 500;
}

/* Headings with ReadEx Pro */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.page-title,
.modal-title,
.card-title,
.chart-card h3,
.kpi-card .label,
.section-title {
    font-family: var(--font-heading);
}

/* Body text with Quicksand */
p, span, div, a, li, td, th, label, input, select, textarea, button {
    font-family: var(--font-body);
}

/* ----------------------------------------
   PINK GRADIENT HEADINGS
   ---------------------------------------- */
.gradient-heading,
.page-title,
h1.page-title,
.page-header-breadcrumb h1,
.page-intro h1 {
    background: linear-gradient(135deg, var(--gradient-pink-start) 0%, var(--gradient-pink-mid) 50%, var(--gradient-pink-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Secondary gradient heading (lighter) */
.gradient-heading-light {
    background: linear-gradient(135deg, var(--gradient-pink-mid) 0%, var(--gradient-pink-start) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-heading);
}

/* ----------------------------------------
   ANIMATED WIREFRAME MESH WAVE BACKGROUND
   ---------------------------------------- */
.page {
    position: relative;
    background: transparent !important;
}

.main-content {
    position: relative;
    background: transparent !important;
}

/* Override default body background */
body {
    background: linear-gradient(180deg, rgba(252, 231, 243, 0.4) 0%, rgba(255, 255, 255, 1) 30%) !important;
    background-attachment: fixed !important;
    min-height: 100vh;
}

/* Wave canvas container - full screen fixed positioning */
#wave-background {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    min-width: 100vw;
    min-height: 100vh;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: transparent !important;
}

#wave-background canvas {
    width: 100vw !important;
    height: 100vh !important;
    min-width: 100vw;
    min-height: 100vh;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

/* Ensure content appears above the wave */
.page {
    position: relative;
    z-index: 1;
    background: transparent !important;
}

.app-sidebar {
    position: fixed !important;
    z-index: 100 !important;
    background: #ffffff !important;
}

.app-header {
    position: fixed !important;
    z-index: 99 !important;
    background: #ffffff !important;
}

.main-content.app-content {
    position: relative;
    z-index: 10;
    background: transparent !important;
}

.main-content .container-fluid {
    position: relative;
    z-index: 10;
}

/* Floating particles overlay (optional, subtle) */
.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.bg-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(236, 72, 153, 0.15);
    border-radius: 50%;
    animation: particleFloat 15s ease-in-out infinite;
}

.bg-particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 18s; }
.bg-particle:nth-child(2) { left: 20%; top: 70%; animation-delay: 2s; animation-duration: 20s; }
.bg-particle:nth-child(3) { left: 35%; top: 40%; animation-delay: 4s; animation-duration: 16s; }
.bg-particle:nth-child(4) { left: 50%; top: 15%; animation-delay: 1s; animation-duration: 22s; }
.bg-particle:nth-child(5) { left: 65%; top: 60%; animation-delay: 3s; animation-duration: 19s; }
.bg-particle:nth-child(6) { left: 80%; top: 35%; animation-delay: 5s; animation-duration: 17s; }
.bg-particle:nth-child(7) { left: 90%; top: 80%; animation-delay: 2.5s; animation-duration: 21s; }
.bg-particle:nth-child(8) { left: 5%; top: 50%; animation-delay: 1.5s; animation-duration: 23s; }

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-30px) translateX(15px) scale(1.2);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-50px) translateX(-10px) scale(0.8);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-20px) translateX(20px) scale(1.1);
        opacity: 0.6;
    }
}

/* ----------------------------------------
   DASHBOARD LAYOUT
   ---------------------------------------- */
.dashboard-content {
    padding: 0;
}

/* ----------------------------------------
   KPI CARDS
   ---------------------------------------- */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.kpi-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--dash-gray-200);
    transition: all 0.3s ease;
}

.kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.12);
    border-color: rgba(236, 72, 153, 0.3);
}

.kpi-card .label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--dash-gray-500);
    margin-bottom: 8px;
    font-weight: 600;
}

.kpi-card .value {
    font-size: 28px;
    font-weight: 700;
    color: var(--dash-gray-900);
    font-family: var(--font-heading);
}

.kpi-card .trend {
    font-size: 12px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.kpi-card .trend.up { color: var(--dash-success); }
.kpi-card .trend.down { color: var(--dash-danger); }

/* ----------------------------------------
   CHART CARDS
   ---------------------------------------- */
.chart-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.chart-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--dash-gray-200);
    transition: all 0.3s ease;
}

.chart-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.chart-card.full-width {
    grid-column: span 2;
}

.chart-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dash-gray-800);
    margin-bottom: 16px;
}

.chart-container {
    position: relative;
    height: 300px;
}

.chart-card.full-width .chart-container {
    height: 350px;
}

/* ----------------------------------------
   DASHBOARD CARDS (Navigation)
   ---------------------------------------- */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    padding: 20px 0;
}

.dashboard-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--dash-gray-200);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    position: relative;
}

.dashboard-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(236, 72, 153, 0.15);
    border-color: var(--dash-primary);
}

.dashboard-card .icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.dashboard-card.engagement .icon { background: var(--dash-primary-light); }
.dashboard-card.catalog .icon { background: var(--dash-info-light); }
.dashboard-card.technical .icon { background: var(--dash-success-light); }
.dashboard-card.insights .icon { background: var(--dash-warning-light); }
.dashboard-card.link-health .icon { background: var(--dash-danger-light); }

.dashboard-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dash-gray-900);
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.dashboard-card p {
    font-size: 14px;
    color: var(--dash-gray-500);
    margin-bottom: 16px;
    line-height: 1.5;
}

.dashboard-card .metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dashboard-card .metric-tag {
    font-size: 11px;
    padding: 4px 10px;
    background: var(--dash-gray-100);
    border-radius: 20px;
    color: var(--dash-gray-600);
    font-weight: 500;
}

.dashboard-card .arrow {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--dash-gray-300);
    transition: all 0.3s ease;
}

.dashboard-card:hover .arrow {
    color: var(--dash-primary);
    transform: translateY(-50%) translateX(4px);
}

/* ----------------------------------------
   QUICK STATS
   ---------------------------------------- */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.quick-stat {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--dash-gray-200);
    text-align: center;
    transition: all 0.3s ease;
}

.quick-stat:hover {
    border-color: rgba(236, 72, 153, 0.3);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.08);
}

.quick-stat .value {
    font-size: 28px;
    font-weight: 700;
    color: var(--dash-gray-900);
    font-family: var(--font-heading);
}

.quick-stat .label {
    font-size: 12px;
    color: var(--dash-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
    font-weight: 600;
}

/* ----------------------------------------
   PAGE INTRO
   ---------------------------------------- */
.page-intro {
    max-width: 600px;
    margin-bottom: 32px;
}

.page-intro h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-intro p {
    font-size: 16px;
    color: var(--dash-gray-500);
    line-height: 1.6;
}

/* ----------------------------------------
   CONTROLS & BUTTONS
   ---------------------------------------- */
.date-range select {
    padding: 8px 12px;
    border: 1px solid var(--dash-gray-300);
    border-radius: 6px;
    font-size: 14px;
    background: white;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.2s ease;
}

.date-range select:focus {
    outline: none;
    border-color: var(--dash-primary);
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
}

.refresh-btn {
    padding: 8px 16px;
    background: var(--dash-primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-body);
    font-weight: 600;
}

.refresh-btn:hover {
    background: var(--dash-primary-dark);
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-pink-start) 0%, var(--gradient-pink-end) 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gradient-pink-end) 0%, var(--gradient-pink-start) 100%);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

/* ----------------------------------------
   UTILITIES
   ---------------------------------------- */
.last-updated {
    text-align: right;
    font-size: 12px;
    color: var(--dash-gray-500);
    margin-top: 16px;
}

/* ----------------------------------------
   LOGIN PAGE SPECIFIC
   ---------------------------------------- */
.login-page body {
    font-family: var(--font-body);
}

.login-modal .modal-title {
    font-family: var(--font-heading);
}

.login-modal .btn-primary {
    background: linear-gradient(135deg, var(--gradient-pink-start) 0%, var(--gradient-pink-end) 100%);
    border: none;
    font-family: var(--font-body);
    font-weight: 600;
}

/* ----------------------------------------
   SECTION HEADERS
   ---------------------------------------- */
.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 32px 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--dash-gray-200);
}

.section-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dash-gray-800);
    margin: 0;
    font-family: var(--font-heading);
}

.section-header .badge {
    font-size: 11px;
    padding: 4px 8px;
    background: var(--dash-primary-light);
    color: var(--dash-primary);
    border-radius: 12px;
    font-weight: 600;
}

/* ----------------------------------------
   KPI GRID LAYOUTS
   ---------------------------------------- */
.kpi-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.kpi-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.kpi-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

/* ----------------------------------------
   KPI CARD ENHANCEMENTS
   ---------------------------------------- */
.kpi-card.highlight {
    border-color: var(--dash-primary);
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.03) 0%, white 100%);
}

.kpi-card .sub-value {
    font-size: 12px;
    color: var(--dash-gray-500);
    margin-top: 4px;
}

.kpi-card .trend.neutral {
    color: var(--dash-gray-500);
}

/* ----------------------------------------
   DATA FRESHNESS INDICATOR
   ---------------------------------------- */
.data-freshness {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--dash-gray-500);
}

.data-freshness .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--dash-success);
}

.data-freshness .dot.stale {
    background: var(--dash-warning);
}

/* ----------------------------------------
   DASHBOARD PAGE TITLE
   ---------------------------------------- */
.dashboard-title {
    font-size: 28px;
    font-weight: 600;
    margin: 0;
}

/* ----------------------------------------
   RESPONSIVE
   ---------------------------------------- */
@media (max-width: 1200px) {
    .kpi-grid-4,
    .kpi-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .chart-grid {
        grid-template-columns: 1fr;
    }
    
    .chart-card.full-width {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .kpi-grid,
    .kpi-grid-4,
    .kpi-grid-3,
    .kpi-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .kpi-grid,
    .kpi-grid-4,
    .kpi-grid-3,
    .kpi-grid-2 {
        grid-template-columns: 1fr;
    }
    
    .quick-stats {
        grid-template-columns: 1fr;
    }
    
    .dashboard-title {
        font-size: 20px;
    }
}

/* ----------------------------------------
   LEFT SIDEBAR MENU TEXT SIZE
   ---------------------------------------- */
.app-sidebar .side-menu__label {
    font-size: 13px;
}

.app-sidebar .category-name {
    font-size: 10px;
}

.app-sidebar .side-menu__item {
    font-size: 13px;
}

/* ----------------------------------------
   SIDEBAR LOGO FIX - Remove color overlay
   ---------------------------------------- */
.app-sidebar .main-sidebar-header .header-logo img {
    filter: none !important;
    -webkit-filter: none !important;
}

.app-sidebar .main-sidebar-header {
    background: transparent;
}

.app-sidebar .desktop-logo,
.app-sidebar .toggle-logo,
.app-sidebar .desktop-dark,
.app-sidebar .toggle-dark {
    filter: none !important;
    opacity: 1 !important;
}

/* ----------------------------------------
   SCROLLBAR STYLING
   ---------------------------------------- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dash-gray-100);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--dash-gray-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dash-primary);
}

/* ----------------------------------------
   CREDENTIALS PAGE
   ---------------------------------------- */

/* Service card */
.cred-service-card {
    overflow: hidden;
    transition: all 0.2s ease;
}

.cred-service-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    user-select: none;
    border-bottom: 1px solid var(--dash-gray-200);
    transition: background 0.15s;
}

.cred-service-header:hover {
    background: var(--dash-gray-50);
}

.cred-service-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--dash-gray-800);
}

.cred-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--dash-primary-light);
    color: var(--dash-primary);
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 24px;
    height: 24px;
    border-radius: 12px;
    padding: 0 8px;
}

.cred-chevron {
    transition: transform 0.2s ease;
    color: var(--dash-gray-400);
}

.cred-service-card.collapsed .cred-chevron {
    transform: rotate(-90deg);
}

.cred-service-card.collapsed .cred-service-body {
    display: none;
}

.cred-service-card.collapsed .cred-service-header {
    border-bottom: none;
}

.cred-service-body {
    padding: 0;
}

/* Credential table */
.cred-table {
    width: 100%;
    border-collapse: collapse;
}

.cred-table thead th {
    padding: 10px 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dash-gray-400);
    background: var(--dash-gray-50);
    border-bottom: 1px solid var(--dash-gray-200);
}

.cred-table tbody tr {
    border-bottom: 1px solid var(--dash-gray-100);
    transition: background 0.1s;
}

.cred-table tbody tr:last-child {
    border-bottom: none;
}

.cred-table tbody tr:hover {
    background: var(--dash-gray-50);
}

.cred-key-cell {
    padding: 12px 20px;
    vertical-align: top;
}

.cred-key-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dash-gray-800);
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

.cred-key-desc {
    font-size: 0.78rem;
    color: var(--dash-gray-400);
    margin-top: 2px;
}

.cred-key-meta {
    font-size: 0.72rem;
    color: var(--dash-gray-300);
    margin-top: 2px;
}

.cred-value-cell {
    padding: 12px 20px;
    vertical-align: top;
    max-width: 0;
    width: 100%;
}

.cred-value-wrapper {
    word-break: break-all;
    overflow-wrap: break-word;
}

.cred-value-masked {
    color: var(--dash-gray-300);
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.cred-value-revealed {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.82rem;
    color: var(--dash-gray-700);
    background: var(--dash-gray-50);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid var(--dash-gray-200);
    word-break: break-all;
}

pre.cred-value-revealed {
    white-space: pre-wrap;
    max-height: 200px;
    overflow-y: auto;
    margin: 0;
}

.cred-action-cell {
    padding: 12px 12px;
    vertical-align: top;
    white-space: nowrap;
}

.btn-cred-action {
    background: none;
    border: 1px solid var(--dash-gray-200);
    border-radius: 6px;
    padding: 6px 8px;
    cursor: pointer;
    color: var(--dash-gray-500);
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
}

.btn-cred-action:hover {
    background: var(--dash-primary-light);
    color: var(--dash-primary);
    border-color: var(--dash-primary);
}

/* 3-column KPI grid */
.kpi-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .kpi-grid-3 {
        grid-template-columns: 1fr;
    }
    .cred-table thead {
        display: none;
    }
    .cred-table tbody tr {
        display: flex;
        flex-direction: column;
        padding: 12px 20px;
    }
    .cred-key-cell, .cred-value-cell, .cred-action-cell {
        padding: 4px 0;
        max-width: 100%;
    }
}

/* ----------------------------------------
   DARK MODE SUPPORT (if needed)
   ---------------------------------------- */
[data-theme-mode="dark"] {
    --dash-gray-50: #1a1a1a;
    --dash-gray-100: #2a2a2a;
    --dash-gray-200: #3a3a3a;
    --dash-gray-300: #4a4a4a;
    --dash-gray-400: #6a6a6a;
    --dash-gray-500: #8a8a8a;
    --dash-gray-600: #aaaaaa;
    --dash-gray-700: #cccccc;
    --dash-gray-800: #dddddd;
    --dash-gray-900: #eeeeee;
}

[data-theme-mode="dark"] .kpi-card,
[data-theme-mode="dark"] .chart-card,
[data-theme-mode="dark"] .dashboard-card,
[data-theme-mode="dark"] .quick-stat {
    background: var(--dash-gray-100);
    border-color: var(--dash-gray-200);
}

[data-theme-mode="dark"] .animated-bg::before {
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(236, 72, 153, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(244, 114, 182, 0.10) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 70%, rgba(219, 39, 119, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 70% 30%, rgba(236, 72, 153, 0.09) 0%, transparent 45%);
}
