﻿/* =======================
   Auth Pages (Minimal)
======================= */
.auth-page {
  min-height: 100vh;
  background:
    radial-gradient(95% 90% at 8% -10%, rgba(46, 242, 255, 0.13), transparent 58%),
    radial-gradient(90% 86% at 94% 110%, rgba(255, 179, 71, 0.12), transparent 56%),
    linear-gradient(180deg, rgba(9, 14, 22, 0.98), rgba(7, 11, 18, 0.98));
}

.auth-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(230, 238, 252, 0.02) 0,
    rgba(230, 238, 252, 0.02) 1px,
    transparent 1px,
    transparent 20px
  );
  z-index: 0;
}

.auth-header,
.auth-shell,
.auth-footer {
  position: relative;
  z-index: 1;
}

.auth-header {
  padding: 18px 0 8px;
}

.auth-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.auth-brand {
  margin: 0;
}

.auth-brand .auth-brand-logo {
  height: clamp(44px, 3vw, 58px);
  width: auto;
  max-width: min(62vw, 260px);
}

.auth-header__links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(194, 205, 223, 0.24);
  border-radius: 999px;
  background: rgba(12, 19, 30, 0.78);
  padding: 5px;
}

.auth-header__links a {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(230, 238, 252, 0.86);
  border: 1px solid transparent;
}

.auth-header__links a:hover,
.auth-header__links a:focus-visible {
  color: var(--color-text);
  border-color: rgba(46, 242, 255, 0.42);
  background: rgba(46, 242, 255, 0.12);
}

.auth-header__links a.is-active {
  color: #04121a;
  border-color: rgba(46, 242, 255, 0.6);
  background: linear-gradient(145deg, rgba(46, 242, 255, 0.95), rgba(46, 242, 255, 0.75));
}

.auth-shell {
  padding: 12px 0 26px;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(14px, 2.4vw, 28px);
  align-items: stretch;
}

.auth-showcase,
.auth-card {
  border-radius: 22px;
  border: 1px solid rgba(194, 205, 223, 0.2);
  background: rgba(12, 19, 30, 0.74);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 28px rgba(0, 0, 0, 0.28);
}

.auth-showcase {
  padding: clamp(16px, 2.2vw, 24px);
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 0;
  background:
    radial-gradient(90% 120% at 18% -10%, rgba(46, 242, 255, 0.16), transparent 56%),
    radial-gradient(80% 90% at 90% 100%, rgba(255, 179, 71, 0.16), transparent 58%),
    linear-gradient(160deg, rgba(17, 26, 41, 0.95), rgba(10, 16, 27, 0.96));
}

.auth-showcase__top {
  max-width: 44ch;
}

.auth-kicker {
  margin: 0 0 10px;
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #ffddb0;
}

.auth-showcase__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.08;
}

.auth-showcase__title span {
  background: linear-gradient(100deg, #2ef2ff, #ffb347);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.auth-showcase__lead {
  margin: 10px 0 0;
  color: var(--color-muted);
  line-height: 1.7;
  font-size: 0.92rem;
}

.auth-showcase__chips {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.auth-showcase__chip {
  border-radius: 999px;
  border: 1px solid rgba(194, 205, 223, 0.24);
  background: rgba(12, 20, 31, 0.9);
  padding: 6px 10px;
  font-size: 0.73rem;
  color: #c8d7ee;
}

.auth-showcase__minimal-list {
  display: grid;
  gap: 8px;
}

.auth-showcase__minimal-item {
  margin: 0;
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(194, 205, 223, 0.2);
  background: rgba(11, 18, 28, 0.6);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  font-size: 0.82rem;
  color: #c9d7ed;
}

.auth-showcase__minimal-item i {
  color: var(--color-primary);
}

.auth-card {
  padding: clamp(18px, 2.4vw, 30px);
  align-self: center;
}

.auth-card__top h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.1;
}

.auth-card__top p {
  margin: 10px 0 0;
  color: var(--color-muted);
  font-size: 0.93rem;
}

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

.auth-field {
  margin-bottom: 14px;
}

.auth-label {
  margin: 0 0 7px;
  display: inline-block;
  font-size: 0.8rem;
  color: #d4dff4;
}

.auth-input-wrap {
  position: relative;
}

.auth-input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(159, 176, 200, 0.88);
  font-size: 0.94rem;
  pointer-events: none;
}

.auth-input-wrap .form-control.gm-field {
  min-height: 46px;
  border-radius: 12px;
  padding-left: 36px;
  font-size: 0.9rem;
}

.auth-input-wrap .form-control.gm-field.auth-has-toggle {
  padding-right: 42px;
}

.auth-toggle-pass {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #c2d0e5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.auth-toggle-pass:hover,
.auth-toggle-pass:focus-visible {
  color: var(--color-primary);
  background: rgba(46, 242, 255, 0.14);
}

.auth-meta {
  margin-top: 4px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.auth-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  color: #c8d7ee;
}

.auth-check input {
  width: 16px;
  height: 16px;
  accent-color: #2ef2ff;
}

.auth-link {
  color: #9dd7ff;
  font-size: 0.8rem;
}

.auth-link:hover,
.auth-link:focus-visible {
  color: #b9e6ff;
}

.auth-submit {
  width: 100%;
  min-height: 48px;
  justify-content: center;
  font-size: 0.92rem;
}

.auth-footer-line {
  margin: 14px 0 0;
  color: var(--color-muted);
  font-size: 0.84rem;
  text-align: center;
}

.auth-footer-line a {
  color: var(--color-primary);
  font-weight: 700;
}

.auth-helper {
  margin: 10px 0 0;
  color: rgba(159, 176, 200, 0.86);
  font-size: 0.78rem;
  line-height: 1.6;
}

.auth-footer {
  padding-bottom: 24px;
}

.auth-footer p {
  margin: 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(159, 176, 200, 0.75);
}

@media (max-width: 991.98px) {
  .auth-layout {
    grid-template-columns: 1fr;
  }

  .auth-showcase {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .auth-header {
    padding-top: 12px;
  }

  .auth-header__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .auth-brand {
    justify-content: center;
  }

  .auth-brand .auth-brand-logo {
    margin: 0 auto;
    max-width: min(84vw, 260px);
    height: auto;
  }

  .auth-header__links {
    width: 100%;
    justify-content: center;
  }

  .auth-header__links a {
    flex: 1 1 auto;
    min-width: 0;
  }

  .auth-card,
  .auth-showcase {
    border-radius: 18px;
  }

  .auth-showcase__minimal-item {
    min-height: 38px;
    font-size: 0.8rem;
  }
}
