/* ============================================================
 * Holaf Motos — auth.css
 * ============================================================ */

.auth-page {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: stretch;
  background: linear-gradient(135deg, var(--bg-soft) 0%, #fff 100%);
}
.auth-hero {
  flex: 1;
  display: none;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 64px;
  position: relative;
  overflow: hidden;
}
.auth-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  filter: saturate(1.1);
}
.auth-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(216,12,36,0.85) 0%, rgba(140,0,20,0.92) 100%);
}
.auth-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-width: 520px;
}
.auth-hero__brand {
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 24px;
  opacity: 0.9;
}
.auth-hero__brand strong { font-weight: 900; }
.auth-hero__title {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.auth-hero__subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
}
@media (min-width: 1024px) { .auth-hero { display: block; flex: 1.2; } }

.auth-form-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.auth-card {
  width: 100%;
  max-width: 460px;
  background: #fff;
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.auth-card--wide { max-width: 560px; }
@media (min-width: 768px) { .auth-card { padding: 48px; } }

.auth-card__title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.auth-card__subtitle {
  color: var(--ink-3);
  margin-bottom: 32px;
  font-size: 14px;
}
.auth-card__footer,
.auth-card__foot {
  margin-top: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-3);
}
.auth-card__footer a,
.auth-card__foot a { color: var(--primary); font-weight: 600; }

.doc-type-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  background: var(--bg-soft);
  padding: 4px;
  border-radius: var(--radius);
}
.doc-type-toggle__btn {
  flex: 1;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  transition: all var(--t-fast);
}
.doc-type-toggle__btn--active {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.doc-type-toggle__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 20px;
}
.checkbox-row input { margin-top: 3px; accent-color: var(--primary); }

/* Verify code page */
.verify-card {
  max-width: 460px;
  margin: 60px auto;
  text-align: center;
  padding: 48px 32px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.verify-card__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin-bottom: 20px;
}
.verify-card__title { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.verify-card__subtitle { color: var(--ink-3); margin-bottom: 32px; }

.code-input {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 24px;
}
.code-input input {
  width: 50px;
  height: 60px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: all var(--t-fast);
}
.code-input input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-50);
}
