/* Auth pages: register, login, admin login */
.auth-body {
  min-height: 100vh;
  background:
    radial-gradient(at top right, rgba(201, 169, 97, 0.08) 0%, transparent 50%),
    radial-gradient(at bottom left, rgba(10, 31, 68, 0.04) 0%, transparent 60%),
    var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.auth-shell {
  width: 100%;
  max-width: 460px;
  position: relative;
}

.auth-back {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 20px;
  transition: color 0.2s;
}
.auth-back:hover { color: var(--navy); }

.auth-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: var(--shadow-elev);
  position: relative;
  overflow: hidden;
}
.auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft), var(--gold));
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.auth-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 30px;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.auth-sub {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 28px;
}

.auth-err {
  background: #fbeae8;
  border-left: 3px solid var(--red);
  color: #8b2620;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth-field span {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.auth-field input {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: white;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.auth-field input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.18);
}
.auth-hint {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 2px;
}

.auth-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.auth-foot {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
}
.auth-foot a {
  color: var(--navy);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.auth-foot a:hover { border-bottom-color: var(--gold); }
