/* ---------- Sign in and agency application (Expedia TAAP / RateHawk split screen) ----------
   Left: dark brand panel with a live preview of the dashboard. Right: one focused form. */
.auth {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  min-height: 100vh;
  min-height: 100dvh;
}
.auth-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 48px;
  overflow: hidden;
  background: #0d0d10;
  color: #fff;
  isolation: isolate;
}
/* Soft brand glow behind the preview cards */
.auth-brand::before,
.auth-brand::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(80px);
}
.auth-brand::before {
  top: -120px;
  right: -140px;
  width: 460px;
  height: 460px;
  background: rgba(57, 101, 250, 0.45);
}
.auth-brand::after {
  bottom: -160px;
  left: -120px;
  width: 420px;
  height: 420px;
  background: rgba(148, 156, 246, 0.3);
}
.auth-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font: 600 22px 'Poppins', sans-serif;
  letter-spacing: -0.02em;
}
.auth-logo svg {
  width: 30px;
  height: 30px;
}
.auth-logo b {
  color: var(--lavender);
  font-weight: 600;
}
.auth-logo small {
  margin-left: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  font: 600 11px Inter, sans-serif;
  letter-spacing: 0.04em;
}
.auth-brand h2 {
  max-width: 460px;
  font: 600 38px/1.15 'Poppins', sans-serif;
  letter-spacing: -0.02em;
}
.auth-brand h2 em {
  color: var(--lavender);
  font-style: normal;
}
.auth-brand__lead {
  max-width: 440px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.6;
}
.auth-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.auth-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}
.auth-points .ic {
  display: grid;
  width: 32px;
  height: 32px;
  flex: none;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--mint);
}
/* Dashboard preview: three glass cards that echo real PrismTrip screens */
.auth-preview {
  position: relative;
  display: grid;
  gap: 12px;
  max-width: 420px;
}
.pv {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  animation: pv-in 0.9s var(--ease) backwards;
}
.pv:nth-child(2) {
  margin-left: 36px;
  animation-delay: 0.12s;
}
.pv:nth-child(3) {
  margin-left: 12px;
  animation-delay: 0.24s;
}
@keyframes pv-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
.pv__tile {
  display: grid;
  width: 38px;
  height: 38px;
  flex: none;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  font: 600 12px 'Poppins', sans-serif;
}
.pv__body {
  min-width: 0;
  flex: 1;
}
.pv__body b {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
.pv__body span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}
.pv__end {
  flex: none;
  text-align: right;
}
.pv__end b {
  display: block;
  font: 600 14px 'Poppins', sans-serif;
}
.pv__end span {
  font-size: 11px;
  font-weight: 600;
}
.pv__end .up {
  color: var(--mint);
}
.pv__end .warn {
  color: var(--sand);
}
.auth-facts {
  display: flex;
  gap: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.auth-facts b {
  display: block;
  font: 600 20px 'Poppins', sans-serif;
}
.auth-facts span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

/* Right side */
.auth-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px 48px;
  background: #fff;
}
.auth-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.auth-top .auth-logo {
  display: none;
  color: var(--ink);
}
.auth-top__help {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
}
.auth-top__help a {
  font-weight: 600;
}
.auth-top__help .icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.auth-card {
  width: 100%;
  max-width: 420px;
  margin: auto;
  padding: 32px 0;
}
.auth-card--wide {
  max-width: 520px;
}
.auth-card h1 {
  font: 600 30px/1.2 'Poppins', sans-serif;
  letter-spacing: -0.02em;
}
.auth-card > p,
.auth-sub {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}
.af {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.af > label,
.af__lab {
  display: flex;
  justify-content: space-between;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
}
.af__lab a,
.af > label a {
  font-weight: 600;
}
.af__box {
  position: relative;
  display: flex;
  align-items: center;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition:
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.af__box:hover {
  border-color: #cfcfcf;
}
.af__box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}
.af__box > .icon {
  width: 18px;
  height: 18px;
  flex: none;
  margin-left: 14px;
  color: var(--muted);
}
.af__box input,
.af__box select {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 14px 0 10px;
  border: 0;
  background: none;
  outline: none;
  color: var(--ink);
  font: 500 15px Inter, sans-serif;
}
.af__box select {
  padding-left: 14px;
  appearance: none;
  cursor: pointer;
}
.af__box input::placeholder {
  color: #b3b3b3;
  font-weight: 400;
}
.af__pre {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  padding: 0 12px 0 14px;
  border-right: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.af__eye {
  display: grid;
  width: 44px;
  height: 44px;
  flex: none;
  place-items: center;
  margin-right: 3px;
  border-radius: 10px;
  color: var(--muted);
}
.af__eye:hover {
  background: var(--page);
  color: var(--ink);
}
.af__eye .icon {
  width: 18px;
  height: 18px;
}
.af__hint {
  color: var(--muted);
  font-size: 12px;
}
.af__err {
  display: none;
  align-items: center;
  gap: 6px;
  color: var(--bad);
  font-size: 12px;
  font-weight: 500;
}
.af.is-err .af__box {
  border-color: var(--bad);
  box-shadow: 0 0 0 4px var(--bad-soft);
}
.af.is-err .af__err {
  display: flex;
}
.af__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.auth-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
.auth-line .check {
  font-size: 13px;
}
.auth-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font: 600 15px Inter, sans-serif;
  transition:
    background-color 0.3s var(--ease),
    transform 0.2s var(--ease);
}
.auth-btn:hover {
  background: #2c56e6;
}
.auth-btn:active {
  transform: scale(0.99);
}
.auth-btn .icon {
  width: 18px;
  height: 18px;
}
.auth-btn.is-busy {
  pointer-events: none;
  opacity: 0.85;
}
.auth-btn .spin {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: auth-spin 0.8s linear infinite;
}
@keyframes auth-spin {
  to {
    transform: rotate(360deg);
  }
}
.auth-btn--ghost {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.auth-btn--ghost:hover {
  border-color: var(--ink);
  background: #fff;
}
.auth-alt {
  margin-top: 24px;
  color: var(--ink-2);
  font-size: 14px;
  text-align: center;
}
.auth-alt a {
  font-weight: 600;
}
.auth-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bad-soft);
  color: #a1262b;
  font-size: 13px;
  line-height: 1.5;
}
.auth-alert--info {
  background: var(--primary-soft);
  color: #2443b5;
}
.auth-alert--ok {
  background: var(--ok-soft);
  color: #0c6b35;
}
.auth-alert .icon {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 1px;
}
.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
}
.auth-back .icon {
  width: 16px;
  height: 16px;
}
.auth-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
}
.auth-foot a:hover {
  color: var(--ink);
}

/* 6-digit code */
.otp {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.otp input {
  width: 100%;
  height: 58px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  color: var(--ink);
  font: 600 22px 'Poppins', sans-serif;
  text-align: center;
  transition:
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.otp input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}
.otp.is-err input {
  border-color: var(--bad);
  animation: otp-shake 0.4s;
}
@keyframes otp-shake {
  25% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(4px);
  }
}
.otp-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}
.otp-meta button:disabled {
  color: var(--muted);
  cursor: default;
}

/* Password strength */
.pw-meter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 2px;
}
.pw-meter i {
  height: 4px;
  border-radius: 4px;
  background: var(--surface);
  transition: background-color 0.3s var(--ease);
}
.pw-meter[data-s='1'] i:nth-child(-n + 1) {
  background: var(--bad);
}
.pw-meter[data-s='2'] i:nth-child(-n + 2) {
  background: var(--sand);
}
.pw-meter[data-s='3'] i:nth-child(-n + 3) {
  background: var(--primary);
}
.pw-meter[data-s='4'] i {
  background: var(--ok);
}
.pw-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}
.pw-rules span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.pw-rules span.ok {
  color: var(--ok);
}
.pw-rules .icon {
  width: 13px;
  height: 13px;
}

/* Application steps */
.ap-steps {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}
.ap-steps span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.ap-steps b {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 12px;
}
.ap-steps span.is-on {
  color: var(--ink);
}
.ap-steps span.is-on b {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}
.ap-steps span.is-done b {
  border-color: var(--ok);
  background: var(--ok);
  color: #fff;
}
.ap-steps span.is-done b .icon {
  width: 14px;
  height: 14px;
}
.ap-steps i {
  flex: 1;
  height: 2px;
  max-width: 60px;
  border-radius: 2px;
  background: var(--line);
}
.ap-steps i.is-done {
  background: var(--ok);
}
.ap-prods {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.ap-prod {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  transition:
    border-color 0.3s var(--ease),
    background-color 0.3s var(--ease);
}
.ap-prod:hover {
  border-color: #cfcfcf;
}
.ap-prod[aria-pressed='true'] {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--ink);
}
.ap-prod .icon {
  width: 20px;
  height: 20px;
}
.ap-prod::after {
  content: '';
  position: absolute;
  top: 10px;
  right: 10px;
  width: 16px;
  height: 16px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
}
.ap-prod[aria-pressed='true']::after {
  border-color: var(--primary);
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.ap-docs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ap-doc {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px dashed #cfcfcf;
  border-radius: 12px;
  text-align: left;
  transition:
    border-color 0.3s var(--ease),
    background-color 0.3s var(--ease);
}
.ap-doc:hover {
  border-color: var(--primary);
  background: #fafbff;
}
.ap-doc.is-done {
  border-style: solid;
  border-color: var(--ok);
  background: var(--ok-soft);
}
.ap-doc .ic {
  display: grid;
  width: 36px;
  height: 36px;
  flex: none;
  place-items: center;
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink-2);
}
.ap-doc.is-done .ic {
  background: var(--ok);
  color: #fff;
}
.ap-doc .ic .icon {
  width: 18px;
  height: 18px;
}
.ap-doc b {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
.ap-doc span {
  color: var(--muted);
  font-size: 12px;
}
.auth-reassure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.auth-reassure .icon {
  width: 14px;
  height: 14px;
  color: var(--ok);
}

/* Application received */
.ap-done__icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 20px;
  background: var(--ok-soft);
  color: var(--ok);
  animation: pv-in 0.7s var(--ease) backwards;
}
.ap-done__icon .icon {
  width: 30px;
  height: 30px;
}
.ap-tl {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.ap-tl li {
  position: relative;
  display: flex;
  gap: 14px;
}
.ap-tl li:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 30px;
  bottom: -16px;
  left: 13px;
  width: 2px;
  background: var(--line);
}
.ap-tl li.is-done:not(:last-child)::before {
  background: var(--ok);
}
.ap-tl .dot {
  display: grid;
  width: 28px;
  height: 28px;
  flex: none;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.ap-tl li.is-done .dot {
  border-color: var(--ok);
  background: var(--ok);
  color: #fff;
}
.ap-tl li.is-now .dot {
  border-color: var(--primary);
  color: var(--primary);
}
.ap-tl .dot .icon {
  width: 14px;
  height: 14px;
}
.ap-tl b {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.ap-tl span {
  color: var(--muted);
  font-size: 13px;
}

/* Phone and tablet: brand panel becomes a slim header strip */
@media (max-width: 980px) {
  .auth {
    grid-template-columns: minmax(0, 1fr);
  }
  .auth-brand {
    display: none;
  }
  .auth-main {
    padding: 20px 24px;
  }
  .auth-top .auth-logo {
    display: inline-flex;
  }
}
@media (max-width: 520px) {
  .auth-main {
    padding: 16px;
  }
  .auth-card {
    padding: 24px 0;
  }
  .auth-card h1 {
    font-size: 25px;
  }
  .af__row,
  .ap-docs {
    grid-template-columns: minmax(0, 1fr);
  }
  .ap-prods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .otp {
    gap: 6px;
  }
  .otp input {
    height: 52px;
    font-size: 20px;
  }
  .auth-top__help span {
    display: none;
  }
}

/* Checkbox row (also used on the dashboard pages) */
.check {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}
.check input {
  width: 16px;
  height: 16px;
  flex: none;
  margin: 2px 0 0;
  accent-color: var(--primary);
}
.check a,
.auth-alert a {
  font-weight: 600;
  text-decoration: underline;
}

/* On the white side the logo badge and hotline need dark colours and must not wrap. */
.auth-top .auth-logo small {
  background: var(--primary-soft);
  color: var(--primary);
}
.auth-top__help a {
  white-space: nowrap;
}

/* Dropdowns show a chevron so they read as selectable. */
.af__box select {
  padding-right: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8a8a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat;
}

/* ---------- Round 2: apply card on sign in, compact apply form, searchable city dropdown ---------- */
.auth-form {
  gap: 14px;
}
.auth-card > h1 + .auth-sub + .auth-form {
  margin-top: 22px;
}

/* Brand panel benefit points: title + one line */
.auth-points {
  gap: 14px;
}
.auth-points li {
  align-items: flex-start;
}
.auth-points li > span:last-child {
  display: flex;
  flex-direction: column;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}
.auth-points li b {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

/* Small grey note beside a label */
.af__opt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

/* Products as compact chips instead of tall cards */
.ap-prods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ap-prod {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px 0 12px;
  border-radius: 999px;
  font-size: 14px;
}
.ap-prod .icon {
  width: 17px;
  height: 17px;
}
.ap-prod::after {
  display: none;
}
.ap-prod[aria-pressed='true'] {
  color: var(--primary);
}
.ap-prod[aria-pressed='true'] .icon {
  color: var(--primary);
}

/* Searchable dropdown */
.dd {
  position: relative;
}
.dd__btn {
  width: 100%;
  padding-right: 12px;
  cursor: pointer;
  text-align: left;
}
.dd__val {
  flex: 1;
  min-width: 0;
  padding-left: 10px;
  overflow: hidden;
  color: var(--ink);
  font: 500 15px Inter, sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dd__chev {
  width: 18px;
  height: 18px;
  flex: none;
  margin-left: 6px !important;
  color: var(--muted);
  transition: transform 0.3s var(--ease);
}
.dd.is-open .dd__btn {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}
.dd.is-open .dd__chev {
  transform: rotate(180deg);
}
.dd__pop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  width: max(100%, 260px);
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-pop);
  animation: dd-in 0.25s var(--ease);
}
@keyframes dd-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}
.dd__search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  margin-bottom: 4px;
  padding: 0 10px;
  border-radius: 10px;
  background: var(--page);
}
.dd__search .icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.dd__search input {
  width: 100%;
  border: 0;
  background: none;
  outline: none;
  font: 14px Inter, sans-serif;
}
.dd__list {
  max-height: 240px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
  scrollbar-width: thin;
}
.dd__head {
  padding: 8px 10px 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.dd__list [role='option'] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 14px;
  cursor: pointer;
}
.dd__list [role='option'].is-on,
.dd__list [role='option']:hover {
  background: var(--page);
}
.dd__list [aria-selected='true'] {
  color: var(--primary);
  font-weight: 600;
}
.dd__list [role='option'] .icon {
  width: 16px;
  height: 16px;
}
.dd__none {
  padding: 12px 10px;
  color: var(--muted);
  font-size: 13px;
}

.auth-top__help b {
  color: var(--primary);
  font-weight: 600;
  white-space: nowrap;
}
@media (max-width: 520px) {
  /* Phones: the hotline becomes a round call button, products a 2 x 2 grid */
  .auth-top__help {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
  }
  .auth-top__help span,
  .auth-top__help b {
    display: none;
  }
  .auth-top__help .icon {
    color: var(--ink);
  }
  .ap-prods {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .ap-prod {
    justify-content: flex-start;
  }
}
.auth-sub a {
  color: var(--primary);
  font-weight: 600;
}

/* Sign in: the apply link is the one clear next step for new agencies (blue, bold, arrow that nudges on hover). */
.auth-alt--apply {
  margin-top: 28px;
  padding-top: 5px;
  font-size: 15px;
}
.auth-alt--apply a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(57, 101, 250, 0.35);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.3s var(--ease);
}
.auth-alt--apply a:hover {
  text-decoration-color: var(--primary);
}
.auth-alt--apply .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}
.auth-alt--apply a:hover .icon {
  transform: translateX(3px);
}

/* ---------- Staff (admin) sign in: dark page, one centred card, no marketing ---------- */
.staff {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 32px 16px;
  overflow: hidden;
  background: #0d0d10;
  isolation: isolate;
}
.staff::before,
.staff::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
}
.staff::before {
  top: -180px;
  left: 50%;
  width: 620px;
  height: 420px;
  background: rgba(57, 101, 250, 0.32);
  transform: translateX(-50%);
}
.staff::after {
  right: -160px;
  bottom: -200px;
  width: 460px;
  height: 460px;
  background: rgba(148, 156, 246, 0.18);
}
/* faint grid, like a console */
.staff__wrap::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.staff__wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  max-width: 440px;
  margin: auto;
}
.staff-card {
  width: 100%;
  padding: 32px;
  border-radius: 22px;
  background: #fff;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  animation: pv-in 0.6s var(--ease) backwards;
}
.staff-card__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 26px;
}
.staff-card__brand .auth-logo {
  color: var(--ink);
  font-size: 20px;
}
.staff-card__brand .auth-logo svg {
  width: 26px;
  height: 26px;
}
.staff-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #101010;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.staff-chip .icon {
  width: 14px;
  height: 14px;
  color: var(--mint);
}
.staff-card h1 {
  font: 600 26px/1.2 'Poppins', sans-serif;
  letter-spacing: -0.02em;
}
.staff-card .auth-form {
  margin-top: 22px;
}
.auth-btn--dark {
  background: #101010;
}
.auth-btn--dark:hover {
  background: #2a2a2e;
}
.staff-device {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--page);
}
.staff-device .icon {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--ok);
}
.staff-device span {
  display: flex;
  flex-direction: column;
  color: var(--muted);
  font-size: 12px;
}
.staff-device b {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.staff-note {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  max-width: 380px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}
.staff-note .icon {
  width: 14px;
  height: 14px;
  flex: none;
  margin-top: 2px;
}
.staff-alt {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}
.staff-alt a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}
.staff-alt a:hover {
  text-decoration-color: #fff;
}
@media (max-width: 520px) {
  .staff {
    padding: 20px 12px;
  }
  .staff-card {
    padding: 24px 20px;
    border-radius: 18px;
  }
  .staff-card h1 {
    font-size: 23px;
  }
}

/* ---------- Staff sign in, version 2: form left, live operations status right ---------- */
.ops {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  min-height: 100vh;
  min-height: 100dvh;
  background: #fff;
}
.ops-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 32px 56px;
}
.ops-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ops-top .auth-logo {
  color: var(--ink);
  font-size: 20px;
}
.ops-top .auth-logo svg {
  width: 26px;
  height: 26px;
}
.ops-card {
  width: 100%;
  max-width: 400px;
  margin: auto;
  padding: 36px 0;
}
.ops-card h1 {
  font: 600 30px/1.2 'Poppins', sans-serif;
  letter-spacing: -0.02em;
}
.ops-card .auth-form {
  margin-top: 24px;
}
.ops-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  color: var(--muted);
  font-size: 12px;
}
.ops-foot p {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ops-foot .icon {
  width: 14px;
  height: 14px;
}
.ops-foot a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line);
}
.ops-foot a:hover {
  text-decoration-color: var(--ink);
}

/* Right: calm dark panel that matches the dashboard sidebar (same ink, radius and page margin) */
.ops-side {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 20px;
  padding: 36px 40px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  isolation: isolate;
}
.ops-side::before {
  content: '';
  position: absolute;
  top: -180px;
  left: -120px;
  z-index: -1;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgba(148, 156, 246, 0.22);
  filter: blur(100px);
}
.ops-side__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 600;
}
.ops-side__label svg {
  width: 20px;
  height: 20px;
}
.ops-clock b {
  display: block;
  font: 600 88px/1 'Poppins', sans-serif;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.ops-clock span {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 15px;
}
.ops-state {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 500;
}
.ops-pulse {
  position: relative;
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: #3ddc84;
}
.ops-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(61, 220, 132, 0.35);
  animation: ops-pulse 2s ease-out infinite;
}
@keyframes ops-pulse {
  from {
    transform: scale(0.6);
    opacity: 1;
  }
  to {
    transform: scale(1.8);
    opacity: 0;
  }
}
/* Large faint prism, bottom right */
.ops-mark {
  position: absolute;
  right: -60px;
  bottom: -40px;
  z-index: -1;
  width: 360px;
  height: 360px;
  opacity: 0.09;
}
@media (max-width: 980px) {
  .ops {
    grid-template-columns: minmax(0, 1fr);
  }
  .ops-side {
    display: none;
  }
  .ops-main {
    padding: 20px 24px;
  }
}
@media (max-width: 520px) {
  .ops-main {
    padding: 16px;
  }
  .ops-card h1 {
    font-size: 25px;
  }
  .ops-foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Phones: a one-line status strip replaces the operations panel */
.ops-mini {
  display: none;
}
@media (max-width: 980px) {
  .ops-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #0d0d10;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
  }
  .ops-mini__time {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
  }
  .ops-mini .ops-pulse {
    width: 8px;
    height: 8px;
  }
}
