/* Auth Page â€” Mobile First */

.auth-page {
  min-height: 100vh;
  min-height: -webkit-fill-available;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .auth-page { display: grid; grid-template-columns: 1fr 1fr; }
}

.auth-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.auth-blob--1 {
  width: 500px; height: 500px;
  background: rgba(124,58,237,0.2);
  top: -100px; left: -100px;
}
.auth-blob--2 {
  width: 400px; height: 400px;
  background: rgba(255,45,85,0.15);
  bottom: -80px; right: 0;
}

.auth-panel {
  position: relative;
  z-index: 1;
  padding: 28px 20px;
  padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .auth-panel { padding: 48px; }
}
.auth-panel--brand {
  background: linear-gradient(135deg, rgba(124,58,237,0.08) 0%, rgba(255,45,85,0.05) 100%);
  border-right: 1px solid var(--border);
  justify-content: space-between;
  display: none;
}
@media (min-width: 768px) { .auth-panel--brand { display: flex; } }
.auth-panel--form {
  align-items: center;
  justify-content: flex-start;
  overflow-y: auto;
  padding-top: calc(20px + env(safe-area-inset-top, 0px));
}

/* Brand panel content */
.brand-taglines { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.brand-tagline {
  display: none;
  animation: fadeInUp 0.4s ease;
}
.brand-tagline--active { display: flex; flex-direction: column; gap: 12px; }
.brand-tagline__emoji { font-size: 3.5rem; }
.brand-tagline h2 {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
}
.brand-tagline p { color: var(--text2); font-size: 1rem; line-height: 1.6; }

.brand-dots { display: flex; gap: 8px; margin: 24px 0; }
.brand-dot {
  width: 8px; height: 8px;
  border-radius: 4px;
  background: var(--border2);
  transition: all 0.3s;
  border: none;
}
.brand-dot--active { width: 24px; background: var(--neon); }

.brand-stats { display: flex; align-items: center; gap: 20px; }
.brand-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.brand-stat-div { width: 1px; height: 36px; background: var(--border); }

/* Auth card */
.auth-card {
  width: 100%;
  max-width: 420px;
  padding: 24px 20px;
  margin: 0 auto;
}
@media (min-width: 480px) { .auth-card { padding: 32px; } }

.role-toggle {
  display: flex;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 4px;
  margin-bottom: 24px;
  gap: 4px;
}
.role-btn {
  flex: 1;
  padding: 10px 12px;
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text2);
  background: transparent;
  border: none;
  transition: all 0.25s;
  white-space: nowrap;
}
.role-btn--active {
  background: var(--grad-fire);
  color: #fff;
  box-shadow: 0 2px 12px rgba(255,45,85,0.35);
}
#listenerRoleBtn.role-btn--active {
  background: var(--grad-earn);
  box-shadow: 0 2px 12px rgba(6,214,160,0.35);
}

.auth-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.auth-tab {
  flex: 1;
  padding: 12px 8px;
  background: transparent;
  color: var(--text3);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  margin-bottom: -1px;
}
.auth-tab--active { color: var(--text); border-bottom-color: var(--neon); }

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

.auth-method-tabs {
  display: flex;
  gap: 0;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 3px;
}
.auth-method-tab {
  flex: 1;
  padding: 8px;
  background: transparent;
  color: var(--text2);
  font-size: 0.82rem;
  font-weight: 600;
  border: none;
  border-radius: var(--r-sm);
  transition: all 0.2s;
}
.auth-method-tab--active { background: var(--surface); color: var(--text); box-shadow: 0 1px 4px rgba(0,0,0,0.3); }

.phone-cc {
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  width: 70px;
  white-space: nowrap;
}

.gender-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.gender-pill {
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text2);
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.2s;
}
.gender-pill--active {
  background: rgba(124,58,237,0.2);
  border-color: var(--violet);
  color: #a78bfa;
}

.age-confirm { display: flex; flex-direction: column; gap: 10px; }
.checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.checkbox-wrap input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--neon);
  flex-shrink: 0;
  margin-top: 1px;
  cursor: pointer;
}
.checkbox-label { font-size: 0.82rem; color: var(--text2); line-height: 1.4; }

.input-toggle-pass {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text3);
  line-height: 1;
  padding: 4px;
}
