:root {
    --brand: #0d6efd;
    --brand-dark: #0a4fb3;
}

body {
    font-family: "Segoe UI", Tahoma, "Cairo", sans-serif;
    background-color: #f4f6f9;
}

.app-navbar {
    background: linear-gradient(90deg, var(--brand-dark), var(--brand));
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
}

.stat-card {
    border: none;
    border-radius: .75rem;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    transition: transform .12s ease;
}
.stat-card:hover { transform: translateY(-3px); }
.stat-card .stat-value { font-size: 1.6rem; font-weight: 700; }
.stat-card .stat-icon { font-size: 2rem; opacity: .35; }

.card {
    border: none;
    border-radius: .75rem;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

.table thead th { background-color: #f1f3f5; white-space: nowrap; }

.badge-status-active { background-color: #198754; }
.badge-status-completed { background-color: #6c757d; }
.badge-status-cancelled { background-color: #dc3545; }

tr.row-paid { background-color: #e8f7ee !important; }
tr.row-overdue { background-color: #fdecea !important; }

.money { font-variant-numeric: tabular-nums; white-space: nowrap; }

.calc-table td { padding: .4rem .75rem; }
.calc-table .calc-label { color: #6c757d; }
.calc-result { font-weight: 700; color: var(--brand-dark); }

.required-star { color: #dc3545; }
