:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --bg-body: #ffffff;
    --text-main: #1e293b;
    --text-dim: #64748b;
    --income: #16a34a;
    --expense: #dc2626;
    --card-border: #e2e8f0;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, sans-serif;
    min-height: 100vh;
}

.navbar {
    background-color: #f8f9fa;
    border-bottom: 1px solid var(--card-border);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary) !important;
}

.card {
    border: 1px solid var(--card-border);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.label {
    color: var(--text-dim);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.value {
    font-size: 1.75rem;
    font-weight: 700;
}

.value.balance {
    color: var(--primary);
}

.value.income {
    color: var(--income);
}

.value.expense {
    color: var(--expense);
}

.section-title {
    font-size: 1.25rem;
    margin: 2.5rem 0 1.25rem;
    font-weight: 700;
    color: var(--text-main);
}

/* Table custom styling */
.table {
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
}

.table thead th {
    background-color: #f8f9fa;
    color: var(--text-dim);
    font-weight: 600;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--card-border);
    padding: 0.5rem 1rem;
    text-align: center;
}

.table tbody td {
    padding: 0.5rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--card-border);
}

.text-center {
    text-align: center;
}

.text-end {
    text-align: right;
}

.amount.income {
    color: var(--income);
}

.amount.expense {
    color: var(--expense);
}

.row-balance {
    color: var(--primary);
}