/* ============================================================
   Auth pages (login / register / password reset)
   ============================================================ */

.auth-section {
  min-height: 60vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 56px 20px 80px;
  background:
    radial-gradient(ellipse 55% 60% at 80% 0%, rgba(240, 103, 36, 0.07) 0, transparent 65%),
    radial-gradient(ellipse 40% 50% at 5% 90%, rgba(218, 161, 91, 0.08) 0, transparent 60%);
}

.auth-card {
  background: var(--paper);
  border: 1px solid rgba(123, 51, 49, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  padding: 44px 40px;
  width: 100%;
  max-width: 460px;
}
.auth-card.wide { max-width: 540px; }

.auth-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin-bottom: 8px;
  text-align: center;
}
.auth-title {
  font-family: var(--font-editorial);
  font-size: 32px;
  color: var(--ink);
  text-align: center;
  line-height: 1.08;
  margin-bottom: 8px;
}
.auth-sub {
  font-size: 14px;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.6;
  margin-bottom: 26px;
}

/* Alerts */
.auth-alert {
  border-radius: 12px;
  padding: 12px 15px;
  margin-bottom: 18px;
  font-size: 13px;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.5;
  display: flex;
  gap: 9px;
  align-items: flex-start;
}
.auth-alert.error   { background: rgba(220, 38, 38, 0.07); border: 1px solid rgba(220, 38, 38, 0.18); color: #c82020; }
.auth-alert.success { background: rgba(22, 163, 74, 0.08); border: 1px solid rgba(22, 163, 74, 0.2);  color: #15803d; }
.auth-alert.info    { background: rgba(15, 158, 218, 0.08); border: 1px solid rgba(15, 158, 218, 0.22); color: #0b7eb0; word-break: break-all; }

/* Form fields */
.auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.auth-group { margin-bottom: 16px; }
.auth-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  display: block;
  margin-bottom: 6px;
}
.auth-label .opt { font-weight: 500; color: var(--ink-soft); }
.auth-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(123, 51, 49, 0.16);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: var(--paper);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.auth-input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240, 103, 36, 0.12); }
.auth-input.is-error { border-color: #dc2626; }
.auth-err { font-size: 11.5px; color: #dc2626; font-weight: 600; margin-top: 5px; }
.auth-hint { font-size: 11.5px; color: var(--ink-soft); margin-top: 5px; }

.auth-pw-wrap { position: relative; }
.auth-pw-wrap .auth-input { padding-right: 44px; }
.auth-pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(26, 17, 16, 0.35);
  display: flex;
  align-items: center;
  padding: 4px;
}
.auth-pw-toggle:hover { color: var(--ink); }

/* Checkboxes */
.auth-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  cursor: pointer;
  margin-bottom: 12px;
}
.auth-check input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--orange);
  flex-shrink: 0;
}
.auth-check a { color: var(--maroon); font-weight: 600; text-decoration: underline; }

.auth-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.auth-forgot { font-size: 13px; font-weight: 600; color: var(--maroon); }
.auth-forgot:hover { color: var(--orange); }

/* Submit */
.auth-submit {
  width: 100%;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 4px;
}
.auth-submit:hover { background: var(--orange-deep); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(240, 103, 36, 0.35); }
.auth-submit:disabled { opacity: 0.6; cursor: wait; transform: none; box-shadow: none; }

.auth-divider { height: 1px; background: rgba(123, 51, 49, 0.1); margin: 24px 0 20px; }
.auth-foot { text-align: center; font-size: 13.5px; color: var(--ink-soft); }
.auth-foot a { color: var(--orange); font-weight: 700; }
.auth-foot a:hover { color: var(--orange-deep); }

.auth-perks {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.auth-perks li {
  font-size: 13px;
  color: var(--ink-soft);
  display: flex;
  gap: 8px;
  align-items: center;
}

@media (max-width: 560px) {
  .auth-card { padding: 32px 22px; }
  .auth-row { grid-template-columns: 1fr; gap: 0; }
}
