/* ARSENAL Academy domain auth face */
html,
body.domain-auth-page {
  min-height: 100vh;
}

body.domain-auth-page {
  margin: 0;
  display: block;
  align-items: initial;
  justify-content: initial;
  height: auto;
  color: #1f2933;
  background:
    radial-gradient(circle at 16% 18%, rgba(191, 142, 67, .24), transparent 28rem),
    radial-gradient(circle at 88% 82%, rgba(38, 49, 59, .14), transparent 34rem),
    linear-gradient(135deg, #111820 0%, #1f2933 57%, #edf1f5 57%, #f8fafc 100%);
  font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ars-auth-page {
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, .95fr) minmax(420px, 1.05fr);
  align-items: stretch;
}

.ars-auth-hero {
  position: relative;
  min-height: 100vh;
  padding: 3rem clamp(2rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #f8fafc;
  overflow: hidden;
}

.ars-auth-hero::before {
  content: "";
  position: absolute;
  inset: 2rem auto auto -10rem;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(242, 210, 138, .12);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 4rem rgba(242, 210, 138, .035),
    inset 0 0 0 8rem rgba(255, 255, 255, .025),
    inset 0 0 0 13rem rgba(242, 210, 138, .025);
}

.ars-auth-hero::after {
  content: "";
  position: absolute;
  left: clamp(2rem, 5vw, 5rem);
  right: 4rem;
  bottom: 2.8rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(242, 210, 138, .85), transparent);
}

.ars-auth-brand-stack,
.ars-auth-hero-copy,
.ars-auth-hero-metrics {
  position: relative;
  z-index: 1;
}

.ars-auth-hero-copy {
  width: min(100%, 760px);
  padding: clamp(1.35rem, 2.5vw, 2.25rem);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(11, 17, 23, .92), rgba(21, 31, 40, .76)),
    radial-gradient(circle at 14% 18%, rgba(242, 210, 138, .12), transparent 18rem);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .24);
  backdrop-filter: blur(4px);
}

.ars-auth-portal-logo {
  display: inline-flex;
  width: min(240px, 58vw);
  padding: .8rem 1rem;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(10px);
}

.ars-auth-portal-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.ars-auth-academy-logo {
  display: block;
  width: min(520px, 76vw);
  margin-top: 4.2rem;
  filter: drop-shadow(0 24px 38px rgba(0, 0, 0, .28));
}

.ars-auth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  color: #f2d28a;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .18rem;
  text-transform: uppercase;
}

.ars-auth-hero h1 {
  max-width: 640px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.35rem, 4.2vw, 4.55rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .42);
}

.ars-auth-hero p {
  max-width: 610px;
  margin: 1.25rem 0 0;
  color: #edf3f8;
  font-size: 1.12rem;
  line-height: 1.7;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .32);
}

.ars-auth-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  max-width: 650px;
  margin-top: 2.25rem;
}

.ars-auth-metric {
  min-height: 88px;
  padding: 1rem;
  border: 1px solid rgba(242, 210, 138, .24);
  border-radius: 8px;
  background: rgba(8, 14, 20, .5);
  backdrop-filter: blur(10px);
}

.ars-auth-metric strong {
  display: block;
  color: #ffffff;
  font-size: 1.45rem;
  line-height: 1;
}

.ars-auth-metric span {
  display: block;
  margin-top: .45rem;
  color: #d8e2eb;
  font-size: .86rem;
  line-height: 1.3;
}

.ars-auth-panel-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem clamp(1.25rem, 5vw, 4.5rem);
}

.ars-auth-card {
  width: min(100%, 560px);
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 28px 75px rgba(17, 24, 32, .2);
}

.ars-auth-card .card-header {
  padding: 1.2rem 1.35rem 0;
  border-bottom: 0;
  background: #ffffff;
}

.ars-auth-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .35rem .35rem 1rem;
}

.ars-auth-mini-logo {
  display: block;
  width: 230px;
  max-width: 72%;
  height: auto;
}

.ars-auth-secure-pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .42rem .65rem;
  border-radius: 999px;
  color: #415161;
  background: #eef2f6;
  font-size: .78rem;
  font-weight: 800;
  white-space: nowrap;
}

.ars-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
  padding: .55rem;
  border-radius: 8px;
  background: #eef2f6;
}

.ars-auth-tabs .nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  border: 0;
  border-radius: 7px;
  color: #536272;
  font-weight: 800;
}

.ars-auth-tabs .nav-link.active {
  color: #111820;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(17, 24, 32, .1);
}

.ars-auth-card .card-body {
  padding: 1.65rem;
}

.ars-auth-note {
  margin: 0 0 1.25rem;
  color: #5e6b78;
  font-size: 1rem;
  line-height: 1.55;
}

.ars-auth-card label {
  color: #26313b;
  font-size: .86rem;
  font-weight: 800;
}

.ars-auth-card .form-control {
  min-height: 50px;
  border-color: #d6dde4;
  border-radius: 7px;
  font-size: 1rem;
}

.ars-auth-card .form-control:focus {
  border-color: #bd8d42;
  box-shadow: 0 0 0 .2rem rgba(189, 141, 66, .18);
}

.ars-auth-card .input-group-text {
  min-width: 50px;
  justify-content: center;
  border-color: #d6dde4;
  border-radius: 0 7px 7px 0;
  color: #6b7785;
  background: #f5f7fa;
}

.ars-auth-primary {
  min-height: 54px;
  border: 0;
  border-radius: 7px;
  color: #111820;
  background: linear-gradient(135deg, #f2d28a 0%, #bd8d42 48%, #986d31 100%);
  box-shadow: 0 14px 28px rgba(189, 141, 66, .32);
  font-size: 1.05rem;
  font-weight: 900;
}

.ars-auth-primary:hover,
.ars-auth-primary:focus {
  color: #111820;
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(189, 141, 66, .38);
}

.ars-auth-signup-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: .8rem;
  margin-top: 1rem;
}

.ars-auth-signup-options-standalone {
  margin-top: 0;
}

.ars-auth-choice-btn {
  display: flex;
  align-items: center;
  gap: .9rem;
  width: 100%;
  min-height: 76px;
  padding: 1rem;
  border: 1px solid rgba(189, 141, 66, .34);
  border-radius: 8px;
  color: #111820;
  background: linear-gradient(135deg, #fff8e8 0%, #ffffff 62%, #f4f7fa 100%);
  box-shadow: 0 12px 26px rgba(17, 24, 32, .08);
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.ars-auth-choice-btn:hover,
.ars-auth-choice-btn:focus {
  color: #111820;
  border-color: rgba(189, 141, 66, .72);
  box-shadow: 0 18px 34px rgba(17, 24, 32, .13);
  text-decoration: none;
  transform: translateY(-1px);
}

.ars-auth-choice-btn-light {
  border-color: #d6dde4;
  background: #ffffff;
}

.ars-auth-choice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  color: #111820;
  background: linear-gradient(135deg, #f2d28a 0%, #bd8d42 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
}

.ars-auth-choice-copy,
.ars-auth-choice-title,
.ars-auth-choice-desc {
  display: block;
}

.ars-auth-choice-copy {
  min-width: 0;
}

.ars-auth-choice-title {
  color: #111820;
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.2;
}

.ars-auth-choice-desc {
  margin-top: .2rem;
  color: #697686;
  font-size: .86rem;
  line-height: 1.35;
}

.ars-auth-secondary-link {
  color: #315a7b;
  font-weight: 800;
}

.ars-auth-footer-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.15rem;
  flex-wrap: wrap;
}

.ars-auth-footnote {
  margin: 1.35rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid #e7ebef;
  color: #798695;
  font-size: .9rem;
  line-height: 1.45;
}

@media (max-width: 991.98px) {
  body.domain-auth-page {
    background: linear-gradient(180deg, #111820 0%, #202a33 38%, #f4f7fa 38%, #f8fafc 100%);
  }

  .ars-auth-page {
    display: block;
  }

  .ars-auth-hero {
    min-height: auto;
    padding: 2rem 1.25rem 1.25rem;
  }

  .ars-auth-academy-logo {
    margin-top: 2rem;
  }

  .ars-auth-hero-copy {
    margin-top: 2.5rem;
  }

  .ars-auth-hero h1 {
    font-size: clamp(2rem, 9vw, 3.5rem);
  }

  .ars-auth-hero-metrics {
    grid-template-columns: 1fr;
  }

  .ars-auth-panel-wrap {
    min-height: auto;
    padding: 1rem 1rem 2rem;
  }
}

@media (max-width: 575.98px) {
  .ars-auth-card-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .ars-auth-mini-logo {
    max-width: 100%;
  }

  .ars-auth-card .card-body {
    padding: 1.15rem;
  }

  .ars-auth-tabs .nav-link {
    min-height: 44px;
    font-size: .92rem;
  }
}
