/* ============================================================
   AUTH STYLES — Register & Login
   auth.css
   ============================================================ */

.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-primary);
}

.auth-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.auth-body {
  padding-top: var(--nav-h);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.auth-header {
  text-align: center;
  padding: 28px 16px 0;
}

.auth-step-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--pink);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.auth-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin-bottom: 6px;
}

.auth-desc {
  font-size: 13px;
  color: var(--gray-400);
}

.auth-form-wrap {
  padding: 24px 16px 32px;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

/* Phone field with country code */
.phone-field {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.phone-field:focus-within {
  border-color: var(--pink-border);
}

.country-code {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 12px;
  border-right: 1px solid var(--border);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  background: var(--bg-card-2);
  cursor: pointer;
  flex-shrink: 0;
  font-family: var(--font);
  border-top: none;
  border-left: none;
  border-bottom: none;
}

.country-flag {
  font-size: 18px;
  line-height: 1;
}

.phone-input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-size: 15px;
  font-family: var(--font);
  flex: 1;
  padding: 14px 16px;
  min-width: 0;
}

.phone-input::placeholder {
  color: var(--gray-600);
}

/* Gender preference in register */
.talk-to-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

/* Google button */
.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font);
  transition: var(--transition);
}

.google-btn:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
}

.google-icon {
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: #4285F4;
  flex-shrink: 0;
  font-family: 'Arial', sans-serif;
}

/* Already have account row */
.login-link-row {
  text-align: center;
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 12px;
}

.login-link-row a {
  color: var(--pink);
  font-weight: 600;
}

/* ===== SUCCESS SCREEN ===== */
.success-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 32px 16px;
  text-align: center;
  animation: fade-in-up 0.5s ease;
}

.success-icon-wrap {
  position: relative;
  margin-bottom: 24px;
}

.success-circle {
  width: 80px;
  height: 80px;
  background: var(--green-dim);
  border: 2px solid var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.success-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--green);
  animation: ping 1s ease-out infinite;
}

.success-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.success-desc {
  font-size: 14px;
  color: var(--gray-400);
  margin-bottom: 24px;
}

/* ===== LOGIN PAGE ===== */
.login-form-wrap {
  padding: 24px 16px 32px;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 768px) {
  .auth-header {
    padding: 40px 32px 0;
  }

  .auth-form-wrap,
  .login-form-wrap {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-2xl);
    margin-top: 24px;
  }
}
