:root {
  --auth-ink: #071a20;
  --auth-teal: #008f83;
  --auth-teal-deep: #05665f;
  --auth-muted: #68777a;
  --auth-line: #dce4e2;
  --auth-canvas: #f4f6f5;
  --auth-error: #b42318;
  --auth-gold: #d6a65f;
}

* { box-sizing: border-box; }
html,body { min-height: 100%; }
body.urbanix-auth { margin: 0; color: var(--auth-ink); background: var(--auth-canvas); font-family: Manrope,sans-serif; }
.auth-skip { position: fixed; z-index: 30; top: 12px; left: 12px; padding: 10px 14px; color: #fff; border-radius: 7px; background: var(--auth-teal-deep); transform: translateY(-160%); }
.auth-skip:focus { transform: none; }
.auth-layout { display: grid; min-height: 100svh; grid-template-columns: minmax(0,1.05fr) minmax(500px,.95fr); background: #fff; }

.auth-showcase { position: relative; min-height: 100svh; overflow: hidden; color: #fff; background: #173d3b; isolation: isolate; }
.auth-showcase__image,.auth-showcase__wash { position: absolute; z-index: -2; width: 100%; height: 100%; inset: 0; }
.auth-showcase__image { object-fit: cover; object-position: 54% center; animation: auth-image-arrive 800ms cubic-bezier(.2,.7,.25,1) both; }
.auth-showcase__wash { z-index: -1; background: linear-gradient(180deg,rgb(4 29 31 / 8%) 0%,rgb(4 29 31 / 12%) 32%,rgb(4 29 31 / 80%) 100%),linear-gradient(90deg,rgb(5 27 29 / 32%),transparent 78%); }
.auth-showcase::after { position: absolute; z-index: -1; right: 0; bottom: 0; left: 0; height: 7px; background: linear-gradient(90deg,var(--auth-teal),#69c8ae 58%,var(--auth-gold)); content: ""; }
.auth-showcase__brand { position: absolute; top: 34px; left: clamp(28px,4.8vw,72px); display: flex; width: 228px; min-height: 76px; padding: 10px 14px; align-items: center; border: 1px solid rgb(255 255 255 / 50%); border-radius: 12px; background: rgb(255 255 255 / 94%); box-shadow: 0 14px 40px rgb(6 25 26 / 14%); backdrop-filter: blur(12px); }
.auth-showcase__brand img { display: block; width: 100%; height: auto; object-fit: contain; }
.auth-showcase__copy { position: absolute; right: clamp(30px,5vw,76px); bottom: clamp(42px,8vh,88px); left: clamp(30px,5vw,76px); max-width: 740px; }
.auth-overline,.auth-kicker { display: flex; margin: 0; align-items: center; gap: 9px; color: inherit; font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.auth-overline i,.auth-kicker span { width: 7px; height: 7px; border-radius: 50%; background: #62d4bd; box-shadow: 0 0 0 5px rgb(98 212 189 / 15%); }
.auth-showcase h1 { max-width: 16ch; margin: 19px 0 17px; font-size: clamp(2.6rem,4.5vw,5rem); line-height: .99; letter-spacing: -.065em; }
.auth-showcase h1 em { color: #b3e4d7; font-style: normal; }
.auth-showcase__copy > p { max-width: 56ch; margin: 0; color: rgb(255 255 255 / 86%); font-size: clamp(.9rem,1.15vw,1.05rem); line-height: 1.75; }
.auth-trust { display: flex; margin-top: 29px; flex-wrap: wrap; gap: 13px 25px; }
.auth-trust span { display: flex; align-items: center; gap: 8px; font-size: .69rem; font-weight: 700; }
.auth-trust b { color: #8ee0cd; font-size: .58rem; letter-spacing: .06em; }

.auth-panel { position: relative; display: grid; min-height: 100svh; padding: 58px clamp(36px,7vw,112px); background: #fff; place-items: center; }
.auth-panel::before { position: absolute; top: 0; left: 0; width: 5px; height: 100%; background: linear-gradient(180deg,#eef7f4,transparent 40%,#f7f3eb); content: ""; }
.auth-panel__inner { width: min(100%,440px); }
.auth-mobile-brand { display: none; }
.auth-kicker { margin-bottom: 17px; color: var(--auth-teal-deep); }
.auth-panel h2 { margin: 0; font-size: clamp(2.15rem,3.2vw,3.1rem); line-height: 1.04; letter-spacing: -.06em; }
.auth-intro { max-width: 40ch; margin: 14px 0 35px; color: var(--auth-muted); font-size: .9rem; line-height: 1.7; }
.auth-form { display: grid; gap: 10px; }
.auth-form > label,.auth-label-row label { color: #33484b; font-size: .72rem; font-weight: 800; }
.auth-label-row { display: flex; margin-top: 10px; align-items: center; justify-content: space-between; gap: 10px; }
.auth-label-row a,.auth-support a,.auth-back { color: var(--auth-teal-deep); font-size: .7rem; font-weight: 800; text-decoration: none; }
.auth-label-row a:hover,.auth-support a:hover,.auth-back:hover { color: #003e3a; text-decoration: underline; text-underline-offset: 3px; }
.auth-control { display: flex; min-height: 54px; padding: 0 14px 0 0; align-items: center; gap: 0; overflow: hidden; border: 1px solid #cbd6d4; border-radius: 10px; background: #fff; box-shadow: 0 2px 5px rgb(7 26 32 / 2%); transition: border-color 160ms ease,box-shadow 160ms ease,background-color 160ms ease; }
.auth-control:focus-within { border-color: var(--auth-teal); box-shadow: 0 0 0 4px rgb(0 143 131 / 11%); }
.auth-control__icon { display: grid; width: 48px; height: 52px; flex: 0 0 48px; color: #758b89; border-right: 1px solid #e7edeb; background: #f8faf9; place-items: center; }
.auth-control input { width: 100%; height: 52px; min-width: 0; padding: 0 13px; border: 0; outline: 0; color: var(--auth-ink); background: transparent; font: inherit; font-size: .82rem; }
.auth-control input::placeholder { color: #9aa8a9; }
.auth-control input:-webkit-autofill,.auth-control input:-webkit-autofill:hover,.auth-control input:-webkit-autofill:focus { -webkit-text-fill-color: var(--auth-ink); box-shadow: 0 0 0 1000px #fff inset; }
.auth-password-toggle { display: grid; width: 38px; height: 38px; flex: 0 0 38px; border: 0; border-radius: 7px; color: #6c8280; background: transparent; cursor: pointer; place-items: center; }
.auth-password-toggle:hover { color: var(--auth-teal-deep); background: #edf5f3; }
.auth-field-error { color: var(--auth-error); font-size: .7rem; }
.auth-submit { display: flex; width: 100%; min-height: 52px; margin-top: 17px; padding: 0 18px; align-items: center; justify-content: space-between; border: 1px solid var(--auth-teal-deep); border-radius: 9px; color: #fff; background: var(--auth-teal-deep); font: inherit; font-size: .78rem; font-weight: 800; cursor: pointer; box-shadow: 0 9px 22px rgb(5 102 95 / 17%); transition: background-color 160ms ease,border-color 160ms ease,transform 160ms ease,box-shadow 160ms ease; }
.auth-submit span { font-size: 1.1rem; font-weight: 500; transition: transform 160ms ease; }
.auth-submit:hover { transform: translateY(-1px); border-color: #034d49; background: #034d49; box-shadow: 0 13px 26px rgb(5 102 95 / 22%); }
.auth-submit:hover span { transform: translateX(3px); }
.auth-support { display: flex; margin: 25px 0 0; align-items: center; justify-content: center; flex-wrap: wrap; gap: 5px; color: var(--auth-muted); font-size: .68rem; text-align: center; }
.auth-support a span { margin-left: 2px; }
.auth-portal-switch { display: flex; margin-top: 26px; padding-top: 19px; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 18px; border-top: 1px solid var(--auth-line); color: var(--auth-muted); font-size: .72rem; }
.auth-portal-switch a { display: inline-flex; min-height: 40px; padding: 0 13px; align-items: center; gap: 8px; border: 1px solid var(--auth-line); border-radius: 8px; color: var(--auth-teal-deep); background: #fff; font-size: .72rem; font-weight: 800; text-decoration: none; transition: border-color 160ms ease,background-color 160ms ease; }
.auth-portal-switch a:hover { border-color: var(--auth-teal); background: #f2f8f6; }
.auth-portal-switch a:focus-visible { outline: 3px solid rgb(0 143 131 / 35%); outline-offset: 3px; }
.auth-back { display: flex; width: max-content; min-height: 42px; margin: 30px auto 0; align-items: center; gap: 8px; color: #66787a; }
.auth-back span { color: var(--auth-teal); font-size: 1rem; }
.auth-flashes { position: fixed; z-index: 20; top: 18px; right: 20px; width: min(420px,calc(100% - 40px)); }
.auth-alert { padding: 13px 16px; border: 1px solid var(--auth-line); border-left: 4px solid var(--auth-teal); border-radius: 9px; background: #fff; box-shadow: 0 16px 44px rgb(7 26 32 / 12%); font-size: .76rem; }
.auth-alert--error { border-left-color: var(--auth-error); }
:where(a,button,input):focus-visible { outline: 3px solid rgb(0 143 131 / 35%); outline-offset: 3px; }

@keyframes auth-image-arrive { from { opacity: .65; transform: scale(1.025); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 980px) {
  .auth-layout { min-height: 100svh; grid-template-columns: 1fr; }
  .auth-showcase { display: none; }
  .auth-panel { min-height: 100svh; padding: 38px 24px; }
  .auth-mobile-brand { display: flex; width: 210px; min-height: 70px; margin: 0 auto 44px; padding: 9px 14px; align-items: center; border: 1px solid var(--auth-line); border-radius: 11px; background: #fff; box-shadow: 0 10px 28px rgb(7 26 32 / 5%); }
  .auth-mobile-brand img { display: block; width: 100%; height: auto; }
  .auth-panel__inner { width: min(100%,480px); }
}
@media (max-width: 560px) {
  .auth-panel { padding: 26px 20px; }
  .auth-panel__inner { padding-block: 10px; }
  .auth-mobile-brand { width: 184px; min-height: 62px; margin-bottom: 36px; }
  .auth-panel h2 { font-size: clamp(2rem,9vw,2.6rem); }
  .auth-intro { margin-bottom: 27px; font-size: .83rem; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
