/* Disa PDKS login / setup — factory shift identity */
.auth-shell {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(420px, .92fr) minmax(480px, 1.08fr);
  background: #0b1425;
}

.auth-brand {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(32px, 5vw, 76px);
  color: #fff;
  background:
    radial-gradient(circle at 92% 6%, rgba(72, 116, 197, .34), transparent 31%),
    linear-gradient(145deg, #0e172a 0%, #172641 58%, #203555 100%);
}

.auth-brand::before {
  content: "";
  position: absolute;
  inset: auto -14% -30% 30%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, .025),
    0 0 0 140px rgba(255, 255, 255, .018);
}

.auth-brand::after {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 5px;
  height: 38%;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, #b42346 0%, #8b2948 48%, #7a1f35 100%);
  box-shadow: 0 0 24px rgba(180, 35, 70, .26);
}

.auth-brand-inner {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  min-height: calc(100svh - clamp(64px, 10vw, 152px));
  display: flex;
  flex-direction: column;
}

.auth-brand-top {
  display: flex;
  align-items: center;
  gap: 18px;
}

.auth-brand .brand-mark {
  flex: 0 0 auto;
  width: 70px;
  height: 70px;
  margin: 0;
  border-radius: 19px;
  box-shadow: 0 16px 38px rgba(88, 19, 42, .34);
  font-size: 32px;
}

.auth-brand-name strong,
.auth-brand-name span {
  display: block;
}

.auth-brand-name strong {
  font: 800 21px Manrope, sans-serif;
  letter-spacing: -.025em;
}

.auth-brand-name span {
  margin-top: 4px;
  color: #a7b7d1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.auth-copy {
  margin: auto 0;
}

.auth-copy .eyebrow {
  margin-bottom: 17px;
  color: #7fa5ea;
}

.auth-brand .auth-copy h1 {
  max-width: 700px;
  margin: 0;
  font: 800 clamp(42px, 4.6vw, 72px)/1.01 Manrope, sans-serif;
  letter-spacing: -.055em;
}

.auth-brand .auth-copy h1 span {
  color: #fff;
}

.auth-brand .auth-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin: 23px 0 0;
  color: #b7c3d7;
  font-size: 15px;
  line-height: 1.75;
}

.auth-shift {
  display: grid;
  grid-template-columns: auto minmax(35px, 1fr) auto minmax(35px, 1fr) auto;
  align-items: center;
  gap: 13px;
  width: min(500px, 100%);
  color: #e7ecf5;
}

.auth-shift time {
  font: 800 12px Manrope, sans-serif;
}

.auth-shift i {
  height: 1px;
  background: rgba(255, 255, 255, .24);
}

.auth-shift b {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  background: rgba(255, 255, 255, .055);
  color: #b8c6db;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.auth-card {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(30px, 6vw, 92px);
  background:
    radial-gradient(circle at 84% 16%, rgba(78, 112, 206, .26), transparent 30%),
    radial-gradient(circle at 16% 88%, rgba(255, 139, 66, .1), transparent 27%),
    repeating-linear-gradient(132deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 42px),
    linear-gradient(145deg, #111d33 0%, #0b1425 58%, #111a2c 100%);
}

.auth-card::before {
  content: "";
  position: absolute;
  right: clamp(-190px, -9vw, -80px);
  top: clamp(-170px, -7vw, -70px);
  width: clamp(380px, 42vw, 660px);
  aspect-ratio: 1;
  border: 1px solid rgba(157, 181, 235, .09);
  border-radius: 50%;
  box-shadow:
    0 0 0 clamp(46px, 5vw, 84px) rgba(132, 160, 224, .035),
    0 0 0 clamp(94px, 10vw, 168px) rgba(132, 160, 224, .022);
  pointer-events: none;
}

.auth-card-inner {
  position: relative;
  z-index: 1;
  width: min(510px, 100%);
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 24px;
  background: rgba(255, 255, 255, .965);
  box-shadow:
    0 38px 100px rgba(0, 7, 20, .42),
    0 1px 0 rgba(255, 255, 255, .8) inset;
  backdrop-filter: blur(18px);
}

.auth-card-heading {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 15px;
  align-items: start;
}

.auth-lock {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #e9f8f2;
  color: #0c9468;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px #ccecdf;
}

.auth-card .eyebrow {
  margin: 1px 0 8px;
  color: #647ba3;
  font-size: 9px;
}

.auth-card h2 {
  margin: 0 0 9px;
  font: 800 clamp(27px, 3vw, 36px) Manrope, sans-serif;
  letter-spacing: -.045em;
}

.auth-card-heading .muted {
  max-width: 390px;
  margin: 0;
  font-size: 12px;
  line-height: 1.65;
}

.auth-form {
  margin-top: 30px;
  gap: 18px;
}

.auth-form label {
  gap: 8px;
  color: #34425a;
  font-size: 11px;
  letter-spacing: .01em;
}

.auth-form input {
  min-height: 50px;
  padding: 14px 15px;
  border-color: #d9e0eb;
  border-radius: 12px;
  background: #f8fafc;
  font-size: 14px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.auth-form input:hover {
  border-color: #bfcadb;
  background: #fff;
}

.auth-form input:focus {
  border-color: #315fd1;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(49, 95, 209, .1);
}

.auth-submit {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3px;
  padding: 0 17px 0 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, #274fba, #445ff0);
  box-shadow: 0 13px 26px rgba(49, 85, 201, .22);
}

.auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(49, 85, 201, .28);
}

.auth-submit b {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, .16);
  font-size: 17px;
}

.auth-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #e8ecf2;
  color: #8a95a7;
}

.auth-card-footer span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.auth-card-footer span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #28be89;
  box-shadow: 0 0 0 4px rgba(40, 190, 137, .11);
}

.auth-card-footer small {
  font-size: 9px;
}

@media (max-width: 900px) {
  .auth-shell {
    display: block;
    min-height: 100svh;
    background:
      radial-gradient(circle at 82% 12%, rgba(78, 112, 206, .22), transparent 30%),
      linear-gradient(160deg, #111d33 0%, #0b1425 72%);
  }

  .auth-brand {
    min-height: 285px;
    padding: 25px 24px 74px;
  }

  .auth-brand-inner {
    min-height: 186px;
    width: 100%;
  }

  .auth-copy {
    margin: 38px 0 0;
  }

  .auth-brand .auth-copy h1 {
    font-size: clamp(34px, 8vw, 48px);
    line-height: 1.02;
  }

  .auth-brand .auth-copy > p:not(.eyebrow),
  .auth-shift {
    display: none;
  }

  .auth-brand::before {
    inset: auto -15% -74% 35%;
  }

  .auth-card {
    min-height: auto;
    margin-top: -48px;
    padding: 0 16px 28px;
    background: transparent;
  }

  .auth-card::before {
    display: none;
  }

  .auth-card-inner {
    width: min(560px, 100%);
    padding: 27px 22px 23px;
    border-radius: 22px;
    box-shadow: 0 26px 64px rgba(0, 7, 20, .38);
  }
}

@media (max-width: 480px) {
  .auth-brand {
    min-height: 250px;
    padding: 20px 18px 64px;
  }

  .auth-brand-inner {
    min-height: 166px;
  }

  .auth-brand .brand-mark {
    width: 54px;
    height: 54px;
    border-radius: 15px;
    font-size: 25px;
  }

  .auth-brand-name strong {
    font-size: 17px;
  }

  .auth-brand-name span {
    font-size: 9px;
  }

  .auth-copy {
    margin: 31px 0 0;
  }

  .auth-copy .eyebrow {
    display: none;
  }

  .auth-brand .auth-copy h1 {
    font-size: 34px;
  }

  .auth-card {
    margin-top: -42px;
    padding-inline: 12px;
  }

  .auth-card-inner {
    padding: 24px 18px 20px;
    border-radius: 20px;
  }

  .auth-card-heading {
    grid-template-columns: 36px 1fr;
    gap: 11px;
  }

  .auth-lock {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .auth-card h2 {
    font-size: 25px;
  }

  .auth-card-heading .muted {
    font-size: 11px;
  }

  .auth-form {
    margin-top: 23px;
    gap: 15px;
  }

  .auth-form input {
    min-height: 48px;
  }

  .auth-card-footer {
    margin-top: 21px;
    padding-top: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-submit {
    transition: none;
  }
}
