:root {
    --hrm-primary: #0d6efd;
    --hrm-sidebar-width: 240px;
}

body {
    background-color: #f4f6f9;
}

.auth-body {
    background: linear-gradient(135deg, #eef2ff 0%, #f4f6f9 100%);
}

.login-card {
    width: 100%;
    max-width: 380px;
}

.app-navbar {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    height: 60px;
}

.app-body {
    min-height: calc(100vh - 60px);
}

.app-sidebar {
    width: var(--hrm-sidebar-width);
    background: #fff;
    border-right: 1px solid #e9ecef;
}

.app-sidebar .nav-link {
    color: #495057;
    padding: 0.65rem 1.25rem;
    border-left: 3px solid transparent;
}

.app-sidebar .nav-link.active,
.app-sidebar .nav-link:hover {
    color: var(--hrm-primary);
    background: #eef4ff;
    border-left-color: var(--hrm-primary);
}

.app-sidebar .nav-section-label {
    padding: 0.75rem 1.25rem 0.25rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #adb5bd;
    font-weight: 600;
}

.app-main {
    flex: 1;
    min-width: 0;
}

.stat-card .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-card .stat-label {
    color: #6c757d;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.app-footer {
    background: #fff;
    border-top: 1px solid #e9ecef;
}

/* Mobile: sidebar becomes an offcanvas (handled by Bootstrap's
   .offcanvas-lg utility classes already applied in header.php) */
@media (max-width: 991.98px) {
    .app-sidebar {
        width: 260px;
    }
}
