body { min-height: 100vh; }
.auth-shell { min-height: min(750px, calc(100vh - 30px)); display: grid; grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr); overflow: hidden; border: 1px solid #dedfd6; border-radius: 18px; background: #fff; box-shadow: 0 28px 70px -50px rgba(15,20,12,.3); margin-top: 15px; margin-bottom: 15px; }
.auth-visual { position: relative; min-height: 700px; overflow: hidden; background: #25251e; }
.auth-visual img { width: 100%; height: 100%; object-fit: cover; }
.auth-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17,19,15,.94), rgba(17,19,15,.05) 70%); }
.auth-visual > div { position: absolute; z-index: 1; right: 50px; bottom: 52px; left: 50px; color: #fff; }
.auth-visual span, .auth-eyebrow { color: #e6a74d; font-size: 11px; font-weight: 700; letter-spacing: .13em; }
.auth-visual h1 { max-width: 550px; margin: 11px 0 12px; font-size: clamp(31px, 3.3vw, 48px); line-height: 1.16; letter-spacing: -.04em; }
.auth-visual p { margin: 0; color: #e3e0d7; font-size: 16px; line-height: 1.6; }
.auth-content { display: grid; place-items: center; padding: 40px 45px; }
.auth-content-inner { width: min(100%, 440px); }
.auth-content h2 { margin: 12px 0 8px; font-size: clamp(29px, 3vw, 40px); line-height: 1.2; letter-spacing: -.035em; }
.auth-lead { margin: 0 0 27px; color: #6a6e64; font-size: 16px; line-height: 1.5; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 26px; border: 1px solid #e0e1d9; border-radius: 9px; background: #f4f4ef; padding: 4px; }
.auth-tabs button { min-height: 43px; border: 0; border-radius: 6px; background: transparent; color: #72766c; font-size: 16px; font-weight: 600; }
.auth-tabs button[aria-selected="true"] { background: #20231d; color: #fff; box-shadow: 0 3px 10px rgba(19,23,17,.12); }
[role="tabpanel"][hidden], .auth-error[hidden] { display: none; }
.auth-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 17px; }
.auth-field span { font-size: 14px; }
.auth-field input { min-height: 47px; border: 1px solid #d8dbd2; border-radius: 8px; background: #fff; padding: 0 13px; color: #252820; font: inherit; font-size: 16px; outline: 0; }
.auth-field input::placeholder { color: #a2a59d; font-weight: 400; }
.auth-field input:focus { border-color: #b17022; box-shadow: 0 0 0 3px #f5e3c8; }
.auth-submit { width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: space-between; margin-top: 22px; border: 0; border-radius: 8px; background: #f1ae4d; padding: 0 17px; color: #24211d; font-size: 16px; font-weight: 600; }
.auth-submit:hover { background: #ffd08b; }
.auth-switch { margin: 18px 0 0; color: #777b71; font-size: 14px; text-align: center; }
.auth-switch button { border: 0; background: transparent; padding: 0; color: #8d551b; font-size: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.auth-error { margin: 0 0 14px; color: #a33d2e; font-size: 13px; }
@media (max-width: 800px) { .auth-shell { grid-template-columns: 1fr; } .auth-visual { min-height: 180px; max-height: 210px; } .auth-visual > div { right: 25px; bottom: 23px; left: 25px; } .auth-visual h1 { max-width: 410px; font-size: 27px; } .auth-visual p { display: none; } }
@media (max-width: 620px) { .auth-shell { width: 100%; margin: 0; border-right: 0; border-left: 0; border-radius: 0; } .auth-visual { min-height: 155px; max-height: 155px; } .auth-visual h1 { font-size: 23px; } .auth-content { padding: 27px 22px 48px; } .auth-content h2 { font-size: 29px; } .auth-lead { margin-bottom: 21px; } }
