* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: #f4f6f9;
    color: #222;
}

/* Header */

header {
    background: #1f2937;
    color: white;
    padding: 35px 20px;
    text-align: center;
}

header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

header p {
    font-size: 17px;
    opacity: 0.9;
}

/* Main */

main {
    width: 92%;
    max-width: 1300px;
    margin: 30px auto;
}

/* Introduction */

.intro {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.intro h2 {
    margin-bottom: 12px;
}

.intro p {
    line-height: 1.7;
    color: #555;
}

/* Controls */

.controls {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

button {
    border: none;
    padding: 13px 22px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    background: #2563eb;
    color: white;
}

button:hover {
    opacity: 0.85;
}

/* KPI */

.kpi-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.kpi-card {
    background: white;
    padding: 20px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.kpi-card h3 {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.kpi-card p {
    font-size: 25px;
    font-weight: bold;
}

/* Status */

.status-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.status-section h2 {
    margin-bottom: 15px;
}

.status {
    padding: 15px;
    background: #e8f5e9;
    border-radius: 8px;
    color: #1b5e20;
    font-weight: bold;
}

/* Charts */

.charts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.chart-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.chart-card h2 {
    margin-bottom: 20px;
    font-size: 20px;
}

.chart-card:last-child {
    grid-column: 1 / 3;
}

/* Tables */

.table-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.table-section h2 {
    margin-bottom: 20px;
}

.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

th {
    background: #1f2937;
    color: white;
    padding: 12px;
    text-align: left;
}

td {
    padding: 11px;
    border-bottom: 1px solid #ddd;
}

tr:nth-child(even) {
    background: #f8f8f8;
}

/* Process */

.process {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.process h2 {
    margin-bottom: 20px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.process-card {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
}

.process-card span {
    display: inline-flex;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #2563eb;
    color: white;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 12px;
}

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

.process-card p {
    color: #666;
    line-height: 1.5;
}

/* Footer */

footer {
    background: #1f2937;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* Responsive */

@media (max-width: 1000px) {

    .kpi-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {

    header h1 {
        font-size: 24px;
    }

    .kpi-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .charts {
        grid-template-columns: 1fr;
    }

    .chart-card:last-child {
        grid-column: auto;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 450px) {

    .kpi-container {
        grid-template-columns: 1fr;
    }

    main {
        width: 95%;
    }
}