/* Auth pages: /Auth/Login and /Auth/Register */

.auth-page {
  position: relative;
  isolation: isolate;
  width: 100vw;
  min-height: calc(100vh - 10rem);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 3rem 1rem 4rem;
  background:
    radial-gradient(circle at 18% 34%, rgba(122, 31, 51, .08) 0, rgba(122, 31, 51, .08) 7%, transparent 8%),
    linear-gradient(180deg, #f7f1e8 0%, #f4eee6 100%);
}
.auth-page::before,
.auth-page::after {
  content: "";
  position: absolute;
  inset: auto -8vw 20% -8vw;
  height: 140px;
  z-index: -1;
  opacity: .35;
  background: radial-gradient(circle, rgba(122, 31, 51, .9) 0%, rgba(122, 31, 51, .28) 42%, transparent 72%);
  filter: blur(12px);
}
.auth-page::after {
  inset: 26% -10vw auto -10vw;
  opacity: .2;
  transform: rotate(-2deg);
}
.auth-orb {
  position: absolute;
  width: 240px;
  height: 240px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.92) 0 16%, rgba(122,31,51,.14) 17%, transparent 68%);
  filter: blur(3px);
  opacity: .55;
}
.auth-orb-left { left: -6rem; top: 2rem; }
.auth-orb-right { right: -5rem; bottom: 3rem; }
.auth-shell {
  width: min(100%, 980px);
  display: grid;
  gap: 1.5rem;
  justify-items: center;
}
.auth-brand { text-align: center; }
.auth-brand__wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
  color: var(--brand-primary);
}
.auth-brand__sigil {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid currentColor;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 700;
}
.auth-brand__text {
  margin-top: .2rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .08em;
}
.auth-brand__subtext {
  margin-left: .55em;
  font-size: .65rem;
  letter-spacing: .55em;
}
.auth-card {
  width: min(100%, 540px);
  padding: .5rem;
  border-radius: 1.25rem;
  background: #b18c74;
  box-shadow: 0 24px 60px rgba(79, 42, 24, .12);
}
.auth-card__body {
  padding: 1.45rem 1.35rem 1.35rem;
  border-radius: 0 1rem 1rem 1rem;
  background: rgba(255, 248, 241, .92);
}
.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.auth-tabs__tab {
  padding: 1rem 1rem .95rem;
  border-radius: .9rem .9rem 0 0;
  color: #111827;
  font-family: "Lexend", sans-serif;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.auth-tabs__tab:hover { color: var(--brand-primary); }
.auth-tabs__tab.is-active { background: rgba(255, 248, 241, .95); }
.auth-lead {
  margin: 0 0 1rem;
  color: #1f2937;
  font-size: .98rem;
  line-height: 1.55;
}
.auth-input {
  min-height: 48px;
  border-color: #eadfd2;
  border-radius: .5rem;
}
.auth-input::placeholder { color: #94a3b8; }
.auth-social { padding-top: .25rem; }
.auth-divider {
  position: relative;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: #64748b;
  font-size: .88rem;
}
.auth-divider::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  border-top: 1px solid #eadfd2;
}
.auth-divider span {
  position: relative;
  padding: 0 .75rem;
  background: rgba(255, 248, 241, .92);
}
.btn-auth-primary,
.btn-auth-google {
  min-height: 50px;
  border-radius: .35rem;
  font-family: "Lexend", sans-serif;
  font-weight: 700;
}
.btn-auth-primary {
  color: #fff;
  background: var(--brand-primary);
  border: 0;
  padding-inline: 1.25rem;
  box-shadow: 0 10px 24px rgba(122, 31, 51, .18);
}
.btn-auth-primary:hover,
.btn-auth-primary:focus {
  color: #fff;
  background: var(--brand-primary-hover);
}
.btn-auth-google {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #334155;
}
.btn-auth-google:hover { border-color: #cbd5e1; background: #fff; color: #111827; }
.auth-google-mark {
  width: 1.65rem;
  height: 1.65rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: conic-gradient(from 45deg, #ea4335 0 25%, #fbbc05 25% 50%, #34a853 50% 75%, #4285f4 75% 100%);
  color: #fff;
  font-size: .92rem;
  font-weight: 700;
}
.auth-forgot { color: #7c2d12; text-decoration: none; }
.auth-forgot:hover { text-decoration: underline; }
