/* Auth (login / register) */
.whois-auth-page {
  margin: 0;
  min-height: 100vh;
  font-family: 'Roboto', system-ui, sans-serif;
  color: #202124;
  position: relative;
  overflow-x: hidden;
}
.whois-auth-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(26,115,232,.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 80%, rgba(52,168,83,.18), transparent 50%),
    linear-gradient(160deg, #f8fafc 0%, #e8f0fe 45%, #fce8e6 100%);
  z-index: 0;
}
.whois-auth-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 440px);
  gap: 1.5rem;
  max-width: 980px;
  margin: 0 auto;
  min-height: 100vh;
  align-items: center;
  padding: 1.5rem;
}
.whois-auth-hero {
  padding: 1rem 1.25rem;
}
.whois-auth-brand {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
}
.whois-auth-brand .material-symbols-outlined {
  color: #1a73e8;
  font-size: 32px;
}
.whois-auth-brand em { color: #1a73e8; font-style: normal; }
.whois-auth-brand small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5f6368;
  margin-top: 0.2rem;
}
.whois-auth-hero h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
}
.whois-auth-hero > p {
  color: #5f6368;
  max-width: 28rem;
  margin: 0 0 1.25rem;
  line-height: 1.5;
}
.whois-auth-perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.whois-auth-perks li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.92rem;
}
.whois-auth-card {
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 18px;
  padding: 1.35rem 1.35rem 1.1rem;
  box-shadow: 0 8px 28px rgba(60,64,67,.12);
  animation: whoisAuthIn 0.45s ease both;
}
@keyframes whoisAuthIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.whois-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  background: #f1f3f4;
  padding: 0.25rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.whois-auth-tabs a {
  text-align: center;
  text-decoration: none;
  color: #5f6368;
  font-weight: 500;
  font-size: 0.88rem;
  padding: 0.45rem 0.5rem;
  border-radius: 999px;
}
.whois-auth-tabs a.is-active {
  background: #fff;
  color: #1a73e8;
  box-shadow: 0 1px 2px rgba(60,64,67,.2);
}
.whois-auth-card h1 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 500;
}
.whois-auth-sub {
  color: #5f6368;
  font-size: 0.85rem;
  margin: 0 0 1rem;
  line-height: 1.4;
}
.whois-btn--block {
  width: 100%;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.whois-form--verify {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #dadce0;
  animation: whoisAuthIn 0.35s ease both;
}
@media (max-width: 820px) {
  .whois-auth-shell {
    grid-template-columns: 1fr;
    padding: 1rem;
    align-items: stretch;
  }
  .whois-auth-hero { padding: 0.5rem 0.25rem 0; }
  .whois-auth-hero h2 { font-size: 1.55rem; }
  .whois-auth-perks { display: none; }
}
.whois-theme-btn {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  border: 1px solid #dadce0;
  background: #fff;
  color: #3c4043;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font: inherit;
  cursor: pointer;
}
.whois-auth-card { position: relative; }
[data-theme="dark"] .whois-auth-page { color: #e8eaed; }
[data-theme="dark"] .whois-auth-bg {
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(66,133,244,.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 80%, rgba(52,168,83,.1), transparent 50%),
    #202124;
}
[data-theme="dark"] .whois-auth-card,
[data-theme="dark"] .whois-auth-hero { color: #e8eaed; }
[data-theme="dark"] .whois-theme-btn {
  background: #303134;
  color: #e8eaed;
  border-color: rgba(232,234,237,.2);
}
[data-theme="dark"] .whois-auth-card {
  background: #303134;
  border-color: rgba(232,234,237,.14);
  color: #e8eaed;
}
[data-theme="dark"] .whois-auth-tabs { background: #292a2d; }
[data-theme="dark"] .whois-auth-tabs a { color: #9aa0a6; }
[data-theme="dark"] .whois-auth-tabs a.is-active { background: #3c4043; color: #8ab4f8; }
[data-theme="dark"] .whois-auth-sub,
[data-theme="dark"] .whois-login-foot { color: #9aa0a6; }
[data-theme="dark"] .whois-auth-card input {
  background: #202124;
  color: #e8eaed;
  border-color: rgba(232,234,237,.2);
}
