/* Shared shell for single-card auth pages (forgot / reset password, MFA). Login has its
   own two-panel layout but uses the same palette and shell background. */

.auth-shell {
  min-height: 100vh;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 12px;
  background:
    radial-gradient(ellipse 760px 420px at 12% -5%, rgba(244, 123, 63, 0.18), transparent 58%),
    radial-gradient(ellipse 640px 380px at 92% 8%, rgba(245, 166, 35, 0.16), transparent 52%),
    linear-gradient(168deg, #fff8f4 0%, #fef6f2 45%, #fdeee6 100%);
}

.auth-card {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: 20px;
  padding: 36px 36px 22px;
  box-shadow:
    0 28px 70px rgba(214, 69, 31, 0.16),
    0 0 0 1px rgba(214, 69, 31, 0.06);
  display: flex;
  flex-direction: column;
}

.auth-card--wide {
  max-width: 520px;
}

.auth-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 26px;
}

.auth-brand img {
  height: 38px;
  width: auto;
  display: block;
}

.auth-brand-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d6451f;
  background: #fff1ea;
  border: 1px solid rgba(214, 69, 31, 0.14);
  border-radius: 999px;
  padding: 5px 10px;
  white-space: nowrap;
}

.auth-title {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #2b2118;
  margin-bottom: 6px;
  line-height: 1.15;
}

.auth-sub {
  font-size: 14px;
  color: #8a7f76;
  margin-bottom: 24px;
  line-height: 1.5;
}

.auth-label {
  font-weight: 700;
  color: #2b2118;
  margin-bottom: 8px;
  display: inline-block;
  font-size: 13.5px;
}

.auth-input {
  height: 52px;
  border-radius: 10px;
  border: 1px solid #f0ddd3;
  padding: 0 14px;
  font-size: 15px;
}

.auth-input:focus {
  border-color: #f47b3f;
  box-shadow: 0 0 0 0.2rem rgba(244, 123, 63, 0.18);
}

.auth-code-input {
  height: 58px;
  font-size: 26px;
  letter-spacing: 8px;
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.auth-submit {
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(145deg, #f5a623 0%, #f47b3f 50%, #d6451f 100%);
  border: none;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #fff;
  box-shadow: 0 14px 34px rgba(214, 69, 31, 0.28);
  transition: transform 0.2s ease, box-shadow 0.22s ease, filter 0.2s ease;
}

.auth-submit:hover,
.auth-submit:focus {
  color: #fff;
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(214, 69, 31, 0.34);
}

.auth-submit:active {
  transform: translateY(0) scale(0.99);
}

.auth-links {
  text-align: center;
  margin-top: 16px;
  font-size: 13.5px;
  color: #8a7f76;
}

.auth-links a {
  font-weight: 700;
  color: #d6451f;
  text-decoration: none;
}

.auth-links a:hover {
  text-decoration: underline;
}

.auth-card .alert {
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 13.5px;
  border-left: 4px solid rgba(214, 69, 31, 0.5);
}

.auth-card .alert-danger {
  background: #fff3f0;
  color: #9a2a12;
}

.auth-card .alert-success {
  background: #ecfdf5;
  color: #047857;
  border-left-color: #10b981;
}

.auth-credit a {
  color: #a89d94;
  font-weight: 700;
  text-decoration: none;
}

.auth-credit a:hover {
  color: #d6451f;
}

.auth-credit {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(214, 69, 31, 0.08);
  font-size: 12px;
  color: #b9ada3;
  text-align: center;
}

@media (max-width: 480px) {
  .auth-card {
    padding: 28px 22px 18px;
  }

  .auth-title {
    font-size: 26px;
  }
}
