/* Static adaptation of the approved v0 Login layout and form components. */
.login-page {
    --navy: #003366;
    --slate: #64748b;
    --surface: #f4f4f4;
    --line: #e4e7eb;
    --blue: #3b82f6;
    margin: 0;
    color: #333;
    background: white;
    font: 400 15px/1.5 Inter, sans-serif;
    -webkit-font-smoothing: antialiased;
}
.login-page *, .login-page *::before, .login-page *::after { box-sizing: border-box; }
.login-page a { color: inherit; text-underline-offset: 3px; }
.login-page :is(a, button, input):focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.login-page button { font: inherit; cursor: pointer; }
.login-page button:disabled { opacity: .55; cursor: wait; }
.login-page .skip-link { position: absolute; top: 8px; left: 8px; z-index: 1; padding: 10px; background: white; transform: translateY(-200%); }
.login-page .skip-link:focus { transform: none; }
.auth-layout { display: grid; min-height: 100vh; min-height: 100dvh; }
.auth-main { display: flex; flex-direction: column; min-width: 0; padding: 24px 20px; }
.auth-header { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 16px; align-items: center; }
.auth-logo { display: inline-flex; border-radius: 12px; }
.auth-logo img { display: block; height: 96px; width: auto; }
.auth-header .back-link { justify-self: end; color: var(--slate); text-decoration: none; font-size: 14px; font-weight: 500; }
.auth-header .back-link:hover { color: var(--navy); }
.auth-content { display: flex; flex: 1; align-items: center; justify-content: center; padding: 40px 0; }
.auth-panel { width: 100%; max-width: 420px; min-width: 0; }
.auth-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--surface); border-radius: 999px; padding: 4px; margin-bottom: 32px; }
.auth-switch button { height: 40px; border: 0; border-radius: 999px; background: transparent; color: var(--slate); font-size: 14px; font-weight: 600; }
.auth-switch button.active { background: white; color: var(--navy); box-shadow: 0 1px 2px rgb(11 23 48 / 4%), 0 10px 28px -16px rgb(11 23 48 / 18%); }
.auth-panel h1 { margin: 0; color: var(--navy); font: 600 32px/1.2 Montserrat, sans-serif; letter-spacing: -.03em; }
.auth-panel .lead { margin: 8px 0 0; color: var(--slate); font-size: 15px; }
.auth-panel form { display: grid; gap: 20px; margin-top: 32px; }
.auth-panel .field { display: grid; gap: 6px; min-width: 0; }
.auth-panel label { color: var(--navy); font-size: 14px; font-weight: 600; }
.auth-panel input:not([type="checkbox"]) { display: block; width: 100%; min-width: 0; height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; color: var(--navy); background: white; font: inherit; box-shadow: 0 1px 0 rgb(11 23 48 / 2%); }
.auth-panel input:not([type="checkbox"]):focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgb(59 130 246 / 15%); }
.auth-panel input::placeholder { color: var(--slate); opacity: .6; }
.password-label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.password-input { position: relative; }
.auth-panel .password-input input { padding-right: 44px; }
.password-input button { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; height: 36px; width: 36px; padding: 8px; background: transparent; color: var(--slate); border: 0; border-radius: 8px; }
.password-input svg { width: 16px; height: 16px; }
.auth-panel .link-button { background: transparent; border: 0; padding: 0; color: var(--blue); font-weight: 600; font-size: 12px; }
.auth-panel .link-button:hover { text-decoration: underline; }
.auth-panel .button { min-height: 48px; margin-top: 4px; border: 1px solid var(--navy); border-radius: 999px; background: var(--navy); color: white; font-size: 14px; font-weight: 600; box-shadow: 0 8px 20px -8px rgb(0 51 102 / 50%); }
.auth-panel .button:hover { background: #00264d; }
.auth-panel .resend-wrap { margin: 20px 0 0; text-align: center; color: var(--slate); font-size: 14px; }
.auth-panel .resend-wrap .link-button { font-size: 14px; }
.auth-panel .fine-print { margin: 32px 0 0; border-top: 1px solid var(--line); padding-top: 20px; color: var(--slate); font-size: 12px; line-height: 1.65; }
.auth-panel .notice { display: none; margin: 20px 0 0; padding: 16px; border: 1px solid #b8dfcd; border-radius: 12px; color: #1e7f55; background: #f0f9f4; overflow-wrap: anywhere; font-size: 14px; }
.auth-panel .notice.error { color: #b42318; background: #fff1f0; border-color: #f4c7c3; }
.field-hint { margin: 0; color: var(--slate); font-size: 12px; line-height: 1.65; }
.consent-heading { margin-bottom: -10px; color: var(--navy); font-size: 14px; font-weight: 600; }
.consent-heading span { margin-left: 4px; color: var(--slate); font-size: 12px; font-weight: 400; }
.auth-panel .consent-field label { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; line-height: 1.65; font-weight: 400; cursor: pointer; }
.auth-panel .consent-field input { flex: 0 0 auto; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--navy); }
.auth-panel .consent-field:has(input:checked) label { border-color: rgb(59 130 246 / 40%); background: rgb(219 234 254 / 40%); }
.auth-panel .consent-field a { color: var(--blue); }
.auth-aside { display: none; }
@media (min-width: 640px) {
    .auth-main { padding-inline: 40px; }
}
@media (min-width: 1024px) {
    .auth-layout { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
    .auth-logo img { height: 128px; }
    .auth-aside { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; position: relative; overflow: hidden; padding: 48px; background: var(--navy); color: white; }
    .auth-aside::before { content: ""; position: absolute; top: -160px; right: -160px; width: 520px; height: 520px; border-radius: 50%; background: rgb(59 130 246 / 25%); filter: blur(64px); pointer-events: none; }
    .auth-aside > * { position: relative; }
    .auth-motto { margin: 0; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgb(255 255 255 / 50%); }
    .auth-pitch { max-width: 448px; }
    .auth-pitch h2 { margin: 0; color: white; font: 600 33.6px/1.25 Montserrat, sans-serif; letter-spacing: -.03em; text-wrap: balance; }
    .auth-benefits { list-style: none; display: grid; gap: 12px; margin: 32px 0 0; padding: 0; }
    .auth-benefits li { display: flex; align-items: flex-start; gap: 12px; color: rgb(255 255 255 / 80%); }
    .auth-benefits span { display: grid; place-items: center; flex: none; width: 20px; height: 20px; margin-top: 2px; background: rgb(59 130 246 / 30%); color: #93c5fd; border-radius: 50%; font-size: 12px; font-weight: 700; }
    .auth-tools { display: flex; flex-wrap: wrap; list-style: none; gap: 8px; margin: 0; padding: 0; }
    .auth-tools li { display: inline-flex; gap: 8px; align-items: center; border: 1px solid rgb(255 255 255 / 10%); border-radius: 999px; background: rgb(255 255 255 / 5%); padding: 6px 12px; color: rgb(255 255 255 / 70%); font-size: 12px; }
    .auth-tools svg { flex: none; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
}
.login-page [hidden] { display: none; }
