/* ── Layout ─────────────────────────────────────────── */
body {
    font-size: 0.9rem;
}

/* ── Summary Cards ─────────────────────────────────── */
.summary-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.summary-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.1) !important;
}
.summary-card .fs-2 {
    font-size: 2rem !important;
    margin-bottom: .25rem;
}

/* ── Expense Table ──────────────────────────────────── */
.expense-table tbody tr {
    transition: background-color 0.2s;
}
.expense-table tbody tr.paid td {
    text-decoration: line-through;
    color: #6c757d !important;
    opacity: 0.75;
}
.expense-table tbody tr.not-due {
    opacity: 0.6;
}
.expense-table tbody tr.paid .expense-amount {
    text-decoration: line-through;
}

/* ── Toggle button ──────────────────────────────────── */
.btn-toggle-paid {
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s;
}
.btn-toggle-paid:hover {
    transform: scale(1.15);
}

/* ── Custom card header colours ────────────────────── */
.bg-warning-custom {
    background-color: #e6a817 !important;
}
.bg-info-custom {
    background-color: #0f8fa8 !important;
}

/* ── Navbar active item ─────────────────────────────── */
.navbar-nav .nav-link.active {
    background: rgba(255,255,255,.2);
    border-radius: .375rem;
}

/* ── Tables ─────────────────────────────────────────── */
.table th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #6c757d;
    font-weight: 600;
}

/* ── Cards ──────────────────────────────────────────── */
.card {
    border-radius: .75rem !important;
}
.card-header {
    border-radius: .75rem .75rem 0 0 !important;
    padding: .6rem 1rem;
}
