/* iLoveDanceShoes Dashboard — Bootstrap 5 overrides */

body {
    background-color: #f8f9fa;
}

/* Nav */
.navbar-brand {
    font-weight: 700;
}

/* KPI cards */
.kpi-card {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.kpi-card .card-body {
    padding: 1.25rem;
}
.kpi-value {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0;
}
.kpi-label {
    font-size: 0.85rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

/* KPI color accents */
.kpi-revenue { border-left: 4px solid #198754; }
.kpi-revenue .kpi-value { color: #198754; }

.kpi-expenses { border-left: 4px solid #dc3545; }
.kpi-expenses .kpi-value { color: #dc3545; }

.kpi-net-positive { border-left: 4px solid #198754; }
.kpi-net-positive .kpi-value { color: #198754; }
.kpi-net-negative { border-left: 4px solid #dc3545; }
.kpi-net-negative .kpi-value { color: #dc3545; }

.kpi-review { border-left: 4px solid #fd7e14; }
.kpi-review .kpi-value { color: #fd7e14; }

/* Chart containers */
.chart-container {
    position: relative;
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}
.chart-container h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #495057;
}

/* Review badge */
.review-badge {
    font-size: 0.7rem;
    padding: 0.2em 0.55em;
    vertical-align: top;
    margin-left: 0.25rem;
}

/* Login card */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-card {
    max-width: 400px;
    width: 100%;
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* Quarter selector */
.quarter-select {
    max-width: 280px;
}

/* Tax summary table */
.tax-table th {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6c757d;
}

/* Loading spinner */
.loading-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

/* ── Wave 3: Transactions, Review, Export ────────── */

/* Filter bar */
.filter-bar {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.filter-bar select,
.filter-bar input {
    max-width: 200px;
}

/* Status badges */
.status-ok { color: #198754; font-weight: 600; }
.status-warning { color: #fd7e14; font-weight: 600; }
.status-reviewed { color: #0d6efd; font-weight: 600; }

/* Review cards */
.review-card {
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 1.25rem;
}
.review-card .review-meta {
    font-size: 0.9rem;
    color: #495057;
    margin-bottom: 0.25rem;
}

/* Review progress */
.progress-section {
    padding-top: 0.5rem;
    padding-bottom: 0.25rem;
}

/* Export cards */
.export-card {
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 1.25rem;
}
.export-card h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #495057;
}
.export-card .btn {
    min-width: 140px;
}

/* DataTables Bootstrap 5 fit */
.dataTables_wrapper {
    padding: 0;
}
.dataTables_wrapper .row {
    margin: 0;
}
