/* ================================================
   JAGUARSHOP - PREMIUM ADMIN THEME
   Modern Indigo & Violet Design
   Light + Dark mode support
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ================================================
   GLOBAL FONT & BASE
   ================================================ */
.fi-body,
.fi-sidebar,
.fi-topbar,
.fi-main,
.fi-simple-layout {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* ================================================
   LOGIN PAGE - PREMIUM DARK EXPERIENCE
   (Login is always dark regardless of mode)
   ================================================ */
.fi-simple-layout {
    background: #0f0e17 !important;
    min-height: 100vh !important;
    position: relative;
    overflow: hidden;
}

.fi-simple-layout::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.03) 0%, transparent 70%);
    animation: subtleFloat 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes subtleFloat {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(2%, -1%) rotate(1deg);
    }

    66% {
        transform: translate(-1%, 1%) rotate(-0.5deg);
    }
}

.fi-simple-layout::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(99, 102, 241, 0.04) 50%, transparent 60%);
    pointer-events: none;
}

.fi-simple-main-ctn {
    background: rgba(18, 17, 35, 0.95) !important;
    border-radius: 20px !important;
    box-shadow:
        0 0 0 1px rgba(99, 102, 241, 0.2),
        0 25px 60px -12px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(99, 102, 241, 0.08) !important;
    border: none !important;
    max-width: 420px !important;
    backdrop-filter: blur(20px) !important;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.fi-simple-main-ctn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #6366f1, #8b5cf6, #a78bfa, transparent);
}

.fi-simple-header {
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.1) 0%, transparent 100%) !important;
    padding: 2.5rem 2rem 1.5rem !important;
    border-bottom: 1px solid rgba(99, 102, 241, 0.12) !important;
    text-align: center !important;
}

.fi-logo {
    font-size: 1.75rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.08em !important;
    background: linear-gradient(135deg, #818cf8 0%, #a78bfa 40%, #6366f1 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-shadow: none !important;
}

.fi-logo::before {
    content: none !important;
}

.fi-simple-page-heading {
    font-size: 1.375rem !important;
    font-weight: 700 !important;
    color: #f1f5f9 !important;
    margin-top: 0.75rem !important;
    letter-spacing: -0.01em !important;
}

.fi-simple-page-subheading {
    color: #64748b !important;
    font-size: 0.875rem !important;
    font-weight: 400 !important;
}

.fi-simple-main-ctn>div {
    padding: 2rem !important;
}

/* Login form inputs */
.fi-simple-layout .fi-input-wrp {
    background: rgba(28, 27, 51, 0.8) !important;
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
    border-radius: 10px !important;
    transition: all 0.3s ease !important;
}

.fi-simple-layout .fi-input-wrp:focus-within {
    border-color: rgba(99, 102, 241, 0.45) !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
    background: rgba(35, 33, 65, 0.9) !important;
}

.fi-simple-layout .fi-input {
    border: none !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.875rem !important;
    background: transparent !important;
    color: #e2e8f0 !important;
    box-shadow: none !important;
}

.fi-simple-layout .fi-input::placeholder {
    color: #475569 !important;
}

.fi-simple-layout .fi-fo-field-wrp-label {
    color: #94a3b8 !important;
    font-weight: 500 !important;
    font-size: 0.8125rem !important;
}

/* Login button */
.fi-simple-layout .fi-btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    color: #ffffff !important;
    letter-spacing: 0.02em !important;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35) !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
}

.fi-simple-layout .fi-btn-primary:hover {
    background: linear-gradient(135deg, #818cf8 0%, #a78bfa 100%) !important;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45) !important;
    transform: translateY(-1px) !important;
}

/* Login links */
.fi-simple-layout .fi-link {
    color: #818cf8 !important;
    font-weight: 500 !important;
    transition: color 0.2s !important;
}

.fi-simple-layout .fi-link:hover {
    color: #a78bfa !important;
}

/* ================================================
   LIGHT MODE - SIDEBAR
   ================================================ */
.fi-sidebar {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 50%, #f8fafc 100%) !important;
    border-right: 1px solid #e0e7ff !important;
    min-height: 100vh !important;
}

.fi-sidebar-header {
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.08) 0%, transparent 100%) !important;
    border-bottom: 1px solid #e0e7ff !important;
    padding: 1.25rem 1.25rem !important;
}

.fi-sidebar-header a,
.fi-sidebar-header span {
    font-weight: 900 !important;
    font-size: 1.2rem !important;
    letter-spacing: 0.1em !important;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 40%, #7c3aed 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.fi-sidebar-nav {
    padding: 0.75rem !important;
}

.fi-sidebar-item {
    margin-bottom: 2px !important;
}

.fi-sidebar-item-button {
    border-radius: 10px !important;
    padding: 0.7rem 1rem !important;
    color: #475569 !important;
    font-size: 0.8125rem !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    border: 1px solid transparent !important;
    letter-spacing: 0.01em !important;
}

.fi-sidebar-item-button:hover {
    background: rgba(99, 102, 241, 0.08) !important;
    color: #312e81 !important;
    border-color: rgba(99, 102, 241, 0.15) !important;
}

.fi-sidebar-item-button.fi-active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.08) 100%) !important;
    color: #4338ca !important;
    border-color: rgba(99, 102, 241, 0.25) !important;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1) !important;
}

.fi-sidebar-item-icon {
    color: #6366f1 !important;
    width: 20px !important;
    height: 20px !important;
    transition: all 0.2s ease !important;
}

.fi-sidebar-item-button:hover .fi-sidebar-item-icon {
    color: #4f46e5 !important;
}

.fi-sidebar-item-button.fi-active .fi-sidebar-item-icon {
    color: #4338ca !important;
}

/* Light mode sidebar text */
.fi-sidebar-item-label,
span.fi-sidebar-item-label,
.fi-sidebar-item button span {
    color: #374151 !important;
}

.fi-sidebar-item-button:hover .fi-sidebar-item-label,
.fi-sidebar-item-button.fi-active .fi-sidebar-item-label {
    color: #312e81 !important;
}

/* Navigation Groups */
.fi-sidebar-group {
    margin-top: 1.25rem !important;
    padding-top: 1rem !important;
    border-top: 1px solid rgba(99, 102, 241, 0.08) !important;
}

.fi-sidebar-group:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: none !important;
}

.fi-sidebar-group-label,
.fi-sidebar-group-label span,
.fi-sidebar-group span {
    color: #6366f1 !important;
    font-size: 0.625rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    padding: 0.5rem 1rem !important;
    opacity: 0.85;
}

/* Sidebar Badges - visible in both light & dark */
.fi-sidebar-item-badge,
.fi-sidebar-item-badge>span,
.fi-badge.fi-sidebar-item-badge,
.fi-sidebar-item .fi-badge {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 9px !important;
    line-height: 1 !important;
    padding: 3px 5px !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 5px rgba(99, 102, 241, 0.3) !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 4px !important;
}

.dark .fi-sidebar-item-badge,
.dark .fi-sidebar-item-badge>span,
.dark .fi-badge.fi-sidebar-item-badge,
.dark .fi-sidebar-item .fi-badge {
    background: linear-gradient(135deg, #818cf8 0%, #a78bfa 100%) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.4) !important;
}

/* Scrollbar */
.fi-sidebar::-webkit-scrollbar {
    width: 3px;
}

.fi-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.fi-sidebar::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.2);
    border-radius: 2px;
}

.fi-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.35);
}

/* ================================================
   LIGHT MODE - TOP BAR
   ================================================ */
.fi-topbar {
    background: #ffffff !important;
    border-bottom: 1px solid #e0e7ff !important;
    box-shadow: 0 1px 3px rgba(99, 102, 241, 0.06) !important;
}

.fi-topbar nav {
    background: transparent !important;
}

/* ================================================
   LIGHT MODE - MAIN CONTENT AREA
   ================================================ */
.fi-main {
    background: #f8fafc !important;
}

/* ================================================
   LIGHT MODE - TABLES
   ================================================ */
.fi-ta-table {
    background: #ffffff !important;
    border-radius: 12px !important;
    border: 1px solid #e0e7ff !important;
    overflow: hidden !important;
}

.fi-ta-header-cell {
    background: #f1f5f9 !important;
    font-weight: 600 !important;
    font-size: 0.6875rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    color: #64748b !important;
    border-bottom: 1px solid #e0e7ff !important;
}

.fi-ta-cell {
    font-size: 0.8125rem !important;
    color: #334155 !important;
    border-bottom-color: #f1f5f9 !important;
}

.fi-ta-row {
    transition: background 0.15s ease !important;
}

.fi-ta-row:hover {
    background: rgba(99, 102, 241, 0.04) !important;
}

/* ================================================
   LIGHT MODE - CARDS & WIDGETS
   ================================================ */
.fi-wi-stats-overview-stat {
    background: #ffffff !important;
    border: 1px solid #e0e7ff !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 3px rgba(99, 102, 241, 0.06) !important;
    transition: border-color 0.2s ease !important;
}

.fi-wi-stats-overview-stat:hover {
    border-color: rgba(99, 102, 241, 0.3) !important;
}

/* ================================================
   LIGHT MODE - FORMS
   ================================================ */
.fi-fo-field-wrp-label {
    font-weight: 600 !important;
    color: #374151 !important;
    font-size: 0.8125rem !important;
}

.fi-input {
    border-radius: 8px !important;
    border: 1px solid #d1d5db !important;
    font-size: 0.875rem !important;
    background: #ffffff !important;
    color: #1f2937 !important;
    transition: all 0.2s ease !important;
}

.fi-input:focus {
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12) !important;
}

/* ================================================
   LIGHT MODE - BADGES
   ================================================ */
.fi-badge {
    font-weight: 600 !important;
    font-size: 0.6875rem !important;
    padding: 0.25rem 0.625rem !important;
    border-radius: 9999px !important;
    letter-spacing: 0.02em !important;
}

.fi-badge-success {
    background: rgba(16, 185, 129, 0.12) !important;
    color: #059669 !important;
}

.fi-badge-danger {
    background: rgba(239, 68, 68, 0.12) !important;
    color: #dc2626 !important;
}

.fi-badge-warning {
    background: rgba(245, 158, 11, 0.12) !important;
    color: #d97706 !important;
}

.fi-badge-primary {
    background: rgba(99, 102, 241, 0.12) !important;
    color: #4f46e5 !important;
}

/* ================================================
   LIGHT MODE - BUTTONS
   ================================================ */
.fi-btn {
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 0.8125rem !important;
    padding: 0.5rem 1rem !important;
    transition: all 0.2s ease !important;
    letter-spacing: 0.01em !important;
}

.fi-btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
    color: #ffffff !important;
}

.fi-btn-primary:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3) !important;
}

.fi-btn-danger {
    background: #dc2626 !important;
}

.fi-btn-danger:hover {
    background: #ef4444 !important;
}

/* ================================================
   LIGHT MODE - ACTION BUTTONS
   ================================================ */
.fi-ac-btn-action {
    color: #64748b !important;
    padding: 0.375rem !important;
    border-radius: 6px !important;
    transition: all 0.15s ease !important;
}

.fi-ac-btn-action:hover {
    background: rgba(99, 102, 241, 0.08) !important;
    color: #4f46e5 !important;
}

/* ================================================
   LIGHT MODE - PAGE HEADER
   ================================================ */
.fi-header {
    padding: 1.5rem 0 !important;
}

.fi-header-heading {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    letter-spacing: -0.01em !important;
}

/* ================================================
   LIGHT MODE - TEXT & CONTENT
   ================================================ */
.fi-body {
    color: #1e293b !important;
}

.fi-section-content {
    color: #334155 !important;
}

.fi-section-header-heading {
    color: #1e293b !important;
    font-weight: 600 !important;
}

.fi-card {
    background: #ffffff !important;
    border: 1px solid #e0e7ff !important;
    border-radius: 12px !important;
    color: #334155 !important;
}

.fi-wi-stats-overview-stat-value {
    color: #1e293b !important;
    font-weight: 700 !important;
}

.fi-wi-stats-overview-stat-label {
    color: #64748b !important;
}

.fi-wi-stats-overview-stat-description {
    color: #64748b !important;
}

/* Dropdown menus */
.fi-dropdown-panel {
    background: #ffffff !important;
    border: 1px solid #e0e7ff !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
}

.fi-dropdown-list-item {
    color: #334155 !important;
    transition: all 0.15s ease !important;
}

.fi-dropdown-list-item:hover {
    background: rgba(99, 102, 241, 0.06) !important;
    color: #4338ca !important;
}

/* Modal */
.fi-modal {
    background: #ffffff !important;
    border: 1px solid #e0e7ff !important;
}

.fi-modal-header-heading {
    color: #1e293b !important;
}

.fi-modal-description {
    color: #64748b !important;
}

.fi-modal-content {
    color: #334155 !important;
}

/* Search input */
.fi-global-search-input {
    color: #1e293b !important;
    background: #f8fafc !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
}

.fi-global-search-input::placeholder {
    color: #9ca3af !important;
}

.fi-global-search-input:focus {
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
}

/* Breadcrumbs */
.fi-breadcrumbs-item-label {
    color: #64748b !important;
}

.fi-breadcrumbs-item-label:hover {
    color: #4f46e5 !important;
}

/* User menu */
.fi-user-menu-trigger {
    color: #334155 !important;
}

/* Tab navigation */
.fi-tabs-tab {
    color: #64748b !important;
    transition: color 0.2s ease !important;
}

.fi-tabs-tab:hover {
    color: #334155 !important;
}

.fi-tabs-tab[data-active] {
    color: #4f46e5 !important;
}

/* Pagination */
.fi-pagination-item {
    color: #334155 !important;
}

/* Table empty state */
.fi-ta-empty-state-heading {
    color: #64748b !important;
}

.fi-ta-empty-state-description {
    color: #94a3b8 !important;
}

/* Select options */
.fi-select-option {
    color: #334155 !important;
}

.fi-select-option[data-selected] {
    background: rgba(99, 102, 241, 0.1) !important;
    color: #4338ca !important;
}

/* Icon buttons */
.fi-icon-btn {
    color: #64748b !important;
    transition: all 0.15s ease !important;
}

.fi-icon-btn:hover {
    color: #4f46e5 !important;
    background: rgba(99, 102, 241, 0.06) !important;
}

/* Notifications */
.fi-notification-title {
    color: #1e293b !important;
}

.fi-notification-body {
    color: #64748b !important;
}

/* Checkbox */
.fi-checkbox-input:checked {
    background-color: #6366f1 !important;
    border-color: #6366f1 !important;
}

/* Links */
.fi-link {
    color: #6366f1 !important;
    font-weight: 500 !important;
}

.fi-link:hover {
    color: #4f46e5 !important;
}


/* ================================================
   DARK MODE OVERRIDES
   ================================================ */

/* Dark sidebar */
.dark .fi-sidebar {
    background: linear-gradient(180deg, #0f0e17 0%, #16152a 50%, #0f0e17 100%) !important;
    border-right-color: rgba(99, 102, 241, 0.1) !important;
}

.dark .fi-sidebar-header {
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.1) 0%, transparent 100%) !important;
    border-bottom-color: rgba(99, 102, 241, 0.12) !important;
}

.dark .fi-sidebar-header a,
.dark .fi-sidebar-header span {
    background: linear-gradient(135deg, #818cf8 0%, #a78bfa 40%, #6366f1 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.dark .fi-sidebar-item-button {
    color: #a5b4fc !important;
}

.dark .fi-sidebar-item-button:hover {
    background: rgba(99, 102, 241, 0.1) !important;
    color: #e0e7ff !important;
    border-color: rgba(99, 102, 241, 0.2) !important;
}

.dark .fi-sidebar-item-button.fi-active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.18) 0%, rgba(139, 92, 246, 0.12) 100%) !important;
    color: #c7d2fe !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
}

.dark .fi-sidebar-item-icon {
    color: #818cf8 !important;
}

.dark .fi-sidebar-item-button:hover .fi-sidebar-item-icon {
    color: #a5b4fc !important;
}

.dark .fi-sidebar-item-button.fi-active .fi-sidebar-item-icon {
    color: #a78bfa !important;
}

/* Dark sidebar text */
.dark .fi-sidebar-item-label,
.dark span.fi-sidebar-item-label,
.dark .fi-sidebar-item button span {
    color: #e0e7ff !important;
}

.dark .fi-sidebar-item-button:hover .fi-sidebar-item-label,
.dark .fi-sidebar-item-button.fi-active .fi-sidebar-item-label {
    color: #ffffff !important;
}

.dark .fi-sidebar-group-label,
.dark .fi-sidebar-group-label span,
.dark .fi-sidebar-group span {
    color: #818cf8 !important;
}

/* Dark topbar */
.dark .fi-topbar {
    background: #0f0e17 !important;
    border-bottom-color: rgba(99, 102, 241, 0.08) !important;
    box-shadow: none !important;
}

/* Dark main */
.dark .fi-main {
    background: #13122a !important;
}

/* Dark tables */
.dark .fi-ta-table {
    background: #1c1b33 !important;
    border-color: rgba(99, 102, 241, 0.1) !important;
}

.dark .fi-ta-header-cell {
    background: rgba(99, 102, 241, 0.06) !important;
    color: #94a3b8 !important;
    border-bottom-color: rgba(99, 102, 241, 0.1) !important;
}

.dark .fi-ta-cell {
    color: #cbd5e1 !important;
    border-bottom-color: rgba(255, 255, 255, 0.04) !important;
}

.dark .fi-ta-row:hover {
    background: rgba(99, 102, 241, 0.06) !important;
}

/* Dark cards & widgets */
.dark .fi-wi-stats-overview-stat {
    background: #1c1b33 !important;
    border-color: rgba(99, 102, 241, 0.1) !important;
    box-shadow: none !important;
}

.dark .fi-wi-stats-overview-stat:hover {
    border-color: rgba(99, 102, 241, 0.25) !important;
}

/* Dark forms */
.dark .fi-fo-field-wrp-label {
    color: #94a3b8 !important;
}

.dark .fi-input {
    background: #1c1b33 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #e2e8f0 !important;
}

.dark .fi-input:focus {
    border-color: rgba(99, 102, 241, 0.45) !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
}

/* Dark badges */
.dark .fi-badge-success {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #34d399 !important;
}

.dark .fi-badge-danger {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #f87171 !important;
}

.dark .fi-badge-warning {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #fbbf24 !important;
}

.dark .fi-badge-primary {
    background: rgba(99, 102, 241, 0.15) !important;
    color: #818cf8 !important;
}

/* Dark buttons */
.dark .fi-btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
    color: #ffffff !important;
}

.dark .fi-btn-primary:hover {
    background: linear-gradient(135deg, #818cf8 0%, #a78bfa 100%) !important;
}

/* Dark text & content */
.dark .fi-header-heading {
    color: #f1f5f9 !important;
}

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

.dark .fi-section-content {
    color: #cbd5e1 !important;
}

.dark .fi-section-header-heading {
    color: #f1f5f9 !important;
}

.dark .fi-card {
    background: #1c1b33 !important;
    border-color: rgba(99, 102, 241, 0.08) !important;
    color: #cbd5e1 !important;
}

.dark .fi-wi-stats-overview-stat-value {
    color: #f1f5f9 !important;
}

.dark .fi-wi-stats-overview-stat-label {
    color: #64748b !important;
}

.dark .fi-wi-stats-overview-stat-description {
    color: #64748b !important;
}

/* Dark dropdowns */
.dark .fi-dropdown-panel {
    background: #1c1b33 !important;
    border-color: rgba(99, 102, 241, 0.12) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
}

.dark .fi-dropdown-list-item {
    color: #cbd5e1 !important;
}

.dark .fi-dropdown-list-item:hover {
    background: rgba(99, 102, 241, 0.1) !important;
    color: #c7d2fe !important;
}

/* Dark modal */
.dark .fi-modal {
    background: #1c1b33 !important;
    border-color: rgba(99, 102, 241, 0.12) !important;
}

.dark .fi-modal-header-heading {
    color: #f1f5f9 !important;
}

.dark .fi-modal-description {
    color: #64748b !important;
}

.dark .fi-modal-content {
    color: #cbd5e1 !important;
}

/* Dark search */
.dark .fi-global-search-input {
    color: #e2e8f0 !important;
    background: #1c1b33 !important;
    border-color: rgba(99, 102, 241, 0.12) !important;
}

.dark .fi-global-search-input::placeholder {
    color: #475569 !important;
}

/* Dark breadcrumbs */
.dark .fi-breadcrumbs-item-label {
    color: #64748b !important;
}

.dark .fi-breadcrumbs-item-label:hover {
    color: #818cf8 !important;
}

/* Dark user menu */
.dark .fi-user-menu-trigger {
    color: #cbd5e1 !important;
}

/* Dark tabs */
.dark .fi-tabs-tab {
    color: #64748b !important;
}

.dark .fi-tabs-tab:hover {
    color: #cbd5e1 !important;
}

.dark .fi-tabs-tab[data-active] {
    color: #818cf8 !important;
}

/* Dark pagination */
.dark .fi-pagination-item {
    color: #cbd5e1 !important;
}

/* Dark empty states */
.dark .fi-ta-empty-state-heading {
    color: #94a3b8 !important;
}

.dark .fi-ta-empty-state-description {
    color: #64748b !important;
}

/* Dark select */
.dark .fi-select-option {
    color: #cbd5e1 !important;
}

.dark .fi-select-option[data-selected] {
    background: rgba(99, 102, 241, 0.18) !important;
    color: #c7d2fe !important;
}

/* Dark action buttons */
.dark .fi-ac-btn-action {
    color: #64748b !important;
}

.dark .fi-ac-btn-action:hover {
    background: rgba(99, 102, 241, 0.12) !important;
    color: #818cf8 !important;
}

/* Dark icon buttons */
.dark .fi-icon-btn {
    color: #64748b !important;
}

.dark .fi-icon-btn:hover {
    color: #818cf8 !important;
    background: rgba(99, 102, 241, 0.1) !important;
}

/* Dark notifications */
.dark .fi-notification-title {
    color: #f1f5f9 !important;
}

.dark .fi-notification-body {
    color: #94a3b8 !important;
}

/* Dark links */
.dark .fi-link {
    color: #818cf8 !important;
}

.dark .fi-link:hover {
    color: #a78bfa !important;
}

/* ================================================
   RESPONSIVE ADJUSTMENTS
   ================================================ */
@media (max-width: 1024px) {
    .fi-sidebar {
        background: #f8fafc !important;
    }

    .dark .fi-sidebar {
        background: #0f0e17 !important;
    }
}

/* ================================================
   SMOOTH TRANSITIONS
   ================================================ */
.fi-sidebar-item-button,
.fi-btn,
.fi-ta-row,
.fi-dropdown-list-item,
.fi-icon-btn,
.fi-tabs-tab,
.fi-ac-btn-action,
.fi-input,
.fi-card,
.fi-wi-stats-overview-stat {
    transition: all 0.2s ease !important;
}