@font-face {
    font-family: "Cera Pro";
    src: url("/HR/modules/onboarding/font/CeraPro-Regular.ttf") format("truetype");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Cera Pro";
    src: url("/HR/modules/onboarding/font/CeraPro-Bold.ttf") format("truetype");
    font-weight: 700;
    font-display: swap;
}

* { box-sizing: border-box; }
body { margin: 0; color: #0e333f; background: #f8fbfc; font-family: "Cera Pro", "Segoe UI", sans-serif; font-size: 16px; line-height: 1.6; }
.welcome-shell { min-height: 100vh; max-width: 1700px; margin: 0 auto; padding: clamp(24px, 4vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 80px); }
.welcome { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; width: 100%; min-height: 620px; aspect-ratio: 1 / 1.15; padding: clamp(32px, 3.5vw, 54px); border-radius: 24px; box-shadow: 0 20px 55px rgba(14, 51, 63, .14); color: #fff; background: radial-gradient(ellipse at 100% 100%, rgba(147, 177, 163, .65), transparent 50%), linear-gradient(135deg, #0e333f 25%, #1c5255 100%); }
.brand { display: block; width: 180px; max-width: 100%; height: auto; align-self: flex-start; }
.welcome-copy { margin: 48px 0; max-width: 490px; }
.section-label { font-size: 11px; font-weight: 700; letter-spacing: .18em; }
h1 { margin: 22px 0; font-size: clamp(36px, 3.4vw, 52px); line-height: 1.12; letter-spacing: -.045em; font-weight: 700; }
.accent { color: #f6a979; }
.welcome-intro { max-width: 365px; margin: 0; color: #dce7e3; font-size: 18px; line-height: 1.7; }
.journey { display: flex; align-items: center; width: 132px; margin: 40px 0 22px; }
.journey-dot { width: 9px; height: 9px; flex-shrink: 0; border-radius: 50%; background: #8be2d0; }
.journey-dot:last-child { background: #f6a979; }
.journey-line { height: 1px; flex: 1; background: rgba(255, 255, 255, .3); }
.welcome-note { color: #dce7e3; font-size: 15px; }
.welcome-footer { color: #b9cfca; font-size: 12px; }
.login-section { display: flex; align-items: center; justify-content: center; padding: 24px 0; }
.login-content { width: 100%; max-width: 440px; }
.section-label { color: #607771; }
h2 { margin: 10px 0 12px; font-size: clamp(30px, 3vw, 42px); line-height: 1.2; letter-spacing: -.035em; }
.login-intro { color: #61716c; margin: 0 0 28px; }
.mail-note { display: flex; gap: 14px; padding: 20px; margin-bottom: 28px; background: #e9f8f4; border: 1px solid #dceee9; border-radius: 14px; }
.mail-note svg { width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px; color: #23545b; }
h3 { margin: 0 0 5px; font-size: 14px; line-height: 1.5; }
.mail-note p, .support p { margin: 0; font-size: 13px; color: #52655c; line-height: 1.7; }
.field { margin-bottom: 19px; }
label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 7px; }
input[type="text"], input[type="password"] { width: 100%; min-height: 52px; border: 1px solid #cbd3cd; border-radius: 9px; padding: 12px 15px; background: #fff; color: #263b3a; font: inherit; }
input::placeholder { color: #77827d; font-size: 14px; }
input:focus-visible, a:focus-visible { outline: 3px solid #287b80; outline-offset: 3px; }
.login-button { width: 100%; min-height: 54px; border: 0; border-radius: 9px; padding: 14px 20px; margin-top: 5px; background: #0e333f; color: #fff; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 4px 12px rgba(14, 51, 63, .16); transition: background .15s; }
.login-button:hover { background: #1c5255; }
.login-error { padding: 14px 16px; margin-bottom: 20px; border: 1px solid #e6b8af; border-radius: 9px; background: #fff0ec; color: #8b3027; font-size: 14px; }
.support { display: flex; gap: 13px; margin-top: 30px; padding-top: 26px; border-top: 1px solid #e0e4dd; }
.support-icon { display: flex; align-items: center; justify-content: center; width: 25px; height: 25px; flex-shrink: 0; border: 1px solid #b8c8be; border-radius: 50%; color: #526b5c; font-size: 14px; }
a { color: #23545b; text-underline-offset: 3px; overflow-wrap: anywhere; }
a:hover { color: #0e333f; }
.sign-off { margin: 30px 0 0; color: #69776f; font-size: 12px; text-align: center; }

@media (max-width: 900px) {
    .welcome-shell { gap: 28px; }
    .welcome { padding: 32px 26px; min-height: 600px; aspect-ratio: auto; }
    h1 { font-size: 36px; }
}

@media (max-width: 700px) {
    .welcome-shell { grid-template-columns: 1fr; padding: 20px; gap: 12px; }
    .welcome { padding: 30px 26px 34px; min-height: 0; border-radius: 20px; }
    .brand { width: 148px; }
    .welcome-copy { margin: 34px 0 0; max-width: 480px; }
    h1 { font-size: 38px; margin: 14px 0; }
    .welcome-intro { max-width: 100%; font-size: 16px; }
    .journey, .welcome-note, .welcome-footer { display: none; }
    .login-section { padding: 28px 4px 20px; }
    .mail-note { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .login-button { transition: none; }
}
