/* ==================== Email/Password Auth Form ==================== */
.auth-form {
  width: 100%;
  margin-bottom: 20px;
}

.auth-form-toggle {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 20px;
}

.auth-form-toggle button {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  font-size: 0.9rem;
  font-family: var(--font-sans, 'General Sans', sans-serif);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.auth-form-toggle button.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.auth-form-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text-primary, #fff);
  font-size: 1rem;
  font-family: var(--font-sans, 'General Sans', sans-serif);
  margin-bottom: 12px;
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
}

.auth-form-input:focus {
  outline: none;
  border-color: var(--accent, #FF4D8D);
  background: rgba(255, 255, 255, 0.08);
}

.auth-form-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.auth-form-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #FF4D8D 0%, #7C5CFC 100%);
  border: none;
  color: white;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  font-family: var(--font-sans, 'General Sans', sans-serif);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.auth-form-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 77, 141, 0.3);
}

.auth-form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.auth-form-error {
  color: #ff6b6b;
  font-size: 0.85rem;
  text-align: center;
  margin-top: 8px;
  min-height: 20px;
}

.auth-form-success {
  color: #51cf66;
  font-size: 0.85rem;
  text-align: center;
  margin-top: 8px;
  min-height: 20px;
}

.auth-form-forgot {
  text-align: center;
  margin-top: 8px;
}

.auth-form-forgot a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}

.auth-form-forgot a:hover {
  color: var(--accent, #FF4D8D);
}

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}
