body {
    font-family: Arial, sans-serif;
    background: #f4f6f9;
    margin: 0;
    padding: 0;
    color: #333;
}

.container {
    width: 88%;
    max-width: 1200px;
    margin: 30px auto;
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

h1 {
    margin-top: 0;
    color: #222;
}

h2, h3 {
    color: #333;
    margin-bottom: 10px;
}

nav {
    margin: 15px 0 25px 0;
}

nav a {
    text-decoration: none;
    margin-right: 14px;
    color: #0066cc;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

form input,
form select,
form button {
    padding: 10px;
    margin-bottom: 12px;
    width: 100%;
    max-width: 420px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

form button {
    background: #0066cc;
    color: white;
    border: none;
    cursor: pointer;
}

form button:hover {
    background: #004c99;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background: white;
}

table th,
table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

table th {
    background: #f0f4f8;
}

a {
    color: #0066cc;
}

p {
    line-height: 1.5;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.quick-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.quick-actions a {
    background: #0066cc;
    color: #fff;
    padding: 10px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
}

.quick-actions a:hover {
    background: #004c99;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.stat-card {
    background: #f7f9fc;
    border: 1px solid #e3e8ef;
    border-radius: 10px;
    padding: 20px;
}

.stat-card p {
    font-size: 24px;
    font-weight: bold;
    margin: 8px 0 0 0;
}

.alert-card {
    background: #fff3f3;
    border-color: #f3caca;
}

.chart-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.chart-card,
.table-card {
    background: #ffffff;
    border: 1px solid #e3e8ef;
    border-radius: 10px;
    padding: 20px;
}

canvas {
    width: 100% !important;
    max-height: 320px;
}

@media (max-width: 768px) {
    .chart-section {
        grid-template-columns: 1fr;
    }

    .container {
        width: 94%;
        padding: 15px;
    }
}