/* Professional Report Pages — Sales / Expense / Loyalty */

.report-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}

.report-header h1 {
    font-weight: 700;
    font-size: 1.75rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.report-header h1 i {
    color: #ff661a;
}

.report-filter-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.report-filter-card label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 0.3rem;
}

.stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.stat-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.1rem 1.3rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #ff661a;
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.stat-card .stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
}

.stat-card .stat-label {
    font-size: 0.76rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin: 0 0 0.15rem;
}

.stat-card .stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #222;
    margin: 0;
}

.stat-icon.bg-sales { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.stat-icon.bg-cogs { background: linear-gradient(135deg, #f59e0b, #d97706); }
.stat-icon.bg-profit { background: linear-gradient(135deg, #10b981, #059669); }
.stat-icon.bg-count { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.stat-icon.bg-expense { background: linear-gradient(135deg, #ef4444, #dc2626); }
.stat-icon.bg-points { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }

.report-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.75rem;
    overflow: hidden;
}

.report-card .report-card-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
}

.report-card .report-card-header i {
    color: #ff661a;
}

.report-card .report-card-body {
    padding: 1.25rem;
}

.report-table thead th {
    background: #fff5ee;
    color: #444;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-bottom: 2px solid #ff661a;
    white-space: nowrap;
    vertical-align: middle;
}

.report-table tbody tr:hover {
    background: #fff8f3;
}

.report-download-btns .btn {
    border-radius: 7px;
    font-weight: 600;
    font-size: 0.85rem;
}

.chart-wrapper {
    position: relative;
    height: 320px;
}

.chart-wrapper.chart-wrapper-sm {
    height: 280px;
}

@media (max-width: 576px) {
    .stat-cards {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
    .report-header h1 {
        font-size: 1.4rem;
    }
}
