body {
    background: #f3f6fb;
}

.dashboard-main {
    padding: 32px 0;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
}

.sidebar {
    background: #131a2b;
    color: white;
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 80vh;
}

.sidebar h2 {
    font-size: 20px;
    margin-bottom: 8px;
}

.sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar nav a {
    color: #cfd6f3;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 12px;
}

.sidebar nav a.active,
.sidebar nav a:hover {
    background: rgba(255,255,255,0.12);
    color: white;
}

.sidebar-card {
    margin-top: auto;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 12px;
    font-size: 14px;
}

.dashboard-content {
    background: white;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 25px 60px rgba(15, 15, 55, 0.08);
}

.summary {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 10px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

th {
    background: #f6f5ff;
    font-weight: 700;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    background: #efe9ff;
    color: #4d2ec7;
    font-size: 12px;
}

.form-inline {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    margin-bottom: 12px;
}

.chart {
    display: grid;
    gap: 6px;
}

.bar {
    background: #efe9ff;
    border-radius: 8px;
    overflow: hidden;
    height: 12px;
}

.bar span {
    display: block;
    height: 100%;
    background: var(--violet);
}

.cards-inline {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.employee-cards {
    margin-top: 16px;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.employee-card {
    background: #f8f9ff;
    border-radius: 14px;
    padding: 16px;
    box-shadow: inset 0 0 0 1px #e2e6ff;
}

.employee-card h4 {
    margin-bottom: 6px;
}

.employee-card p {
    margin: 2px 0;
}

@media (max-width: 900px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
    }
    .sidebar {
        min-height: auto;
    }
}
