.auth-page { display: flex; flex-direction: column; align-items: center; padding-top: 40px; }
.auth-card { width: 100%; max-width: 420px; }
.auth-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 80px 40px;
}
.auth-loading-ball {
  font-size: 4rem;
  animation: spin-ball 1s linear infinite;
  display: inline-block;
}
.auth-loading-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}
@keyframes spin-ball {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.tab-btn {
  flex: 1;
  background: transparent;
  color: var(--text-muted);
  padding: 12px;
  border-radius: 0;
  font-size: 1rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tab-btn.active { color: var(--text); border-bottom-color: var(--primary); }

.auth-form h2 { margin-bottom: 20px; font-size: 1.3rem; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 0.875rem; color: var(--text-muted); }

.divider {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 16px 0;
  position: relative;
}
.divider::before, .divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 20px);
  height: 1px;
  background: var(--border);
}
.divider::before { left: 0; }
.divider::after { right: 0; }

.btn-google {
  width: 100%;
  background: #fff;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 500;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
}
.modal-overlay[hidden] { display: none; }
.modal-card {
  width: 100%;
  max-width: 400px;
  text-align: center;
}
.modal-icon { font-size: 2.5rem; margin-bottom: 12px; }
.modal-card h2 { margin-bottom: 8px; font-size: 1.4rem; }
.modal-sub { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 24px; }
.modal-card .field { text-align: left; }
