:root {
    --bg-body: #060913;
    --bg-sidebar: #0b0f19;
    --bg-card: rgba(18, 25, 44, 0.65);
    --text-main: #f8fafc;
    --text-muted: #64748b;
    --accent: #3b82f6;
    --danger: #f43f5e;
    --success: #10b981;
    --warning: #f59e0b;
}

/* Base body removed, handled by dashboard.css */

/* Sidebar styles removed, handled by dashboard.css */

/* --- MAIN CONTENT --- */
.main-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    overflow-x: auto;
    position: relative;
}

/* Header styles removed, handled by dashboard.css */

/* --- CARDS & WIDGETS --- */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 16px;
    margin-bottom: 25px;
}

.stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

/* Background Curve Effect (Lekukan) */
.stat-card::before {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.06);
    z-index: -1;
    transition: all 0.4s ease;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-radius: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    transform: rotate(15deg);
    z-index: -1;
}

.stat-card:hover::before {
    transform: scale(1.25);
    background: rgba(59, 130, 246, 0.12);
}

/* Color Varieties (Premium Glassmorphism Cards) */
.card-income {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(13, 18, 32, 0.8) 100%);
    border-color: rgba(16, 185, 129, 0.2);
}

.card-income::before {
    background: rgba(16, 185, 129, 0.04);
}

.card-income:hover {
    border-color: #10b981;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15);
}

.card-expense {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.05) 0%, rgba(13, 18, 32, 0.8) 100%);
    border-color: rgba(244, 63, 94, 0.2);
}

.card-expense::before {
    background: rgba(244, 63, 94, 0.04);
}

.card-expense:hover {
    border-color: #f43f5e;
    box-shadow: 0 10px 30px rgba(244, 63, 94, 0.15);
}

.card-balance {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(13, 18, 32, 0.8) 100%);
    border-color: rgba(59, 130, 246, 0.2);
}

.card-balance::before {
    background: rgba(59, 130, 246, 0.04);
}

.card-balance:hover {
    border-color: #3b82f6;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
}

.card-total {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05) 0%, rgba(13, 18, 32, 0.8) 100%);
    border-color: rgba(168, 85, 247, 0.2);
}

.card-total::before {
    background: rgba(168, 85, 247, 0.04);
}

.card-total:hover {
    border-color: #a855f7;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.15);
}

.stat-label {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.stat-val {
    font-size: 26px;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.text-green {
    color: #34d399;
}

.text-red {
    color: #fb7185;
}

.text-blue {
    color: #60a5fa;
}

/* --- TABLES --- */
.table-container {
    background: #151b2b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow-x: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

th,
td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px;
    white-space: nowrap;
}

th {
    background: rgba(15, 23, 42, 0.8);
    color: #94a3b8;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 1px;
    padding: 12px 16px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
}

tr:hover {
    background: rgba(59, 130, 246, 0.05);
    transition: background 0.2s;
}


td {
    color: #e2e8f0;
}

/* Wrap text in description column */
td.td-desc {
    white-space: normal;
    min-width: 200px;
}

.pill {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    border: 1px solid transparent;
    display: inline-block;
}

/* --- NEW PROFESSIONAL BADGES --- */
.badge-pill {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    width: fit-content;
    white-space: nowrap;
}

.badge-success {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.3);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #f43f5e;
    border-color: rgba(244, 63, 94, 0.3);
}

.badge-pill i {
    font-size: 8px;
    opacity: 0.8;
}


/* --- BUTTONS --- */
.btn {
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 11px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-sm:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* --- FORMS & MODAL --- */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.modal.show {
    display: flex;
}

.modal-box {
    background: #0b1220;
    width: 100%;
    max-width: 500px;
    padding: 0;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow: hidden;
}

.modal-head {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
}

.modal-foot {
    padding: 15px 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-shrink: 0;
}

.modal.show .modal-box {
    transform: scale(1);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.input,
select,
textarea {
    width: 100%;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 8px;
    outline: none;
    font-size: 13px;
}

.input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

/* Fix for White-on-White in Dropdowns */
select option {
    background: #1e293b;
    color: white;
}

/* --- FILTER BAR --- */
.filter-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    background: #151b2b;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    align-items: flex-end;
    flex-wrap: wrap;
}

/* --- RESPONSIVE REFINEMENTS --- */

/* Medium Screens & Laptops (1366x768 optimization) */
@media (max-width: 1400px) {
    .main-content {
        padding: 15px;
    }

    .stat-card {
        padding: 18px;
    }

    .stat-val {
        font-size: 22px;
    }

    th,
    td {
        padding: 12px 10px;
        font-size: 12px;
    }
}

/* Small Laptops & Tablets */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .filter-bar {
        padding: 12px;
    }
}

/* Mobile & Small Screens */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: -280px;
        height: 100%;
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.5);
        z-index: 2000;
        overflow-y: auto;
    }

    .sidebar.active {
        left: 0;
    }

    .main-content {
        padding: 12px;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
        gap: 15px;
    }

    .stat-card {
        padding: 15px;
        border-radius: 12px;
    }

    .stat-val {
        font-size: 20px;
    }

    .stat-label {
        font-size: 9px;
        letter-spacing: 0.5px;
    }

    .mobile-head {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 20px;
        position: relative;
        z-index: 1001;
    }

    /* RESTORE BRAND TEXT ON MOBILE SIDEBAR */
    .brand-wrapper .brand-text,
    .brand-wrapper span,
    #brandText {
        display: inline-block !important;
        width: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        padding-left: 10px !important;
        overflow: visible !important;
    }

    .table-container {
        border-radius: 8px;
    }

    table {
        min-width: 450px;
    }

    th,
    td {
        padding: 10px 8px;
        font-size: 11px;
    }

    /* Table Column Specifics for Mobile */
    th:nth-child(1),
    td:nth-child(1) {
        width: 60px !important;
    }

    th:nth-child(2),
    td:nth-child(2) {
        width: 30px !important;
        text-align: center;
    }

    .modal-box {
        padding: 0;
        max-width: 95%;
        margin: 5px;
    }

    .modal-body {
        padding: 18px;
    }

    .modal-head {
        padding: 15px 18px;
    }

    .modal-foot {
        padding: 12px 18px;
    }
}

.overlay-bg {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 90;
    backdrop-filter: blur(2px);
}

.overlay-bg.active {
    display: block;
}

/* Consolidated Mobile Visibility */
@media (max-width: 768px) {
    .desktop-desc,
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    .mobile-desc {
        display: block;
        font-size: 10px;
        opacity: 0.75;
        font-style: italic;
        margin-top: 2px;
        line-height: 1.2;
        color: #cbd5e1;
    }
}

@media (min-width: 769px) {
    .mobile-head,
    .mobile-desc,
    .mobile-only {
        display: none !important;
    }

    .desktop-only {
        display: flex !important;
    }
}

/* FORCE UPDATE TIMESTAMP: 02/13/2026 21:12:12 */

/* ==========================================================================
   STUNNING CYBER-GOLD FINANCIAL WIDGETS (NEON GLASSMORPHISM CARDS)
   ========================================================================== */

.stat-card {
    background: rgba(13, 18, 32, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-radius: 20px !important;
    padding: 24px !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.35) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
}

.stat-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5) !important;
}

/* Glassmorphism Color Varieties & Neon Glowing Borders */
.card-income {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(13, 18, 32, 0.9) 100%) !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.35), 0 0 15px rgba(16, 185, 129, 0.08) !important;
}

.card-income:hover {
    border-color: #10b981 !important;
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.25) !important;
}

.card-expense {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.05) 0%, rgba(13, 18, 32, 0.9) 100%) !important;
    border: 1px solid rgba(244, 63, 94, 0.3) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.35), 0 0 15px rgba(244, 63, 94, 0.08) !important;
}

.card-expense:hover {
    border-color: #f43f5e !important;
    box-shadow: 0 12px 35px rgba(244, 63, 94, 0.25) !important;
}

.card-balance {
    background: linear-gradient(135deg, rgba(243, 186, 47, 0.05) 0%, rgba(13, 18, 32, 0.9) 100%) !important;
    border: 1px solid rgba(243, 186, 47, 0.3) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.35), 0 0 15px rgba(243, 186, 47, 0.08) !important;
}

.card-balance:hover {
    border-color: #f3ba2f !important;
    box-shadow: 0 12px 35px rgba(243, 186, 47, 0.25) !important;
}

.card-total {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05) 0%, rgba(13, 18, 32, 0.9) 100%) !important;
    border: 1px solid rgba(168, 85, 247, 0.3) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.35), 0 0 15px rgba(168, 85, 247, 0.08) !important;
}

.card-total:hover {
    border-color: #a855f7 !important;
    box-shadow: 0 12px 35px rgba(168, 85, 247, 0.25) !important;
}

/* Subtle Curve Effects behind glass */
.stat-card::before {
    content: '' !important;
    position: absolute !important;
    bottom: -40px !important;
    right: -40px !important;
    width: 140px !important;
    height: 140px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.02) !important;
    z-index: -1 !important;
    transition: all 0.4s ease !important;
}

.stat-card:hover::before {
    transform: scale(1.2) !important;
    background: rgba(255, 255, 255, 0.04) !important;
}

/* High-contrast labels & values */
.stat-label {
    font-size: 11px !important;
    color: #94a3b8 !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
}

.stat-val {
    font-size: 21px !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}

/* Quick Status Labels */
.text-green { color: #34d399 !important; }
.text-red { color: #fb7185 !important; }
.text-blue { color: #f3ba2f !important; } /* Cyber-gold instead of standard blue */

/* btn-primary override to match the gold theme and fix readability */
.btn-primary {
    background: #f3ba2f !important;
    color: #060913 !important;
    font-weight: 800 !important;
    border: none !important;
}

.btn-primary:hover {
    background: #ffd700 !important;
    color: #000000 !important;
    box-shadow: 0 4px 15px rgba(243, 186, 47, 0.4) !important;
}

/* --- MOBILE RESPONSIVE WIDGET OVERRIDES --- */
@media (max-width: 768px) {
    .stat-val {
        font-size: 15px !important;
    }
    .stat-card {
        padding: 14px !important;
        border-radius: 14px !important;
    }
}

/* --- FINANCIAL TREND STYLING --- */
.stat-trend {
    font-size: 11px !important;
    font-weight: 700 !important;
    margin-top: 6px !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.stat-trend.plus {
    color: #34d399 !important; /* Emerald Green */
}

.stat-trend.minus {
    color: #fb7185 !important; /* Ruby Red */
}

.stat-trend.neutral {
    color: #94a3b8 !important; /* Slate Muted */
}

/* ==========================================================================
   FINTECH DASHBOARD LAYOUT & QUICK ACTION BUTTONS
   ========================================================================== */

.quick-actions-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.qa-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    background: rgba(18, 25, 44, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    color: var(--text-main);
    text-align: left;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.qa-btn:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.qa-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.qa-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.qa-title {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.qa-desc {
    font-size: 10px;
    color: var(--text-muted);
}

/* QA Button Variants */
.btn-qa-wifi .qa-icon { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.btn-qa-wifi:hover .qa-icon { background: #3b82f6; color: white; box-shadow: 0 0 15px rgba(59, 130, 246, 0.5); }
.btn-qa-wifi:hover { border-color: rgba(59, 130, 246, 0.4); }

.btn-qa-income .qa-icon { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.btn-qa-income:hover .qa-icon { background: #10b981; color: white; box-shadow: 0 0 15px rgba(16, 185, 129, 0.5); }
.btn-qa-income:hover { border-color: rgba(16, 185, 129, 0.4); }

.btn-qa-expense .qa-icon { background: rgba(244, 63, 94, 0.15); color: #fb7185; }
.btn-qa-expense:hover .qa-icon { background: #f43f5e; color: white; box-shadow: 0 0 15px rgba(244, 63, 94, 0.5); }
.btn-qa-expense:hover { border-color: rgba(244, 63, 94, 0.4); }

.btn-qa-excel .qa-icon { background: rgba(243, 186, 47, 0.15); color: #f3ba2f; }
.btn-qa-excel:hover .qa-icon { background: #f3ba2f; color: #060913; box-shadow: 0 0 15px rgba(243, 186, 47, 0.5); }
.btn-qa-excel:hover { border-color: rgba(243, 186, 47, 0.4); }


/* Mid Grid (Widescreen 3-Column Layout: Chart, Sparklines, Metrics) */
.fin-mid-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1.1fr;
    gap: 20px;
    max-width: 100%;
}

.fin-metrics-sidebar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.metric-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    height: 100%;
    align-content: space-between;
}

.fin-bar-card {
    background: rgba(18, 25, 44, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.fin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
}

.fin-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.fin-card-subtitle {
    font-size: 11px;
    color: var(--text-muted);
}

.fin-legend {
    display: flex;
    gap: 15px;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.dot-income { background: #f3ba2f; box-shadow: 0 0 8px rgba(243, 186, 47, 0.6); }
.dot-expense { background: #f59e0b; box-shadow: 0 0 8px rgba(245, 158, 11, 0.6); }


/* Sidebar Mini Widgets */
.fin-stats-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fin-spark-card {
    background: rgba(18, 25, 44, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.spark-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spark-val {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin-top: 4px;
}

.spark-trend {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Premium Highlighted Selected Card Glow */
.card-highlight-gold {
    background: linear-gradient(135deg, rgba(243, 186, 47, 0.08) 0%, rgba(13, 18, 32, 0.95) 100%) !important;
    border: 1.5px solid rgba(243, 186, 47, 0.5) !important;
    box-shadow: 0 10px 35px rgba(243, 186, 47, 0.15), 0 0 20px rgba(243, 186, 47, 0.05) !important;
}

.card-highlight-gold:hover {
    border-color: #f3ba2f !important;
    box-shadow: 0 15px 40px rgba(243, 186, 47, 0.35) !important;
}

/* WiFi Progress Bar Sparkline Variant */
.spark-progress-bg {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.spark-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #f3ba2f);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(243, 186, 47, 0.5);
    transition: width 1s ease-in-out;
}

/* Responsiveness overrides for Mid Grid & Quick Actions */
@media (max-width: 1366px) {
    .fin-mid-grid {
        grid-template-columns: 1.8fr 1fr;
    }
    .fin-metrics-sidebar {
        grid-column: span 2;
    }
    .metric-grid-2x2 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .fin-mid-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .fin-metrics-sidebar {
        grid-column: span 1;
        margin-top: 10px;
    }
    .metric-grid-2x2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .metric-grid-2x2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .quick-actions-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .qa-btn {
        padding: 12px 15px;
        gap: 10px;
        border-radius: 12px;
    }
    
    .qa-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
        border-radius: 8px;
    }
    
    .qa-title {
        font-size: 11px;
    }
    
    .qa-desc {
        display: none;
    }
}

@media (max-width: 480px) {
    .metric-grid-2x2 {
        grid-template-columns: 1fr;
    }
}
/* === Merged from finance_page.css (split index refactor) === */

        /* Force standard styling for date inputs */
        input[type="date"] {
            position: relative;
        }

        .search-results-box {
            position: absolute;
            background: #111827; /* Dark slate matching theme */
            border: 1px solid rgba(255, 255, 255, 0.1);
            width: 100%;
            max-height: 200px;
            overflow-y: auto;
            z-index: 10000;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.5);
            border-radius: 8px;
            display: none;
            margin-top: 4px;
        }

        .search-result-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 14px;
            cursor: pointer;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            font-size: 12px;
            color: #ccc;
            transition: all 0.15s ease;
            text-align: left;
        }

        .search-result-item:hover {
            background: rgba(251, 191, 36, 0.15); /* Translucent gold hover */
            color: #fff;
        }

        .search-result-item:last-child {
            border-bottom: none;
        }
    
