:root { color-scheme: light; font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Leelawadee UI', Tahoma, sans-serif; color: #262832; background: #e8ebf2; -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
button, input { font: inherit; }
.login-stage { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; min-height: 100vh; min-height: 100dvh; padding: 96px 24px 72px; background: radial-gradient(ellipse at 2% 0%, rgba(113,151,246,.62), transparent 38%), radial-gradient(ellipse at 13% 90%, rgba(48,154,246,.87), transparent 39%), radial-gradient(ellipse at 52% 88%, rgba(86,62,223,.88), transparent 40%), radial-gradient(ellipse at 86% 80%, rgba(155,179,244,.65), transparent 35%), #f0f1f4; }
.login-stage::after { content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: linear-gradient(155deg, transparent 40%, rgba(255,255,255,.15) 100%); }
.stage-brand { position: absolute; top: 38px; left: clamp(25px, 5vw, 72px); display: flex; align-items: center; gap: 11px; color: #fff; text-shadow: 0 1px 12px rgba(42,69,139,.2); }
.stage-brand { display: block; }
.stage-brand strong, .stage-brand span { display: block; font-size: 13px; line-height: 1.2; letter-spacing: .05em; }
.stage-brand span { font-size: 11px; opacity: .9; }
.stage-brand__mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.7); border-radius: 10px; font-size: 13px; font-weight: 750; letter-spacing: -.05em; }
.stage-brand__text { display: flex; flex-direction: column; gap: 3px; }
.stage-brand__text strong { font-size: 12px; line-height: 1; letter-spacing: .06em; }
.stage-brand__text small { font-size: 11px; line-height: 1; opacity: .9; }
.stage-wordmark { position: absolute; z-index: -1; top: 50%; left: 50%; width: max-content; transform: translate(-50%, -48%); color: rgba(255,255,255,.46); font-size: clamp(150px, 25vw, 390px); font-weight: 800; line-height: .8; letter-spacing: -.085em; text-shadow: 0 8px 32px rgba(59,87,184,.12); user-select: none; pointer-events: none; }
.login-card { width: min(100%, 500px); min-width: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.82); border-radius: 18px; background: #fafafa; box-shadow: 0 20px 60px rgba(42,45,108,.16), 0 3px 12px rgba(56,60,102,.06); }
.card-header { display: flex; justify-content: space-between; align-items: center; min-height: 54px; padding: 0 24px; border-bottom: 1px solid #e9e9ed; color: #4d4e58; font-size: 13px; font-weight: 600; }
.portal-clock { display: inline-flex; align-items: center; gap: 5px; color: #6d7180; font-size: 12px; font-weight: 500; white-space: nowrap; }
.portal-clock svg { width: 15px; height: 15px; stroke: #7c88a1; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.portal-clock time { color: #3e526f; font-variant-numeric: tabular-nums; font-weight: 650; }
.card-header__tag { color: #92939e; font-size: 10px; letter-spacing: .09em; font-weight: 700; }
.card-content { padding: 41px 48px 38px; }
.login-intro h1, .login-intro h2 { margin: 0; font-size: clamp(25px, 3vw, 30px); line-height: 1.3; letter-spacing: -.035em; font-weight: 700; }
.login-intro p { margin: 9px 0 0; color: #858691; font-size: 13px; line-height: 1.6; }
.login-form { display: grid; gap: 19px; margin-top: 30px; }
.field label { display: block; margin-bottom: 8px; color: #565863; font-size: 13px; font-weight: 600; }
.field input { display: block; width: 100%; height: 46px; padding: 0 13px; border: 1px solid #dadbe1; border-radius: 8px; outline: 0; background: transparent; color: #292b35; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.field input::placeholder { color: #a5a6ae; opacity: 1; }
.field input:focus { border-color: #5483ed; box-shadow: 0 0 0 3px rgba(64,119,237,.13); }
.password-field { position: relative; }
.password-field input { padding-right: 64px; }
.password-toggle { position: absolute; top: 0; right: 0; height: 100%; padding: 0 14px; border: 0; background: transparent; color: #4976dc; font-size: 12px; cursor: pointer; }
.password-toggle:focus-visible, a:focus-visible, input[type=submit]:focus-visible { outline: 3px solid #8eabf1; outline-offset: 3px; }
.login-form input[type=submit] { width: 100%; min-height: 47px; margin-top: 6px; border: 0; border-radius: 8px; background: #3279ef; color: white; font-size: 14px; font-weight: 650; cursor: pointer; transition: background .15s; }
.login-form input[type=submit]:hover { background: #2467d5; }
.login-divider { display: flex; align-items: center; gap: 13px; margin: 20px 0; color: #a1a2aa; font-size: 12px; }
.login-divider::before, .login-divider::after { content: ''; flex: 1; height: 1px; background: #e8e8ec; }
.google-login-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 47px; padding: 10px 12px; border: 1px solid #dadbe1; border-radius: 8px; color: #454750; font-size: 13px; font-weight: 600; line-height: 1.4; text-align: center; text-decoration: none; transition: border-color .15s, background .15s; }
.google-login-btn:hover { background: #f1f3f7; border-color: #bdc1ca; }
.google-login-icon { flex: 0 0 18px; width: 18px; height: 18px; }
.login-status { margin: 10px 0 0; color: #4d6fbd; font-size: 12px; }
.login-status:empty { display: none; }
.card-footer { padding: 14px 24px; border-top: 1px solid #e9e9ed; color: #999aa4; font-size: 11px; line-height: 1.5; }
@media (max-width: 600px) {
    .login-stage { align-items: center; padding: 90px 18px 40px; }
    .stage-brand { top: 26px; left: 24px; }
    .stage-wordmark { font-size: 43vw; }
    .login-card { border-radius: 16px; }
    .card-content { padding: 34px 26px; }
    .card-header, .card-footer { padding-left: 26px; padding-right: 26px; }
    .login-intro h1, .login-intro h2 { font-size: 25px; }
}
@media (max-height: 700px) and (min-width: 601px) {
    .login-stage { padding-top: 72px; padding-bottom: 30px; }
    .stage-brand { top: 23px; }
    .card-content { padding-top: 26px; padding-bottom: 26px; }
    .login-form { margin-top: 20px; gap: 13px; }
    .login-divider { margin: 15px 0; }
}
