/* ===== LeanCraft Brand CSS ===== */

:root {
    /* Blue scale */
    --lc-blue-50: #EFF6FF;
    --lc-blue-100: #DBEAFE;
    --lc-blue-200: #BFDBFE;
    --lc-blue-300: #93C5FD;
    --lc-blue-400: #60A5FA;
    --lc-blue-500: #3B82F6;
    --lc-blue-600: #2563EB;
    --lc-blue-700: #1D4ED8;
    --lc-blue-800: #1E40AF;
    --lc-blue-900: #1E3A8A;

    /* Neutral scale */
    --lc-neutral-50: #F8FAFC;
    --lc-neutral-100: #F1F5F9;
    --lc-neutral-200: #E2E8F0;
    --lc-neutral-300: #CBD5E1;
    --lc-neutral-400: #94A3B8;
    --lc-neutral-500: #64748B;
    --lc-neutral-600: #475569;
    --lc-neutral-700: #334155;
    --lc-neutral-800: #1E293B;
    --lc-neutral-900: #0F172A;

    /* Semantic colors */
    --lc-income: #22C55E;
    --lc-expense: #EF4444;
    --lc-success: #22C55E;
    --lc-danger: #EF4444;
    --lc-warning: #F59E0B;

    /* Font stacks */
    --lc-font-mono: 'JetBrains Mono', monospace;

    /* Auth page gradient */
    --lc-auth-gradient: linear-gradient(135deg, #3B82F6 0%, #1E3A8A 100%);
}

/* Monospace utility */
.lc-mono {
    font-family: var(--lc-font-mono);
    font-variant-numeric: tabular-nums;
}

/* Financial color utilities */
.lc-income {
    color: var(--lc-income);
}

.lc-expense {
    color: var(--lc-expense);
}

/* Auth page background */
.lc-auth-bg {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lc-auth-gradient);
}

/* Table header styling */
.lc-table-header th {
    text-transform: uppercase;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em;
    color: var(--lc-neutral-500) !important;
    background-color: var(--lc-neutral-50) !important;
}

/* Sidebar nav link overrides */
.mud-drawer .mud-nav-link {
    border-radius: 8px;
    margin: 2px 8px;
    opacity: 0.7;
    transition: opacity 0.15s, background-color 0.15s;
}

.mud-drawer .mud-nav-link:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.08);
}

.mud-drawer .mud-nav-link.active {
    opacity: 1;
    background-color: rgba(59, 130, 246, 0.2);
}

/* AppBar styling */
.mud-appbar {
    border-bottom: none;
}

/* Main content background */
.mud-main-content {
    background-color: var(--lc-neutral-50);
}

/* Logo area in drawer */
.lc-drawer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    min-height: 64px;
}

/* Dark mode overrides */
@media (prefers-color-scheme: dark) {
    :root {
        --lc-neutral-50: #1E293B;
        --lc-neutral-100: #334155;
    }

    .lc-auth-bg {
        background: linear-gradient(135deg, #1E3A8A 0%, #0F172A 100%);
    }

    .mud-appbar {
        border-bottom: none;
    }
}
