.hr-login-page { scrollbar-gutter: auto; }

.hr-login {
    min-height: 100svh;
    margin: 0;
    display: grid;
    place-items: center;
    padding: 0;
    color: #0b1736;
    background: radial-gradient(ellipse at 50% 55%, #b8cff4, transparent 75%), #e5eefc;
    font-family: Inter, "Segoe UI", sans-serif;
    color-scheme: light;
}

.hr-login-shell {
    width: 100%;
    min-height: 100svh;
    display: grid;
    grid-template-columns: 56% 44%;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 100% 0%, #f0dfbc 0%, transparent 45%),
        #f7f4ed;
}

.hr-login-brand {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    justify-content: center;
    padding: clamp(24px, 4vw, 76px);
    padding-block: clamp(22px, 4svh, 48px);
    color: #f8fbff;
    background:
        radial-gradient(ellipse at 62% 68%, #184f83, transparent 59%),
        radial-gradient(ellipse at 96% 8%, #614d2f60, transparent 40%),
        linear-gradient(146deg, #081019, #101d32 58%, #081a2c);
}

.hr-login-brand::before {
    content: '';
    position: absolute;
    z-index: -1;
    width: 73%;
    aspect-ratio: 1;
    right: -24%;
    top: -55%;
    border: 1px solid #e6bd7354;
    border-radius: 50%;
    box-shadow: 0 0 0 32px #edc6770d, 0 0 0 64px #edc67707;
}

.hr-login-brand::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 28% 0 0;
    background-image: linear-gradient(#8aacc01a 1px, transparent 1px), linear-gradient(90deg, #8aacc01a 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse at 65% 64%, #000b, transparent 68%);
}
.hr-login-wordmark { display: block; width: clamp(152px, min(17.2vw, 33svh), 288px); height: auto; align-self: start; }
.hr-login-intro { margin: clamp(20px, 2.4vw, 40px) 0 12px; }
.hr-login-intro p { margin: 0; color: #f8fbff; font-size: clamp(14px, 1.35vw, 22px); }
.hr-login-intro .hr-login-product { margin-bottom: 12px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, min(5.5vw, 10svh), 86px); font-weight: 500; line-height: .98; letter-spacing: -.055em; }
.hr-login-product span { color: #ffcf79; }

.hr-login-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hr-login-features li {
    display: flex;
    align-items: center;
    gap: clamp(5px, .65vw, 12px);
    padding: 10px clamp(4px, .85vw, 16px);
    border: 1px solid #d9bd8838;
    border-radius: 8px;
    background: #0b172ab5;
    font-size: clamp(10px, .94vw, 16px);
    line-height: 1.13;
    font-weight: 700;
    transition: transform .2s ease, border-color .2s ease;
}

.hr-login-features li:hover { transform: translateY(-3px); border-color: #f3c87585; }
.hr-login-features span { white-space: nowrap; }
.hr-login svg { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hr-login-features svg { width: clamp(15px, 1.4vw, 23px); height: auto; color: #ffda80; }
.hr-login-art {
    display: block;
    align-self: center;
    width: min(100%, 68svh, 710px);
    height: auto;
    margin-block: 0 8px;
    mask-image: linear-gradient(90deg, transparent, #000 15% 85%, transparent),
        linear-gradient(180deg, transparent, #000 18% 82%, transparent);
    mask-composite: intersect;
}
.hr-login-brand-note { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; color: #dbe9ff; font-size: clamp(12px, 1vw, 15px); }
.hr-login-brand-note svg { color: #ffcd64; }

.hr-login-panel { grid-column: 2; grid-row: 1; min-width: 0; align-self: center; padding: clamp(16px, 3vw, 64px); }
.hr-login-card { max-width: 540px; margin-inline: auto; padding: clamp(20px, 3vw, 48px); border: 1px solid #e7decc; border-radius: 22px; background: #fffefd; box-shadow: 0 18px 40px #3c2d1614; }
.hr-login-kicker { display: flex; align-items: center; gap: 11px; margin: 0 0 16px; color: #263b6b; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hr-login-kicker svg, .hr-login-security svg { color: #97630b; }
.hr-login-kicker svg { width: 41px; height: 41px; padding: 8px; border: 1px solid #ebd5a9; border-radius: 12px; background: linear-gradient(140deg, #fff9eb, #ffefd0); }
.hr-login-card h1 { margin: 0; color: #111d31; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 3.1vw, 54px); font-weight: 500; line-height: 1.04; letter-spacing: -.05em; }
.hr-login-subtitle { margin: 9px 0 clamp(18px, 2vw, 32px); color: #4f5f78; font-size: clamp(15px, 1.25vw, 20px); }
.hr-login-form { display: grid; gap: clamp(15px, 1.8vw, 28px); }
.hr-login-field { display: grid; gap: 8px; }
.hr-login-field label { color: inherit; font-weight: 750; font-size: clamp(14px, 1.05vw, 17px); }

.hr-login-input {
    display: flex;
    align-items: center;
    gap: 12px;
    height: clamp(52px, 4.2vw, 56px);
    padding-inline: clamp(12px, 1.5vw, 24px);
    border: 1px solid #d8d9d6;
    border-radius: 9px;
    color: #526078;
    background: #fff;
    box-shadow: 0 2px 5px #0d295909;
}

.hr-login .hr-login-input input {
    min-width: 0;
    flex: 1;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    background: transparent;
    color: #0b1736;
    font-size: clamp(16px, 1.2vw, 19px);
}

.hr-login-input input::placeholder { color: #58647b; opacity: 1; }
.hr-login .hr-login-input input:autofill { box-shadow: 0 0 0 100px #fff inset; }
.hr-login .hr-login-input input:-webkit-autofill { -webkit-text-fill-color: #0b1736; box-shadow: 0 0 0 100px #fff inset; }
.hr-login-input:focus-within { border-color: #315fb9; box-shadow: 0 0 0 3px #dce8ff; }
.hr-login-input:has([aria-invalid="true"]) { border-color: #ad2e42; }
.hr-login-error { margin: 0; color: #b42335; font-size: 14px; }
.hr-login-toggle { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #526078; cursor: pointer; }
.hr-login .hr-login-toggle:hover,
.hr-login .hr-login-toggle:active { background: #edf3fc; color: #173972; }
.hr-login .hr-login-toggle:focus-visible { outline-offset: -2px; }
.hr-login-toggle .hr-login-eye-off,
.hr-login-input:has(input[type="text"]) .hr-login-eye { display: none; }
.hr-login-input:has(input[type="text"]) .hr-login-eye-off { display: block; }
.hr-login-options { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; font-size: clamp(14px, 1vw, 16px); font-weight: 650; }
.hr-login-options label { display: inline-flex; align-items: center; gap: 8px; color: inherit; font: inherit; }
.hr-login-options :is(label, a) { display: inline-flex; align-items: center; min-height: 44px; }
.hr-login-options input { width: 19px; height: 19px; margin: 0; accent-color: #102759; }
.hr-login-options a { color: #1748ba; text-underline-offset: 4px; }
.hr-login-options a:hover { text-decoration: underline; }
.hr-login-submit { position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 56px; padding-inline: 42px; border: 1px solid #d89c39; border-radius: 9px; background: linear-gradient(115deg, #ffe0a1, #f3b854); color: #231707; box-shadow: inset 0 1px #ffffff80, 0 5px 12px #a5722333; font-size: clamp(17px, 1.25vw, 21px); font-weight: 750; cursor: pointer; transition: box-shadow .2s ease, transform .2s ease; }
.hr-login-submit svg { position: absolute; right: 14px; }
.hr-login-submit:hover { background: linear-gradient(115deg, #ffe6b2, #ffc768); box-shadow: inset 0 1px #ffffff80, 0 8px 18px #a5722345; }
.hr-login-submit:active:not(:disabled) { transform: translateY(1px); }
.hr-login-submit:disabled { opacity: .75; cursor: wait; }
.hr-login :is(button, a, input[type="checkbox"]):focus-visible { outline: 2px solid #2456a8; outline-offset: 3px; }
.hr-login-security { display: flex; align-items: center; gap: 9px; margin: 15px 0 0; color: #546078; font-size: clamp(13px, 1vw, 15px); }
.hr-login-security svg { width: 19px; height: 19px; }
.hr-login-card .notice { margin-bottom: 14px; }
.hr-recovery {
    padding: clamp(16px, 4vw, 48px);
    background: radial-gradient(ellipse at 74% 8%, #d6eae0, transparent 57%), #eef3ed;
}
.hr-recovery-card {
    display: grid;
    grid-template-columns: minmax(210px, .8fr) minmax(0, 1.55fr);
    width: min(100%, 940px);
    overflow: hidden;
    border: 1px solid #ccddd4;
    border-radius: 24px;
    background: #fdfcf8;
    box-shadow: 0 24px 70px #102c2330;
}
.hr-recovery-brand {
    display: grid;
    align-content: space-between;
    justify-items: start;
    gap: 24px;
    min-width: 0;
    padding: clamp(24px, 3vw, 40px);
    background: radial-gradient(ellipse at 70% 50%, #246c5a, transparent 76%), #092b28;
    color: #d8ede3;
}
.hr-recovery-brand img { width: min(100%, 185px); height: auto; }
.hr-recovery-brand p { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; }
.hr-recovery-brand p svg { width: 18px; height: 18px; color: #ffdb8d; }
.hr-recovery-emblem {
    display: grid;
    place-items: center;
    justify-self: center;
    width: min(100%, 146px);
    aspect-ratio: 1;
    border: 1px solid #e8cd8969;
    border-radius: 36%;
    background: linear-gradient(145deg, #f4d28222, #f4d28208);
    box-shadow: 0 0 0 13px #e9d19410, 0 0 0 26px #e9d19409;
}
.hr-recovery-emblem svg { width: 43%; height: 43%; color: #ffdb8d; }
.hr-recovery-content.hr-login-card {
    width: 100%;
    max-width: none;
    padding: clamp(22px, 4vw, 54px);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.hr-recovery-content h1 { color: #12342e; }
.hr-recovery-content .hr-login-subtitle { margin-bottom: clamp(16px, 2.5svh, 24px); }
.hr-recovery-content .hr-login-toggle:hover,
.hr-recovery-content .hr-login-toggle:active { background: #e7f4ee; color: #145746; }
.hr-recovery-content .hr-login-form { gap: 16px; }
.hr-recovery-content .hr-login-submit {
    border-color: #145746;
    background: #145746;
    color: #fff;
    box-shadow: 0 6px 14px #14574624;
}
.hr-recovery-content .hr-login-submit:hover { background: #0e4336; }
.hr-recovery-status { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; padding: 12px; border: 1px solid #bddbd0; border-radius: 10px; background: #e7f4ee; color: #184d40; font-size: 14px; }
.hr-recovery-status p { margin: 0; }
.hr-recovery-status strong { display: block; margin-bottom: 2px; }
.hr-recovery-links { margin-top: 10px; }
.hr-recovery-links a { color: #14604e; }

@media (max-width: 640px) {
    .hr-recovery-card { grid-template-columns: minmax(0, 1fr); max-width: 460px; }
    .hr-recovery-brand { padding: 16px 22px; }
    .hr-recovery-brand img { width: 136px; }
    .hr-recovery-brand p, .hr-recovery-emblem { display: none; }
}

@media (min-width: 1024px) and (max-height: 820px) {
    .hr-login-brand, .hr-login-panel { padding-block: 28px; }
    .hr-login-art { width: min(100%, 58svh); }
    .hr-login-intro { margin-block: 18px; }
    .hr-login-features li { padding-block: 10px; }
    .hr-login-card { padding-block: 26px; }
    .hr-login-form { gap: 14px; }
    .hr-login-security { margin-top: 16px; }
}

@media (min-width: 1024px) and (max-height: 660px) {
    .hr-login-brand, .hr-login-panel { padding-block: 16px; }
    .hr-login-card { padding-block: 18px; }
    .hr-login-art { display: none; }
    .hr-login-brand-note { margin-top: 20px; }
    .hr-login-subtitle { margin-bottom: 14px; }
    .hr-login-form { gap: 10px; }
    .hr-login-security { margin-top: 12px; }
}

@media (max-width: 1023px) {
    .hr-login-shell { grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto; }
    .hr-login-brand, .hr-login-panel { grid-column: 1; grid-row: auto; }
    .hr-login-panel { width: min(100%, 620px); justify-self: center; }
    .hr-login-brand { padding: 18px 24px; }
    .hr-login-intro { margin: 16px 0 0; }
    .hr-login-features, .hr-login-art, .hr-login-brand-note { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hr-login-features li, .hr-login-submit { transition: none; }
}
