/* Login page only: the rest of the application keeps its existing styles. */
.auth-v2 {
  background: #f4f7f6;
}

.auth-v2-shell {
  min-height: 100svh;
  grid-template-columns: minmax(0, 51%) minmax(0, 49%);
}

.auth-v2-story {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(32px, 3.2vw, 58px);
  background: #0c2d3d;
}

.auth-v2-story::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .1;
  background-image: linear-gradient(#75bdd016 1px, transparent 1px), linear-gradient(90deg, #75bdd016 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent 25%, #000 100%);
  pointer-events: none;
}

.auth-v2-orbit {
  position: absolute;
  z-index: -1;
  top: 16%;
  right: -18%;
  width: min(57vw, 600px);
  aspect-ratio: 1;
  opacity: .38;
  pointer-events: none;
}

.orbit-ring,
.orbit-core,
.orbit-satellite {
  position: absolute;
  display: block;
  border-radius: 50%;
}

.orbit-ring {
  inset: 0;
  border: 1px solid #79d7d72d;
  box-shadow: none;
}

.orbit-ring-one { inset: 17%; }
.orbit-ring-two { inset: 34%; border-color: #89e3cf42; }
.orbit-ring-three { inset: 43%; border-color: #a8f0e882; }

.orbit-core {
  inset: 47%;
  background: #91e7d7;
  box-shadow: none;
  animation: auth-core-breathe 5s ease-in-out infinite;
}

.orbit-satellite {
  top: calc(50% - 5px);
  left: calc(50% - 5px);
  width: 10px;
  height: 10px;
  background: #7ce3cf;
  box-shadow: none;
  animation: auth-orbit 22s linear infinite;
}

.auth-v2-brand,
.auth-v2-copy,
.auth-v2-flow,
.auth-v2-jinqua {
  position: relative;
  z-index: 1;
}

.auth-v2-copy {
  max-width: 690px;
  margin-top: clamp(48px, 6.5vh, 78px);
}

.auth-v2-copy h1 {
  max-width: 680px;
  font-size: clamp(50px, 3.7vw, 70px);
  font-weight: 780;
  letter-spacing: -.055em;
  line-height: 1.06;
  text-wrap: balance;
}

.auth-v2-copy > p {
  max-width: 550px;
  margin-top: 22px;
  color: #c4dce1;
  line-height: 1.55;
}

.auth-v2-flow {
  width: min(100%, 650px);
  margin-top: clamp(30px, 4.5vh, 46px);
}

.auth-v2-flow-label {
  margin: 0 0 21px;
  color: #8bd9cc;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.auth-v2-flow-track {
  position: absolute;
  top: 58px;
  right: 12%;
  left: 16px;
  height: 1px;
  overflow: hidden;
  background: #8bd9cc64;
}

.auth-v2-flow-track::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 30%;
  background: linear-gradient(90deg, transparent, #a8f6df, transparent);
  filter: none;
  animation: auth-flow 7s linear infinite;
}

.auth-v2-flow ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.auth-v2-flow li {
  min-width: 0;
}

.auth-v2-flow-number {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #77d9cbb0;
  border-radius: 50%;
  background: #103c4b;
  color: #b4f2e2;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  box-shadow: none;
}

.auth-v2-flow strong,
.auth-v2-flow small {
  display: block;
}

.auth-v2-flow strong {
  margin-top: 15px;
  color: #fff;
  font-size: .95rem;
}

.auth-v2-flow small {
  max-width: 180px;
  margin-top: 4px;
  color: #aec8d0;
  font-size: 14px;
  line-height: 1.45;
}

.auth-v2-jinqua {
  grid-template-columns: 58px minmax(0, 350px);
  gap: 13px;
  width: min(100%, 650px);
  padding-top: 20px;
  border-top: 1px solid #a9d2d12d;
}

.auth-v2-jinqua img {
  width: 58px;
  height: 58px;
}

.auth-v2-jinqua strong { font-size: .9rem; }
.auth-v2-jinqua small { margin-top: 2px; font-size: 14px; }

.auth-v2-form-side {
  min-height: 100svh;
  padding: clamp(24px, 3vw, 52px);
  background: #f6f8f8;
}

.auth-v2-form-wrap {
  width: min(100%, 500px);
  padding: clamp(30px, 3vw, 48px);
  border: 1px solid #dbe7e5;
  border-radius: 11px;
  background: #fff;
  box-shadow: none;
}

.auth-v2-eyebrow { margin-bottom: 12px; }
.auth-v2-form-wrap h2 { font-size: clamp(30px, 2.2vw, 37px); }
.auth-v2-intro { margin-bottom: 30px; line-height: 1.5; }
.auth-v2 .field { margin-bottom: 17px; }
.auth-v2 .field label { display: inline-block; margin-bottom: 6px; font-weight: 750; }
.auth-v2 .field input { border-radius: 9px; }
.auth-v2 .field input:focus { border-color: #147ea3; box-shadow: 0 0 0 3px #147ea322; outline: none; }
.auth-v2 .check { margin: 4px 0 23px; }
.auth-v2-submit { height: 52px; border-radius: 9px; font-size: .94rem; transition: background-color .2s; }
.auth-v2-submit:hover:not(:disabled) { background: #0d6688; }
.auth-v2-security { margin-top: 25px; background: #f2faf7; }
.auth-v2-help { margin-top: 16px; }
.auth-v2-footer { width: min(100%, 500px); justify-content: center; padding-top: 22px; }

@keyframes auth-orbit {
  from { transform: rotate(0deg) translateX(min(25vw, 265px)) rotate(0deg); }
  to { transform: rotate(360deg) translateX(min(25vw, 265px)) rotate(-360deg); }
}

@keyframes auth-core-breathe {
  50% { opacity: .58; transform: scale(.78); }
}

@keyframes auth-flow {
  from { transform: translateX(-110%); }
  to { transform: translateX(340%); }
}

@media (max-width: 1100px) {
  .auth-v2-shell { display: block; }
  .auth-v2-story { min-height: auto; padding: 34px clamp(28px, 7vw, 70px) 40px; }
  .auth-v2-copy { margin-top: 58px; }
  .auth-v2-copy h1 { max-width: 760px; }
  .auth-v2-flow { margin-top: 40px; }
  .auth-v2-jinqua { margin-top: 40px; }
  .auth-v2-orbit { width: 550px; right: -120px; top: 8%; }
  .auth-v2-form-side { min-height: auto; padding: 52px 24px 28px; }
  .auth-v2-form-wrap { margin-inline: auto; }
}

@media (min-width: 1101px) and (max-width: 1500px) {
  .auth-v2-story { padding-block: 36px; }
  .auth-v2-form-side { padding-block: 28px; }
}

@media (max-width: 640px) {
  .auth-v2-story { padding: 26px 24px 32px; }
  .auth-v2-copy { margin-top: 46px; }
  .auth-v2-copy h1 { font-size: clamp(40px, 9vw, 54px); }
  .auth-v2-copy > p { margin-top: 16px; font-size: .98rem; }
  .auth-v2-orbit { top: 8%; right: -245px; opacity: .42; }
  .auth-v2-flow { margin-top: 34px; }
  .auth-v2-flow-label { margin-bottom: 15px; }
  .auth-v2-flow-track { display: none; }
  .auth-v2-flow ol { grid-template-columns: 1fr; gap: 14px; }
  .auth-v2-flow li { display: grid; grid-template-columns: 34px 1fr; column-gap: 13px; align-items: center; }
  .auth-v2-flow-number { grid-row: span 2; }
  .auth-v2-flow strong { margin: 0; }
  .auth-v2-flow small { max-width: none; margin: 1px 0 0; }
  .auth-v2-jinqua { margin-top: 30px; padding-top: 20px; }
  .auth-v2-form-side { padding: 26px 16px 24px; }
  .auth-v2-form-wrap { padding: 29px 24px; border-radius: 14px; }
}

@media (max-width: 430px) {
  .auth-v2-brand.co-brand-lockup { flex-direction: row; align-items: center; gap: 8px; }
  .auth-v2-brand .gv-brand-logo { width: 106px; }
  .auth-v2-brand .deo-product-logo { width: min(48vw, 170px); }
  .auth-v2-brand .brand-divider { display: block; height: 34px; }
  .auth-v2-copy h1 { font-size: 2.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-core,
  .orbit-satellite,
  .auth-v2-flow-track::after { animation: none; }
  .auth-v2-submit { transition: none; }
  .auth-v2-submit:hover:not(:disabled) { transform: none; }
}
