/* Layout reference: Supabase dashboard sign-in; Taipan colours, type and existing illustration. */
.signin-page { background: #fff; }
.signin-shell { display: grid; grid-template-columns: minmax(480px, .95fr) minmax(0, 1.05fr); min-height: 100svh; }
.signin-side { display: flex; flex-direction: column; min-width: 0; }
.signin-header { display: flex; justify-content: space-between; align-items: center; padding: 36px 44px; gap: 24px; }
.signin-header img { display: block; width: 160px; height: auto; }
.signin-language { display: flex; gap: 12px; font-size: 12px; font-weight: 600; }
.signin-language a { text-decoration: none; color: #8a909c; padding: 7px 0; }
.signin-language a[aria-current] { color: #1761da; border-bottom: 2px solid; }
.signin-main { flex: 1; display: grid; align-items: center; padding: 40px 44px 64px; }
.signin-form-wrap { width: 100%; max-width: 376px; margin: 0 auto; }
.signin-form-wrap h1 { margin: 0 0 38px; font-size: clamp(30px, 3vw, 38px); letter-spacing: -1.4px; line-height: 1.15; font-weight: 600; color: #19212e; }
.auth-form, .verify-form { display: grid; gap: 24px; }
.field { display: grid; gap: 10px; min-width: 0; }
.field label { font-size: 13px; font-weight: 550; }
.field-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field-heading a { font-size: 12px; color: #626e7e; text-decoration: none; }
.field-heading a:hover, .signin-footer a:hover { color: #1761da; text-decoration: underline; }
.field input { min-width: 0; width: 100%; height: 50px; padding: 0 15px; border: 1px solid #d7dde6; border-radius: 6px; background: #fcfcfd; color: #19212e; font: inherit; font-size: 15px; transition: border-color .15s, box-shadow .15s; }
.field input:focus { border-color: #1761da; outline: 0; box-shadow: 0 0 0 3px #1761da18; background: #fff; }
.password-field { position: relative; }
.password-field input { padding-right: 48px; }
.password-toggle { position: absolute; right: 5px; top: 5px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: transparent; border-radius: 4px; cursor: pointer; color: #778291; }
.password-toggle svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.password-toggle[aria-pressed="true"] { color: #1761da; background: #eef4ff; }
.primary-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 50px; border: 0; border-radius: 6px; padding: 12px 18px; background: #1761da; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
.primary-btn:hover { background: #104eb9; }
.auth-submit-arrow { display: block; width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
button:disabled { opacity: .6; cursor: wait; }
.status { font-size: 13px; line-height: 1.6; margin: 16px 0 0; overflow-wrap: anywhere; }
.status:empty { display: none; }
.status.error { color: #b42318; }
.status.success { color: #067647; }
.auth-switch { margin: 30px 0 0; text-align: center; font-size: 13px; color: #707987; line-height: 1.8; }
.auth-switch a { color: #19212e; text-underline-offset: 4px; font-weight: 550; }
.signin-footer { display: flex; justify-content: center; gap: 26px; padding: 22px; font-size: 11px; color: #7a8492; }
.signin-footer a { text-decoration: none; }
.signin-visual { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 40px 48px 30px; color: #fff; background: #1458cd; }
.signin-back { align-self: flex-end; display: inline-flex; align-items: center; gap: 9px; font-size: 12px; text-decoration: none; color: #e3eeff; }
.signin-back:hover, .signin-resources a:hover { text-decoration: underline; text-underline-offset: 5px; }
.signin-visual-content { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 40px 0 0; }
.signin-visual h2 { align-self: flex-start; position: relative; z-index: 1; margin: 0; font-size: clamp(36px, 4.3vw, 66px); font-weight: 550; line-height: 1.08; letter-spacing: -2.7px; }
.signin-visual h2 span { color: #c0d8ff; }
.signin-resources { display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; border-top: 1px solid #ffffff35; font-size: 12px; }
.signin-resources a { text-decoration: none; display: flex; align-items: center; gap: 12px; }
.auth-copy { margin: 0; font-size: 14px; line-height: 1.7; color: #697484; overflow-wrap: anywhere; }
.code-input { font-size: 24px !important; text-align: center; letter-spacing: 10px; }
.text-btn { border: 0; background: transparent; color: #1761da; cursor: pointer; font-size: 13px; padding: 8px; }
.hidden { display: none !important; }
@media (min-width: 1500px) { .signin-visual { padding-left: 80px; padding-right: 80px; } }
@media (max-width: 1000px) { .signin-shell { grid-template-columns: minmax(420px, 1fr) minmax(0, .9fr); } .signin-header { padding: 30px; } .signin-visual { padding: 34px 30px 28px; } .signin-visual h2 { font-size: 44px; letter-spacing: -2px; } .signin-main { padding: 40px 30px; } }
@media (max-width: 760px) { .signin-shell { display: block; min-height: 100svh; } .signin-side { min-height: 100svh; } .signin-visual { display: none; } .signin-header { padding: 26px 24px; } .signin-header img { width: 144px; } .signin-main { padding: 40px 24px 54px; } .signin-form-wrap h1 { font-size: 34px; margin-bottom: 32px; } .signin-footer { padding-bottom: 26px; } }

.signin-register { max-width: 440px; }
.register-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field select, .field textarea { width: 100%; min-width: 0; padding: 12px; border: 1px solid #d7dde6; border-radius: 6px; background: #fcfcfd; color: #19212e; font: inherit; font-size: 14px; }
.field select { height: 50px; }
.field textarea { resize: vertical; }
.register-policies { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; line-height: 1.7; }
.register-policies input { margin-top: 5px; }
@media (max-width: 400px) { .register-pair { grid-template-columns: 1fr; } }
