body {
    font-family: Inter, Arial, sans-serif;
    background: linear-gradient(180deg, #eef2ff, #f7f9fc);
    margin: 0;
    color: #111827;
}

.topbar {
    background: linear-gradient(90deg, #2563eb, #1e40af);
    color: white;
    padding: 16px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.topbar .brand {
    font-size: 22px;
    font-weight: 700;
}

.topbar .subtitle {
    font-size: 13px;
    opacity: 0.9;
}

.container {
    max-width: 1400px;
    margin: auto;
    padding: 24px;
}

/* Filters */

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
    background: white;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    margin-bottom: 22px;
}

.filter-group label {
    font-size: 12px;
    color: #555;
    display: block;
    margin-bottom: 4px;
}

.filters select, 
.filters button {
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.filter-actions {
    display: flex;
    gap: 10px;
}

.filters button {
    background: #2563eb;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filters button:hover {
    transform: translateY(-1px);
    background: #1e40af;
}

.filters .danger {
    background: #dc2626;
}

.filters .danger:hover {
    background: #b91c1c;
}

.filter-info {
    font-size: 13px;
    color: #555;
    margin-left: auto;
}

/* KPI */

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px,1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.kpi-card {
    background: white;
    padding: 16px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.kpi-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.kpi-card h3 {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 6px;
}

.kpi-card p {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
}

.kpi-card.accent {
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
}

.kpi-card.highlight {
    background: linear-gradient(135deg, #ecfeff, #cffafe);
}

/* Charts */

.chart-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 30px;
}

.chart-card {
    background: white;
    padding: 18px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.07);
}

.chart-card h3 {
    margin-bottom: 10px;
}

/* Tables */

.section-title {
    margin-top: 30px;
    margin-bottom: 8px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

th, td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: center;
    font-size: 14px;
}

th {
    background: #f1f5f9;
    font-weight: 600;
}

tbody tr:hover {
    background: #f8fafc;
}

.footer {
    background: linear-gradient(90deg, #2563eb, #1e40af);
    color: #f1f5f9;
    padding: 14px 24px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.12);
    border-top: 1px solid rgba(255,255,255,0.12);
}

.footer a {
    color: #e0f2fe;
    text-decoration: none;
    font-weight: 600;
    margin-left: 6px;
    transition: all 0.25s ease;
}

.footer a:hover {
    color: #ffffff;
    text-decoration: underline;
    transform: translateY(-1px);
}
