* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fb;
    color: #333;
    margin-left: 250px;
    padding-top: 60px;
    transition: margin-left .3s;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,.08);
}

.page-title {
    font-size: 26px;
    font-weight: 600;
    color: #1b4332;
    margin-bottom: 16px;
}

.filters {
    background: #f0f5f2;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    gap: 20px;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.filter-group label {
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 6px;
}

select, input[type="date"], input[type="number"] {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #cbd5ce;
    width: 200px;
}

button {
    background: #40916c;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: .2s;
}
button:hover {
    background: #1b4332;
}

#chartStatus {
    margin-top: 15px;
    display: block;
}
.error, .no-data {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    text-align:center;
    font-weight: 600;
}
.error { background: #ffdddd; border-left: 4px solid #d00000; }
.no-data { background: #fff3cd; border-left: 4px solid #e09f00; }
.loading { text-align: center; color: #1d6ea9; }

.table-container {
    margin-top: 20px;
    overflow-x: auto;
}

.table-container table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    border-radius: 10px;
    overflow: hidden;
}

.table-container thead {
    background: #2b9348;
    color: white;
}

.table-container th, .table-container td {
    padding: 13px;
    border-bottom: 1px solid #dfe7dd;
}

.table-container th {
    text-transform: capitalize;
    font-size: 14px;
    letter-spacing: .5px;
    font-weight: bold;
}

.table-container tbody tr:nth-child(even) {
    background: #edf6ec;
}

.table-container tbody tr:hover {
    background-color: #d8f3dc;
    cursor: pointer;
    transition: .2s;
}

.table-container td:nth-child(n+2) {
    text-align: right;
}

@media (max-width: 768px) {
    select, input { width: 100%; }
    button { width: 100%; }
    .filters { flex-direction: column; }
}
