:root {
  --auth-night: #0B3A40;
  --auth-turquoise: #33B8C1;
  --auth-accent: #00808A;
  --auth-light: #99DBE0;
  --auth-pale: #E3F5F6;
  --auth-canvas: #F0F9FA;
  --auth-ink: #183438;
  --auth-muted: #5C7275;
  --auth-border: #D1E5E7;
  --auth-error-bg: #FFF0EF;
  --auth-error: #8D211B;
  --auth-ok-bg: #E6F7F2;
  --auth-ok: #145C4A;
}
*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; }
body { margin: 0; min-height: 100vh; color: var(--auth-ink, #183438); background: var(--auth-canvas, #F0F9FA); font-family: 'Manrope', system-ui, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--auth-accent, #00808A); text-underline-offset: 3px; }
a:hover { color: var(--auth-night, #0B3A40); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--auth-turquoise, #33B8C1); outline-offset: 3px; }
.auth-shell { display: grid; grid-template-columns: minmax(350px, .9fr) minmax(520px, 1.1fr); min-height: 100vh; }
.auth-panel { position: sticky; top: 0; align-self: start; display: flex; flex-direction: column; justify-content: space-between; height: 100vh; padding: clamp(36px, 5vw, 78px); overflow: hidden; color: #fff; background: var(--auth-night, #0B3A40); isolation: isolate; }
.auth-brand { position: relative; z-index: 1; display: inline-flex; align-items: center; align-self: flex-start; gap: 11px; color: #fff; text-decoration: none; }
.auth-brand:hover { color: #fff; }
.auth-brand svg { width: 48px; height: 48px; flex: 0 0 48px; }
.auth-brand-word, .auth-brand-sub strong, .auth-panel h1, .auth-card h1 { font-family: 'Outfit', 'Manrope', system-ui, sans-serif; }
.auth-brand-word { font-size: 27px; font-weight: 800; letter-spacing: .02em; line-height: 1; }
.auth-brand-divider { width: 2px; height: 31px; background: var(--auth-turquoise, #33B8C1); }
.auth-brand-sub { display: flex; flex-direction: column; gap: 3px; }
.auth-brand-sub strong { color: var(--auth-light, #99DBE0); font-size: 14px; letter-spacing: .18em; line-height: 1; }
.auth-brand-sub small { color: #C3D9DB; font-size: 8px; letter-spacing: .18em; line-height: 1; }
.auth-panel-copy { position: relative; z-index: 1; width: min(100%, 550px); margin: 72px auto; }
.auth-kicker { margin: 0 0 13px; color: var(--auth-light, #99DBE0); font-size: 14px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.auth-panel h1 { max-width: 520px; margin: 0; color: #fff; font-size: clamp(36px, 4vw, 58px); font-weight: 700; line-height: 1.06; }
.auth-benefits { display: grid; gap: 25px; margin: 42px 0 0; padding: 0; list-style: none; }
.auth-benefits li { display: flex; align-items: flex-start; gap: 15px; }
.auth-benefits li > span:first-child { display: grid; flex: 0 0 28px; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: var(--auth-night, #0B3A40); background: var(--auth-turquoise, #33B8C1); font-weight: 900; }
.auth-benefits strong, .auth-benefits small { display: block; }
.auth-benefits strong { color: #fff; font-size: 17px; }
.auth-benefits small { max-width: 360px; margin-top: 3px; color: #C3D9DB; font-size: 14px; line-height: 1.45; }
.auth-panel-decoration { position: absolute; z-index: -1; right: -150px; bottom: -180px; width: 430px; height: 430px; border: 1px solid rgba(153,219,224,.18); border-radius: 50%; }
.auth-panel-decoration span { position: absolute; inset: 42px; border: 1px solid rgba(153,219,224,.13); border-radius: 50%; }
.auth-panel-decoration span:nth-child(2) { inset: 88px; }
.auth-panel-decoration span:nth-child(3) { inset: 134px; background: rgba(51,184,193,.08); }
.auth-content { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; padding: 48px clamp(22px, 5vw, 78px) 20px; }
.auth-card { width: min(100%, 510px); padding: clamp(28px, 4vw, 48px); border: 1px solid rgba(209,229,231,.9); border-radius: 24px; background: #fff; box-shadow: 0 22px 70px -42px rgba(11,58,64,.36); animation: auth-enter .55s ease both; }
.auth-card h1 { margin: 0 0 9px; color: var(--auth-night, #0B3A40); font-size: clamp(26px, 3vw, 34px); line-height: 1.15; }
.auth-card h2, .auth-card h3 { color: var(--auth-night, #0B3A40); font-family: 'Outfit', 'Manrope', system-ui, sans-serif; }
.auth-intro, .auth-card > p.intro { margin: 0 0 24px; color: var(--auth-muted, #5C7275); }
.auth-card form { margin: 0; }
.auth-card .field, .auth-card .input-group { margin: 0 0 18px; }
.auth-card label { display: block; margin: 0 0 7px; color: #29484C; font-size: 14px; font-weight: 750; }
.auth-card input:not([type="hidden"]), .auth-card select { display: block; width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #BCD5D8; border-radius: 10px; color: var(--auth-ink, #183438); background: #fff; font: inherit; transition: border-color .2s ease, box-shadow .2s ease; }
.auth-card input::placeholder { color: #83999C; }
.auth-card input:focus, .auth-card select:focus { border-color: var(--auth-accent, #00808A); box-shadow: 0 0 0 3px rgba(51,184,193,.18); outline: 0; }
.auth-card button[type="submit"] { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; margin-top: 7px; padding: 12px 18px; border: 0; border-radius: 11px; color: #FFFFFF; background-color: #0B3A40; font: inherit; font-weight: 800; cursor: pointer; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.auth-card button[type="submit"]:hover,
.auth-card button[type="submit"]:focus,
.auth-card button[type="submit"]:focus-visible,
.auth-card button[type="submit"]:active { color: #FFFFFF; background-color: #00808A; }
.auth-card button[type="submit"]:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0,128,138,.18); }
.auth-card button[type="submit"]:focus-visible { outline: 3px solid #33B8C1; outline-offset: 3px; }
.auth-card button[type="submit"]:disabled { color: #FFFFFF; background-color: #5C7275; cursor: not-allowed; box-shadow: none; transform: none; }
.auth-card .error, .auth-card .message, .auth-card #errorMessage { margin: 0 0 18px; padding: 12px 14px; border: 1px solid #F1C4C0; border-radius: 10px; color: var(--auth-error, #8D211B); background: var(--auth-error-bg, #FFF0EF); }
.auth-card .success { border-color: #B8E3D7; color: var(--auth-ok, #145C4A); background: var(--auth-ok-bg, #E6F7F2); }
.auth-card > p:not(.intro):not(.error):not(.message) { margin: 17px 0 0; color: var(--auth-muted, #5C7275); font-size: 14px; }
.auth-card .auth-switch { margin-top: 22px !important; padding-top: 18px; border-top: 1px solid #E5EFF0; text-align: center; }
.auth-card .auth-switch a { font-weight: 750; }
.auth-card footer { margin-top: 21px; text-align: center; font-size: 14px; }
.auth-card.auth-result { text-align: center; }
.auth-password-wrap { position: relative; }
.auth-password-wrap input { padding-right: 52px !important; }
.auth-password-wrap .password-toggle { position: absolute; top: 50%; right: 8px; display: grid; width: 38px; height: 38px; place-items: center; padding: 0; transform: translateY(-50%); border: 0; border-radius: 8px; color: var(--auth-accent, #00808A); background: transparent; cursor: pointer; }
.auth-footer { display: flex; justify-content: space-between; gap: 14px; width: min(100%, 510px); margin-top: 25px; color: #667D80; font-size: 12px; }
.auth-footer a { color: var(--auth-accent, #00808A); font-weight: 700; text-decoration: none; }
.auth-footer a:hover { text-decoration: underline; }
.auth-card .login-card { width: 100%; }
.auth-card .login-card h3 { margin: 0 0 22px; font-size: 30px; }
.auth-card .input-wrapper { position: relative; }
.auth-card .input-wrapper input { padding-left: 14px; }
@keyframes auth-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 900px) {
  .auth-shell { grid-template-columns: 1fr; align-content: start; }
  .auth-panel { position: static; height: auto; min-height: 0; padding: 20px clamp(20px, 6vw, 50px); }
  .auth-panel-copy, .auth-panel-decoration { display: none; }
  .auth-content { min-height: calc(100vh - 88px); padding: 34px 20px 20px; }
}
@media (min-width: 901px) and (max-height: 720px) {
  .auth-panel { padding-top: 28px; padding-bottom: 28px; }
  .auth-panel-copy { margin: 28px auto; }
  .auth-panel h1 { font-size: clamp(30px, 3.4vw, 44px); }
  .auth-benefits { margin-top: 26px; gap: 16px; }
}
@media (max-width: 520px) {
  .auth-panel { padding: 15px 18px; }
  .auth-brand svg { width: 40px; height: 40px; flex-basis: 40px; }
  .auth-brand-word { font-size: 23px; }
  .auth-content { padding: 24px 14px 16px; }
  .auth-card { padding: 26px 21px; border-radius: 18px; }
  .auth-footer { flex-direction: column; align-items: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
