﻿:root { --login-primary: #ed6b4d; }
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: #181d27; font-family: 'Inter', Arial, sans-serif; font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
.login-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; padding: 16px; gap: 16px; }
.login-panel { width: 80%; max-width: 760px; min-width: 0; margin: 0 auto; display: grid; grid-template-rows: auto 1fr auto; padding: 22px 0 10px; gap: 48px; }
.login-brand { display: flex; justify-content: center; align-items: center; gap: 11px; min-height: 36px; }
.login-brand img { max-width: 150px; max-height: 54px; object-fit: contain; }
.login-brand-name { font-size: 28px; font-weight: 600; letter-spacing: -.7px; overflow-wrap: anywhere; }
.login-brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex-shrink: 0; color: var(--login-primary); }
.login-brand-mark svg { width: 100%; height: 100%; }
.login-content { align-self: center; padding-bottom: 12px; }
.login-content h1 { margin: 0 0 10px; font-size: 24px; font-weight: 700; line-height: 1.3; letter-spacing: -.45px; }
.login-intro { margin: 0 0 24px; color: #6b7280; line-height: 1.6; overflow-wrap: anywhere; }
.login-field { margin-bottom: 22px; }
.login-field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; }
.login-input-wrap { position: relative; }
.login-field input { width: 100%; height: 42px; border: 1px solid #dce2eb; border-radius: 5px; background: #fff; color: #181d27; padding: 9px 46px 9px 12px; box-shadow: 0 2px 4px #10182805; outline: none; transition: border-color .15s, box-shadow .15s; }
.login-field input:focus { border-color: var(--login-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--login-primary) 15%, transparent); }
.login-input-icon, .login-password-toggle svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.login-input-icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: #475467; }
.login-password-toggle { position: absolute; top: 0; right: 2px; height: 42px; width: 42px; border: 0; border-radius: 4px; background: transparent; color: #475467; display: grid; place-items: center; cursor: pointer; }
.login-password-toggle[hidden] { display: none; }
.login-password-toggle:hover { color: var(--login-primary); }
.login-password-toggle[aria-pressed=true] .password-eye-slash { display: none; }
.login-submit { display: block; width: 100%; min-height: 42px; padding: 11px 16px; margin-top: 6px; border: 0; border-radius: 5px; background: var(--login-primary); color: #fff; font-weight: 600; cursor: pointer; transition: filter .15s; }
.login-submit:hover { filter: brightness(.92); }
.login-submit:focus-visible, .login-password-toggle:focus-visible { outline: 2px solid var(--login-primary); outline-offset: 3px; }
.login-help { margin: 19px 0 0; color: #6b7280; font-size: 13px; line-height: 1.7; }
.login-error { margin-bottom: 20px; padding: 12px 14px; color: #b42318; background: #fef3f2; border: 1px solid #fecdca; border-radius: 6px; line-height: 1.5; overflow-wrap: anywhere; }
.login-footer { padding: 0 0 3px; text-align: center; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.login-visual { position: sticky; top: 16px; height: calc(100vh - 32px); height: calc(100dvh - 32px); min-height: 420px; overflow: hidden; border-radius: 10px; background: #f2f4f7; }
.login-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
@media (max-width: 1100px) { .login-panel { width: 88%; } .login-brand-name { font-size: 24px; } .login-brand img { max-width: 115px; } }
@media (max-width: 991px) {
    .login-page { grid-template-columns: minmax(0, 1fr); padding: 24px; }
    .login-panel { width: 100%; max-width: 480px; padding: 12px 0 0; gap: 48px; }
    .login-visual { display: none; }
    .login-content { padding: 0; }
    .login-field input { font-size: 16px; height: 46px; }
    .login-password-toggle { height: 46px; }
    .login-submit { min-height: 46px; }
    .login-footer { padding-bottom: 4px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
