.auth-page {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.auth-page::before,
.auth-page::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
}

.auth-page::before {
  width: 260px;
  height: 260px;
  top: 8%;
  right: 10%;
  background: rgba(229, 9, 20, 0.18);
}

.auth-page::after {
  width: 220px;
  height: 220px;
  bottom: 10%;
  left: 8%;
  background: rgba(255, 255, 255, 0.04);
}

.auth-backdrop {
    position: absolute;
    inset: 0;
    /*background:
    linear-gradient(180deg, rgba(3, 3, 4, 0.48), rgba(4, 4, 6, 0.92)),
    linear-gradient(90deg, rgba(4, 4, 6, 0.9), rgba(4, 4, 6, 0.5)),
    radial-gradient(circle at 20% 20%, rgba(229, 9, 20, 0.16), transparent 26%),
    url("https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?auto=format&fit=crop&w=1400&q=80") center/cover no-repeat;*/
    background: linear-gradient(180deg, rgba(3, 3, 4, 0.48), rgba(4, 4, 6, 0.92)), linear-gradient(90deg, rgba(4, 4, 6, 0.9), rgba(4, 4, 6, 0.5)), radial-gradient(circle at 20% 20%, rgba(229, 9, 20, 0.16), transparent 26%), url("https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?auto=format&fit=crop&w=1400&q=80") center/cover no-repeat;
}

.auth-wrap {
  position: relative;
  z-index: 1;
  width: min(100%, 1120px);
}

.auth-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    linear-gradient(180deg, rgba(20, 20, 24, 0.98), rgba(10, 10, 12, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.auth-showcase {
    position: relative;
    min-height: 100%;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(180deg, rgb(107 102 103 / 14%), rgba(0, 0, 0, 0.12)), url("https://images.kableone.com/Images/WImg/Kableone_Flyer_06_1.png") center/ 90% no-repeat;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.auth-showcase--register {
  background:
    linear-gradient(180deg, rgba(229, 9, 20, 0.16), rgba(0, 0, 0, 0.14)),
    url("https://images.unsplash.com/photo-1485846234645-a62644f84728?auto=format&fit=crop&w=1200&q=80") center/cover no-repeat;
}

.auth-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 7, 9, 0.22), rgba(7, 7, 9, 0.78)),
    linear-gradient(90deg, rgba(7, 7, 9, 0.16), rgba(7, 7, 9, 0.05));
}

.auth-showcase > * {
  position: relative;
  z-index: 1;
}

.auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(8, 8, 10, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  width: fit-content;
  backdrop-filter: blur(10px);
}

.auth-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.3rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 1rem;
}

.auth-copy {
  max-width: 430px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
}

.auth-form-wrap {
  max-width: 460px;
  margin: 0 auto;
  padding: clamp(0.25rem, 1vw, 0.75rem);
}

.auth-form {
  display: grid;
  gap: 1rem;
}

.auth-form-intro {
  margin-bottom: 1.5rem;
}

.auth-field {
  display: grid;
  gap: 0.5rem;
}

.auth-field .form-label {
  margin-bottom: 0;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.auth-row {
  margin: 0.2rem 0 0.1rem;
}

.form-kicker {
  color: #f0b7bc;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.85rem;
}

.auth-form-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 0.65rem;
}

.form-control-ott {
  min-height: 58px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
  padding: 0.95rem 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.form-control-ott::placeholder {
  color: rgba(255, 255, 255, 0.36);
}

.form-control-ott:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(229, 9, 20, 0.66);
  box-shadow: 0 0 0 0.25rem rgba(229, 9, 20, 0.15);
  color: #fff;
}

.form-check-input {
  border-color: rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.04);
}

.form-check-input:checked {
  background-color: var(--brand);
  border-color: var(--brand);
}

.auth-submit {
  min-height: 58px;
  margin-top: 0.25rem;
}

.auth-divider {
  position: relative;
  text-align: center;
  margin: 0.1rem 0;
}

.auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

.auth-divider span {
  position: relative;
  display: inline-block;
  padding: 0 0.9rem;
  background: rgba(12, 12, 15, 0.9);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.auth-social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.auth-social-btn {
  min-height: 56px;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(20, 21, 26, 0.92);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.auth-social-btn i {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.92);
}

.auth-social-btn:hover,
.auth-social-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(229, 9, 20, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05)),
    rgba(24, 25, 30, 0.96);
  color: #fff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.auth-footnote {
  margin-top: 0.2rem;
}

.form-link {
  color: #fff;
  transition: color 0.2s ease;
}

.form-link:hover {
  color: #ffd7db;
}

@media (max-width: 991.98px) {
  .auth-panel {
    padding: 1.35rem;
  }

  .auth-form-wrap {
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .auth-showcase {
    display: none;
  }

  .auth-form-wrap {
    padding: 0.15rem;
  }

  .auth-title {
    max-width: 12ch;
  }
}

@media (max-width: 575.98px) {
  .auth-panel {
    border-radius: 20px;
  }

  .auth-form-title {
    font-size: 1.7rem;
  }

  .auth-page {
    padding: 1rem 0.75rem;
  }

  .auth-social-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .auth-social-btn,
  .auth-submit {
    min-height: 54px;
  }
}

.back-nav-arrow {
    position: absolute;
    top: 1.9em;
    left: 1em;
    border-radius: 50%;
    border: 2px solid #fff;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    color: #fff;
    z-index: 1;
}