:root {
    --brand: #2f5233;
    --brand-light: #4c7a52;
    --brand-bg: #f4f7f2;
}
body {
    background: var(--brand-bg);
    font-family: 'Segoe UI', Roboto, sans-serif;
}
.topbar {
    background: var(--brand);
}
.sidebar-wrap {
    width: 230px;
    background: #fff;
    border-right: 1px solid #e3e8e1;
}
.sidebar .nav-link {
    color: #33422f;
    font-weight: 500;
    border-radius: 8px;
    padding: 10px 14px;
}
.sidebar .nav-link i {
    width: 20px;
}
.sidebar .nav-link:hover {
    background: #eef3ec;
}
.sidebar .nav-link.active {
    background: var(--brand);
    color: #fff;
}
.content-area {
    padding: 20px;
    min-height: calc(100vh - 56px);
}
.card-stat {
    border: none;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    padding: 18px;
    background: #fff;
    height: 100%;
}
.card-stat .stat-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    color: #fff;
}
.card-stat .stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: #263826;
}
.card-stat .stat-label {
    color: #6b7a6b;
    font-size: 0.85rem;
}
.table-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    padding: 18px;
}
.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2f5233, #4c7a52);
}
.login-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    width: 380px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
@media (max-width: 991px) {
    .sidebar-wrap { width: 260px; }
}
