.dark body.fi-body {
    background-color: #030712 !important;
}

.dark .fi-ta-ctn {
    background-color: rgba(17, 24, 39, 0.7) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2) !important;
    box-shadow: 0 0 20px -5px rgba(168, 85, 247, 0.15), inset 0 0 10px -5px rgba(99, 102, 241, 0.1) !important;
    transition: all 0.3s ease;
}

/* Stats overview wrapper — must be transparent, individual cards handle their own styling */
.dark .fi-wi-stats-overview {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}


.dark .fi-wi-stats-overview-stat:hover,
.dark .fi-ta-ctn:hover {
    border-color: rgba(168, 85, 247, 0.5) !important;
    box-shadow: 0 0 30px -5px rgba(168, 85, 247, 0.3), inset 0 0 15px -5px rgba(99, 102, 241, 0.2) !important;
    transform: translateY(-2px);
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Stats Overview Cards — Border Radius & Hover Neon
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.dark .fi-wi-stats-overview-stat {
    border-radius: 0.75rem !important;
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease !important;
    overflow: hidden;
}

.dark .fi-wi-stats-overview-stat:hover {
    border-color: rgba(168, 85, 247, 0.55) !important;
    box-shadow:
        0 0 0 1px rgba(168, 85, 247, 0.2),
        0 0 20px 2px rgba(168, 85, 247, 0.18),
        0 8px 24px rgba(0, 0, 0, 0.3) !important;
    transform: translateY(-2px) !important;
}



.dark .fi-btn-color-primary {
    box-shadow: 0 0 15px -3px rgba(99, 102, 241, 0.5) !important;
}

.dark .fi-btn-color-primary:hover {
    box-shadow: 0 0 25px -2px rgba(99, 102, 241, 0.7) !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   VFX Scraper Page — Light Mode (base)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.vfx-search-bar {
    background-color: #f3f4f6;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.vfx-search-label {
    color: #374151;
}

.vfx-search-input {
    background-color: #ffffff;
    color: #111827;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.vfx-result-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
}

.vfx-result-card:hover {
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.08);
}

.vfx-card-title {
    color: #111827;
}

.vfx-card-actions {
    border-top-color: #f3f4f6;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   VFX Scraper Page — Dark Mode
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.dark .vfx-search-bar {
    background: linear-gradient(135deg, #111827, #1f2937, #111827) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
}

.dark .vfx-search-label {
    color: rgba(255, 255, 255, 0.85) !important;
}

.dark .vfx-search-input,
.dark .vfx-search-input:focus,
.dark input.vfx-search-input {
    background-color: rgba(255, 255, 255, 0.07) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    box-shadow: none !important;
}

.dark .vfx-result-card {
    background: linear-gradient(to bottom, rgba(31, 41, 55, 0.85), rgba(17, 24, 39, 0.9)) !important;
    border-color: rgba(255, 255, 255, 0.07) !important;
}

.dark .vfx-result-card:hover {
    border-color: rgba(245, 158, 11, 0.35) !important;
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.08) !important;
}

.dark .vfx-result-card-info {
    background: transparent !important;
}

.dark .vfx-card-title {
    color: rgba(255, 255, 255, 0.88) !important;
}

.dark .vfx-card-actions {
    border-top-color: rgba(255, 255, 255, 0.07) !important;
}