/* ==========================================================================
   Auth pages — split-screen layout
   Form panel on the left, hero (image/welcome) panel on the right.
   On mobile, hero collapses to a thin top banner.
   ========================================================================== */

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  min-height: 100vh;
}

@media (max-width: 900px) {
  .auth-shell {
    grid-template-columns: 1fr;
    grid-template-rows: 80px 1fr;
  }
}

/* --- Form panel ----------------------------------------------------------- */
.auth-form-panel {
  display: flex;
  flex-direction: column;
  padding: 40px 56px;
  background: var(--white);
}

@media (max-width: 900px) {
  .auth-form-panel { padding: 32px 24px; }
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 56px;
  background: var(--blue-darker);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  text-decoration: none;
  align-self: flex-start;
}
.auth-logo {
  height: 32px;
  width: auto;
  display: block;
}

.auth-form {
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-form h1 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 600;
  color: var(--blue-darker);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.auth-form .lede {
  font-size: var(--text-md);
  color: var(--gray-500);
  margin: 0 0 32px;
}

.auth-form-actions {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 0 20px;
}

.auth-foot {
  margin-top: 32px;
  font-size: var(--text-sm);
  color: var(--gray-500);
  text-align: center;
}
.auth-foot a {
  font-weight: 600;
  color: var(--blue-normal);
}

.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-500);
  margin-bottom: 32px;
  text-decoration: none;
}
.auth-back:hover { color: var(--blue-normal); text-decoration: none; }

/* --- Hero panel ----------------------------------------------------------- */
.auth-hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(0, 19, 36, 0.8) 0%, rgba(0, 40, 77, 0.6) 60%, rgba(228, 127, 58, 0.55) 100%),
    radial-gradient(at 30% 20%, rgba(253, 197, 0, 0.18), transparent 60%),
    var(--blue-darker);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 56px;
  color: var(--white);
  overflow: hidden;
}

/* Decorative road/highway lines suggestion */
.auth-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      105deg,
      transparent,
      transparent 80px,
      rgba(253, 197, 0, 0.06) 80px,
      rgba(253, 197, 0, 0.06) 82px
    );
  pointer-events: none;
}

.auth-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 480px;
}

.auth-hero h2 {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 600;
  margin: 0 0 16px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.auth-hero p {
  font-size: var(--text-md);
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 32px;
  line-height: 1.6;
  max-width: 420px;
}

.auth-hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.auth-hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.92);
}
.auth-hero-bullets li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--yellow-normal);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .auth-hero {
    padding: 16px 24px;
    justify-content: center;
    align-items: center;
  }
  .auth-hero h2 { font-size: var(--text-xl); margin: 0; }
  .auth-hero p, .auth-hero-bullets { display: none; }
}

/* --- OTP code input ------------------------------------------------------- */
.otp-grid {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin: 24px 0;
}
.otp-grid input {
  width: 56px;
  height: 64px;
  text-align: center;
  font-size: var(--text-2xl);
  font-weight: 600;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--blue-darker);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.otp-grid input:focus {
  outline: none;
  border-color: var(--blue-normal);
  box-shadow: 0 0 0 3px rgba(0, 53, 102, 0.12);
}
@media (max-width: 480px) {
  .otp-grid input { width: 44px; height: 52px; font-size: var(--text-xl); }
}

/* --- Status / info card --------------------------------------------------- */
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--blue-light-hover);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}
.info-card svg {
  flex-shrink: 0;
  color: var(--blue-normal);
  margin-top: 2px;
}
.info-card-body {
  font-size: var(--text-sm);
  color: var(--blue-darker);
  line-height: 1.5;
}
.info-card-body strong { font-weight: 600; }
