/* ------------------------------------------------------------------ */
/* Variables                                                           */
/* ------------------------------------------------------------------ */

:root {
    --ink: #0f0f0f;
    --ink-soft: #2d2d2d;
    --ink-muted: #6b6b6b;
    --ink-faint: #a0a0a0;
    --paper: #f7f6f3;
    --paper-warm: #f0ede6;
    --paper-card: #ffffff;
    --accent: #1a472a;
    --accent-light: #e8f0eb;
    --accent-2: #c17f24;
    --accent-2-light: #fdf3e3;
    --danger: #c0392b;
    --danger-light: #fdecea;
    --border: #e4e1da;
    --border-soft: #eeebe4;
    --neon-green: #00E58F;
    --neon-green-light: #E6FBF0;
    --neon-green-dark: #00C47A;
    --bg-gray: #F5F5F3;

    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;

    --max-width: 1200px;
    --auth-width: 440px;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

/* ------------------------------------------------------------------ */
/* Reset                                                               */
/* ------------------------------------------------------------------ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

/* ------------------------------------------------------------------ */
/* Navbar                                                              */
/* ------------------------------------------------------------------ */

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--paper);
    border-bottom: 1px solid var(--border-soft);
    padding: 0 2rem;
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--ink);
}

.brand-icon {
    color: var(--accent);
    font-size: 1.3rem;
}

.brand-name { color: var(--ink); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-links a { color: var(--ink-muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }

.nav-cta {
    background: var(--ink) !important;
    color: var(--paper) !important;
    padding: 0.45rem 1.1rem;
    border-radius: var(--radius-sm);
    transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--accent) !important; }

/* Hamburger toggle (hidden on desktop) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 9px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle.open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------------ */
/* Main                                                                */
/* ------------------------------------------------------------------ */

.main-content { min-height: calc(100vh - 60px - 100px); }

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */

.hero {
    padding: 6rem 2rem 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge-new {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    margin-bottom: 2rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--ink-faint);
    font-weight: 400;
}

.hero-title .title-accent {
    color: var(--accent);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--ink-muted);
    line-height: 1.6;
    max-width: 520px;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 3.5rem;
}

/* ------------------------------------------------------------------ */
/* Mock card (hero visual)                                             */
/* ------------------------------------------------------------------ */

.hero-visual {
    display: flex;
    justify-content: center;
    width: 100%;
}

.mock-card {
    background: var(--paper-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}

.mock-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-soft);
}

.mock-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mock-total {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--ink);
}

.mock-bars { display: flex; flex-direction: column; gap: 1rem; }

.mock-bar-row {
    display: grid;
    grid-template-columns: 80px 1fr 60px;
    align-items: center;
    gap: 0.75rem;
}

.mock-cat {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--ink-soft);
}

.mock-bar-track {
    height: 6px;
    background: var(--border-soft);
    border-radius: 999px;
    overflow: hidden;
}

.mock-bar {
    height: 100%;
    background: var(--accent);
    border-radius: 999px;
    transition: width 0.6s ease;
}

.mock-bar-2 { background: var(--accent-2); }
.mock-bar-3 { background: #5b7fa6; }
.mock-bar-4 { background: #8b5e83; }

.mock-amt {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--ink-muted);
    text-align: right;
}

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */

.btn-primary {
    display: inline-block;
    background: var(--ink);
    color: var(--paper);
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
    text-decoration: none;
}

.btn-primary:hover { background: var(--accent); }

.btn-ghost {
    display: inline-block;
    background: transparent;
    color: var(--ink-soft);
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border);
    transition: all 0.2s;
    text-decoration: none;
}

.btn-ghost:hover {
    border-color: var(--ink);
    color: var(--ink);
}

/* ------------------------------------------------------------------ */
/* Features section                                                    */
/* ------------------------------------------------------------------ */

.features {
    background: var(--paper-warm);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 5rem 2rem;
}

.features-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--paper-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--ink);
    margin-bottom: 0.75rem;
}

.feature-body {
    font-size: 0.9rem;
    color: var(--ink-muted);
    line-height: 1.7;
}

/* ------------------------------------------------------------------ */
/* CTA section                                                         */
/* ------------------------------------------------------------------ */

.cta-section {
    padding: 6rem 2rem;
    text-align: center;
    background: var(--bg-gray);
}

.cta-inner {
    max-width: 560px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-body);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-body {
    font-size: 1.05rem;
    color: var(--ink-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* ------------------------------------------------------------------ */
/* Auth pages                                                          */
/* ------------------------------------------------------------------ */

.auth-section {
    min-height: calc(100vh - 60px - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
}

.auth-container {
    width: 100%;
    max-width: var(--auth-width);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--ink);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    font-size: 0.9rem;
    color: var(--ink-muted);
}

.auth-card {
    background: var(--paper-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.auth-error {
    background: var(--danger-light);
    color: var(--danger);
    border: 1px solid #f5c6c2;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ink-soft);
    margin-bottom: 0.4rem;
}

.form-input {
    width: 100%;
    padding: 0.6rem 0.875rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--ink);
    background: var(--paper);
    outline: none;
    transition: border-color 0.2s;
}

.form-input:focus { border-color: var(--accent); }

.form-input::placeholder { color: var(--ink-faint); }

.btn-submit {
    width: 100%;
    padding: 0.7rem;
    background: var(--ink);
    color: var(--paper);
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 0.5rem;
}

.btn-submit:hover { background: var(--accent); }

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--ink-faint);
    font-size: 0.8rem;
    margin: 1.25rem 0;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-divider span {
    padding: 0 0.75rem;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.7rem;
    background: var(--paper-card);
    color: var(--ink);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.btn-google:hover {
    background: var(--paper-warm);
    border-color: var(--ink-faint);
}

.btn-google-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.auth-switch {
    text-align: center;
    font-size: 0.875rem;
    color: var(--ink-muted);
}

.auth-switch a {
    color: var(--accent);
    font-weight: 500;
}

.auth-switch a:hover { text-decoration: underline; }

/* Password-reset link row + resend-verification button */
.form-meta {
    display: flex;
    justify-content: flex-end;
    margin: -0.5rem 0 1.25rem;
}

.form-link {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 500;
}

.form-link:hover { text-decoration: underline; }

.resend-verify {
    margin-bottom: 1.25rem;
    text-align: center;
}

.btn-link {
    background: none;
    border: none;
    padding: 0;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    cursor: pointer;
}

.btn-link:hover { text-decoration: underline; }

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */

.footer {
    background: var(--ink);
    color: var(--paper);
    padding: 2.5rem 2rem;
    text-align: center;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.footer .brand-icon { color: var(--accent-2); font-size: 1.5rem; }

.footer-name {
    font-weight: 600;
    font-size: 1rem;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--ink-faint);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.footer-links a {
    color: var(--ink-faint);
    font-size: 0.8rem;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--paper);
    text-decoration: underline;
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */

@media (max-width: 900px) {
    .hero { padding: 4rem 1.5rem 3rem; }
    .hero-subtitle { max-width: 100%; }
    .hero-visual { display: none; }
    .features-inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .navbar { padding: 0 1rem; }

    /* Show hamburger, turn nav links into a dropdown panel */
    .nav-toggle { display: flex; }

    .nav-links {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem 1rem 1rem;
        background: var(--paper);
        border-bottom: 1px solid var(--border-soft);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

    .nav-links.open { display: flex; }

    .nav-links a {
        padding: 0.85rem 0.5rem;
        border-bottom: 1px solid var(--border-soft);
        font-size: 1rem;
    }

    .nav-links a:last-child { border-bottom: none; }

    .nav-cta {
        text-align: center;
        margin-top: 0.5rem;
        padding: 0.75rem 1.1rem !important;
    }

    .hero { padding: 3rem 1rem 2rem; }
    .hero-title { font-size: 2.5rem; }
    .hero-badge-new { font-size: 0.7rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .hero { padding: 2.5rem 1rem 1.75rem; }

    /* Prevent iOS zoom on focus by keeping inputs at 16px */
    .form-input,
    .form-group input,
    .form-group select,
    .date-input {
        font-size: 16px;
    }
}

/* ------------------------------------------------------------------ */
/* Profile page                                                         */
/* ------------------------------------------------------------------ */

.profile-page {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Profile Header */
.profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-soft);
}

.profile-avatar {
    width: 72px;
    height: 72px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    flex-shrink: 0;
}

.profile-info h1 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 0.25rem;
}

.profile-info p {
    font-size: 0.9rem;
    color: var(--ink-muted);
    margin-bottom: 0.25rem;
}

.profile-joined {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--ink-faint);
}

.profile-joined i {
    width: 14px;
    height: 14px;
}

/* Sections */
.profile-section {
    margin-bottom: 2.5rem;
}

.profile-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.section-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.profile-section-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-section-title i {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-card {
    background: var(--paper-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--border-soft);
}

.stat-card.primary::before { background: var(--accent); }
.stat-card.secondary::before { background: var(--accent-2); }
.stat-card.neutral::before { background: var(--ink-faint); }

.stat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--ink-muted);
}

.stat-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gray);
}

.stat-icon i {
    width: 16px;
    height: 16px;
    color: var(--ink-soft);
}

.stat-value {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}

.stat-value-small {
    font-size: 1.1rem;
}

.stat-delta {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.stat-delta i {
    width: 12px;
    height: 12px;
}

.stat-delta.up { color: var(--danger); }
.stat-delta.down { color: var(--accent); }
.stat-delta.neutral { color: var(--ink-faint); }

.stat-delta span {
    color: var(--ink-muted);
    font-weight: 400;
}

/* Category Breakdown */
.categories-card {
    background: var(--paper-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.category-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-soft);
}

.category-item:last-child { border-bottom: none; }

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.category-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink-soft);
}

.category-name i {
    width: 14px;
    height: 14px;
    color: var(--ink-muted);
}

.category-amount {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.category-bar-track {
    height: 6px;
    background: var(--bg-gray);
    border-radius: 999px;
    overflow: hidden;
}

.category-bar {
    height: 100%;
    background: var(--accent);
    border-radius: 999px;
    transition: width 0.4s ease;
}

.category-bar.secondary { background: var(--accent-2); }
.category-bar.tertiary { background: var(--ink-faint); }

/* Expenses List */
.expenses-list {
    background: var(--paper-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.expense-item {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-soft);
    transition: background 0.15s;
}

.expense-item:last-child { border-bottom: none; }
.expense-item:hover { background: var(--paper); }

.expense-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.expense-icon i {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.expense-details {
    min-width: 0;
}

.expense-desc {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink-soft);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.expense-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.expense-category {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: var(--accent-light);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.expense-date {
    font-size: 0.75rem;
    color: var(--ink-faint);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.expense-date i {
    width: 12px;
    height: 12px;
}

.expense-amount {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    text-align: right;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3.5rem 2rem;
}

.empty-state-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    background: var(--bg-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-state-icon i {
    width: 24px;
    height: 24px;
    color: var(--ink-faint);
}

.empty-state h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--ink-soft);
    margin-bottom: 0.5rem;
}

.empty-state p {
    font-size: 0.875rem;
    color: var(--ink-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-joined {
        justify-content: center;
    }

    .expense-item {
        grid-template-columns: auto 1fr auto;
    }

    .expense-date { display: none; }

    .profile-section-header {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .auth-section { padding: 2rem 1rem; }
    .auth-card { padding: 1.5rem; }
}

@media (max-width: 480px) {
    .profile-page { padding: 2rem 1rem; }
    .stat-value { font-size: 1.5rem; }

    .expense-item {
        grid-template-columns: auto 1fr;
        gap: 0.75rem;
        padding: 0.875rem 1rem;
    }

    .expense-amount {
        grid-column: 2;
        text-align: left;
        margin-left: 48px;
    }

    .category-item { padding: 0.875rem 1rem; }

    .auth-title { font-size: 1.6rem; }

    .expense-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.25rem;
    }
}

/* Action buttons in expenses table */
.btn-edit, .btn-delete {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s;
    margin-right: 0.5rem;
    font-family: var(--font-body);
    display: inline-block;
}

.btn-edit {
    background: var(--accent-light);
    color: var(--accent);
    text-decoration: none;
}

.btn-edit:hover {
    background: var(--accent);
    color: var(--paper);
}

.btn-delete {
    background: var(--danger-light);
    color: var(--danger);
}

.btn-delete:hover {
    background: var(--danger);
    color: var(--paper);
}

