:root {
    --onehr-ink: #10243b;
    --onehr-muted: #5c7186;
    --onehr-border: rgba(16, 36, 59, 0.12);
    --onehr-primary: #006d77;
    --onehr-accent: #f7b267;
    --onehr-surface: rgba(255, 255, 255, 0.88);
    --onehr-surface-strong: #ffffff;
    --onehr-shadow: 0 20px 50px rgba(16, 36, 59, 0.14);
    --onehr-gradient: linear-gradient(135deg, #f8fbff 0%, #e8f6f7 48%, #fff6ea 100%);
}

body.onehr-shell,
body.onehr-auth {
    color: var(--onehr-ink);
    background: var(--onehr-gradient);
}

body.onehr-shell::before,
body.onehr-auth::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at top left, rgba(0, 109, 119, 0.14), transparent 35%),
        radial-gradient(circle at bottom right, rgba(247, 178, 103, 0.18), transparent 32%);
    z-index: -1;
}

.header,
.side-navbar,
.card,
.modal-content,
.main-footer {
    background: var(--onehr-surface);
    backdrop-filter: blur(18px);
    border: 1px solid var(--onehr-border);
    box-shadow: var(--onehr-shadow);
}

.header {
    border-radius: 0 0 24px 24px;
    margin: 0 18px;
}

.side-navbar {
    border-radius: 28px;
    margin: 18px 0 18px 18px;
}

.main-footer {
    border-radius: 24px;
    margin-top: 24px;
}

.onehr-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.onehr-brand__mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(0, 109, 119, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.onehr-brand__mark img {
    width: 34px;
    height: 34px;
}

.onehr-brand__title {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.onehr-brand__meta {
    display: block;
    color: var(--onehr-muted);
    font-size: 0.8rem;
}

.nav-menu .btn.btn-primary,
.btn.btn-primary,
.btn.btn-info,
.btn.btn-warning {
    border: none;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0, 109, 119, 0.16);
}

.btn.btn-primary,
.btn.btn-info {
    background: linear-gradient(135deg, #006d77, #0b8b96);
}

.btn.btn-warning {
    background: linear-gradient(135deg, #f7b267, #f48c06);
    color: #10243b;
}

.card-header,
.modal-header {
    border-bottom: 1px solid var(--onehr-border);
    background: transparent;
}

.side-menu li a,
.nav-menu a,
.forgot-pass {
    transition: all 0.2s ease;
}

.side-menu li.active > a,
.side-menu li a:hover,
.nav-menu a:hover,
.forgot-pass:hover {
    color: var(--onehr-primary);
}

.side-menu li.active > a {
    background: rgba(0, 109, 119, 0.09);
    border-radius: 14px;
}

.page.login-page {
    min-height: 100vh;
    padding: 28px 0;
    display: flex;
    align-items: center;
}

.onehr-login-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 440px);
    gap: 32px;
    align-items: stretch;
}

.onehr-login-panel,
.onehr-login-form {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--onehr-border);
    border-radius: 30px;
    box-shadow: var(--onehr-shadow);
    backdrop-filter: blur(18px);
}

.onehr-login-panel {
    padding: 42px;
    color: var(--onehr-ink);
    position: relative;
    overflow: hidden;
}

.onehr-login-panel::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -120px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(247, 178, 103, 0.2);
}

.onehr-login-form {
    padding: 36px 34px;
}

.onehr-login-kicker {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(0, 109, 119, 0.09);
    color: var(--onehr-primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.onehr-login-title {
    margin-top: 18px;
    font-size: 2.4rem;
    line-height: 1.08;
    font-weight: 800;
}

.onehr-login-copy {
    margin-top: 16px;
    color: var(--onehr-muted);
    font-size: 1rem;
    max-width: 38rem;
}

.onehr-login-points {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.onehr-login-points li {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(16, 36, 59, 0.08);
}

.onehr-login-form .logo {
    margin-bottom: 24px;
}

.onehr-dashboard-hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 18px;
    margin-bottom: 28px;
}

.onehr-hero-card,
.onehr-hero-meta {
    border-radius: 24px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--onehr-border);
}

.onehr-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(247, 178, 103, 0.18);
    color: #8a5306;
    font-size: 0.85rem;
    font-weight: 700;
}

.onehr-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.onehr-section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 22px;
}

.onehr-section-head__title {
    margin: 0;
    font-size: 1.85rem;
    font-weight: 800;
}

.onehr-section-head__copy {
    margin: 6px 0 0;
    color: var(--onehr-muted);
}

.onehr-glass-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--onehr-border);
    border-radius: 24px;
    box-shadow: var(--onehr-shadow);
}

.onehr-summary-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.onehr-summary-tile {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(16, 36, 59, 0.08);
}

.onehr-summary-tile strong {
    display: block;
    font-size: 1.35rem;
    margin-top: 8px;
}

.onehr-table-shell {
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--onehr-border);
}

.onehr-stat-card {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(16, 36, 59, 0.08);
}

.onehr-stat-card__label {
    color: var(--onehr-muted);
    font-size: 0.82rem;
}

.onehr-stat-card__value {
    display: block;
    margin-top: 8px;
    font-size: 1.5rem;
    font-weight: 800;
}

@media (max-width: 991px) {
    .onehr-login-grid,
    .onehr-dashboard-hero {
        grid-template-columns: 1fr;
    }

    .header {
        margin: 0;
        border-radius: 0;
    }

    .side-navbar {
        margin: 0;
        border-radius: 0;
    }
}
