:root {
    --hrm-primary: #0d6efd;
    --hrm-sidebar-width: 240px;
    --hrm-bottom-nav-height: 64px;
}

body {
    background-color: #f4f6f9;
}

.auth-body {
    background: linear-gradient(160deg, #eef2ff 0%, #f8f9fa 60%);
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--hrm-primary);
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto;
}

/* ---------- Admin desktop layout ---------- */
.hrm-sidebar {
    width: var(--hrm-sidebar-width);
    min-height: 100vh;
    background: #fff;
    border-right: 1px solid #e9ecef;
    position: sticky;
    top: 0;
}

.hrm-sidebar .nav-link {
    color: #495057;
    border-radius: 8px;
    margin-bottom: 2px;
    padding: 0.55rem 0.85rem;
}

.hrm-sidebar .nav-link.active {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--hrm-primary);
    font-weight: 600;
}

.hrm-sidebar .nav-link:hover {
    background-color: #f1f3f5;
}

.kpi-card {
    border: none;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

/* ---------- Mobile employee layout ---------- */
.hrm-mobile-wrapper {
    max-width: 480px;
    margin: 0 auto;
    padding-bottom: calc(var(--hrm-bottom-nav-height) + 1rem);
    min-height: 100vh;
    background: #f4f6f9;
}

.hrm-mobile-topbar {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: #fff;
    border-bottom: 1px solid #e9ecef;
}

.hrm-bottom-nav {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 100%;
    max-width: 480px;
    height: var(--hrm-bottom-nav-height);
    background: #fff;
    border-top: 1px solid #e9ecef;
    display: flex;
    z-index: 1030;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.04);
}

.hrm-bottom-nav .nav-item-mobile {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #868e96;
    text-decoration: none;
    font-size: 0.7rem;
    gap: 2px;
}

.hrm-bottom-nav .nav-item-mobile.active {
    color: var(--hrm-primary);
    font-weight: 600;
}

.hrm-bottom-nav .nav-item-mobile i {
    font-size: 1.2rem;
}

.mobile-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.mobile-card .card-body {
    padding: 1rem 1.1rem;
}

.btn-mobile-lg {
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font-weight: 600;
}

.status-badge {
    font-size: 0.72rem;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
}
