:root {
    --navy-950: #04131f;
    --navy-900: #071c2c;
    --navy-800: #0c2b40;
    --teal-500: #11abb3;
    --teal-400: #31c8c4;
    --sand: #f5f2eb;
    --white: #fff;
    --slate-100: #edf2f4;
    --slate-300: #c9d5da;
    --slate-500: #6e818b;
    --slate-800: #203744;
    --red: #a93838;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--slate-800);
}
* { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; background: var(--sand); }
button, input { font: inherit; }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(380px, .9fr) minmax(500px, 1.1fr); }
.brand-panel { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; padding: clamp(38px, 6vw, 78px); background: radial-gradient(circle at 20% 15%, rgba(49, 200, 196, .2), transparent 34%), linear-gradient(145deg, var(--navy-950), var(--navy-800)); color: var(--white); }
.brand-panel::after { content: ""; position: absolute; width: 430px; height: 430px; right: -190px; bottom: 8%; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 75px rgba(255,255,255,.025), 0 0 0 150px rgba(255,255,255,.018); }
.brand-copy, .brand-footer { position: relative; z-index: 1; }
.brand-copy img { width: min(235px, 70%); max-height: 74px; object-fit: contain; object-position: left center; }
.eyebrow { margin: 54px 0 14px; color: var(--teal-400); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.brand-copy h1 { max-width: 580px; margin: 0; font-size: clamp(38px, 5vw, 68px); line-height: 1.02; letter-spacing: -.055em; }
.brand-copy > p:last-child { max-width: 590px; margin: 24px 0 0; color: rgba(255,255,255,.7); font-size: 16px; line-height: 1.7; }
.brand-footer { display: flex; justify-content: space-between; gap: 18px; color: rgba(255,255,255,.48); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.form-panel { display: grid; place-items: center; min-height: 100vh; padding: 40px 24px; }
.form-wrap { width: min(440px, 100%); }
.language-toggle { display: flex; justify-content: flex-end; gap: 5px; margin-bottom: 42px; }
.language-toggle button { border: 0; border-radius: 7px; padding: 7px 9px; background: transparent; color: var(--slate-500); font-size: 11px; font-weight: 800; }
.language-toggle button.is-active { background: var(--navy-900); color: var(--white); }
.auth-form { display: grid; gap: 18px; }
.auth-form[hidden] { display: none; }
.auth-form header { margin-bottom: 12px; }
.auth-form header .eyebrow { margin: 0 0 10px; color: #09818b; }
.auth-form h2 { margin: 0; color: var(--navy-950); font-size: clamp(30px, 5vw, 42px); letter-spacing: -.045em; }
.auth-form header p:not(.eyebrow) { margin: 12px 0 0; color: var(--slate-500); line-height: 1.55; }
.auth-form label { display: grid; gap: 8px; color: var(--slate-800); font-size: 12px; font-weight: 800; }
.auth-form input { width: 100%; min-height: 52px; border: 1px solid var(--slate-300); border-radius: 12px; padding: 12px 14px; background: rgba(255,255,255,.85); color: var(--navy-950); outline: none; }
.auth-form input:focus { border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(17,171,179,.12); }
.remember { display: flex !important; grid-auto-flow: column; grid-template-columns: auto 1fr; align-items: center; justify-content: start; }
.remember input { width: 17px; min-height: 17px; accent-color: var(--teal-500); }
.primary-button { min-height: 52px; border: 0; border-radius: 12px; padding: 12px 18px; background: linear-gradient(135deg, var(--navy-900), #0e5261); color: var(--white); font-weight: 800; cursor: pointer; box-shadow: 0 14px 30px rgba(7,28,44,.16); }
.primary-button:disabled { cursor: wait; opacity: .65; }
.text-button { justify-self: center; border: 0; padding: 7px; background: transparent; color: #087d86; font-size: 12px; font-weight: 800; cursor: pointer; }
.form-message { margin: 0; border-radius: 10px; padding: 11px 13px; background: #e6f6f4; color: #0d6d69; font-size: 12px; line-height: 1.5; }
.form-message.is-error { background: #f9e7e7; color: var(--red); }
.password-hint { margin: -4px 0 0; color: var(--slate-500); font-size: 11px; line-height: 1.5; }
@media (max-width: 820px) {
    .auth-shell { grid-template-columns: 1fr; }
    .brand-panel { min-height: auto; padding: 32px 24px; }
    .brand-copy h1, .brand-copy > p:last-child, .brand-copy .eyebrow { display: none; }
    .brand-copy img { width: 178px; }
    .brand-footer { display: none; }
    .form-panel { min-height: calc(100vh - 112px); padding-top: 22px; align-items: start; }
    .language-toggle { margin-bottom: 25px; }
}
