/* ============================================
   SelfEvents V1 — Auth Styles
   Tab toggle, form inputs, social buttons,
   password toggle, trust message
   ============================================ */

/* --- Auth Container --- */
.auth-container {
  min-height: calc(100vh - 72px - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}

/* --- Tab Toggle --- */
.auth-tabs {
  display: flex;
  background: #F5EDE4;
  border-radius: 9999px;
  padding: 4px;
  position: relative;
}

.auth-tab {
  flex: 1;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  border-radius: 9999px;
  color: #7A6F68;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  z-index: 1;
  text-decoration: none;
  display: block;
}

.auth-tab.active {
  color: #fff;
  background: #BA2257;
}

.auth-tab:hover:not(.active) {
  color: #2D2926;
}

/* --- Form Fields --- */
.auth-field {
  position: relative;
}

.auth-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid #E8DED4;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  color: #2D2926;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-input::placeholder {
  color: #9E9490;
}

.auth-input:focus {
  outline: none;
  border-color: #BA2257;
  box-shadow: 0 0 0 3px rgba(186, 34, 87, 0.08);
}

.auth-input.error {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.auth-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #2D2926;
  margin-bottom: 0.375rem;
}

.field-error {
  font-size: 0.75rem;
  color: #dc2626;
  margin-top: 0.25rem;
}

/* --- Password Toggle --- */
.password-toggle {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.25rem;
  color: #9E9490;
  cursor: pointer;
  transition: color 0.2s ease;
  background: none;
  border: none;
}

.password-toggle:hover {
  color: #7A6F68;
}

/* --- Social Buttons --- */
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #E8DED4;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #2D2926;
  background: #fff;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.social-btn:hover {
  border-color: #C9A87C;
  background: #FFFAF5;
}

.social-btn svg {
  flex-shrink: 0;
}

/* --- Divider --- */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #9E9490;
  font-size: 0.8125rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #E8DED4;
}

/* --- Checkbox --- */
.auth-checkbox {
  width: 1.125rem;
  height: 1.125rem;
  border: 1.5px solid #E8DED4;
  border-radius: 0.25rem;
  accent-color: #BA2257;
  cursor: pointer;
  flex-shrink: 0;
}

.auth-checkbox:checked {
  border-color: #BA2257;
}

/* --- Trust Message --- */
.trust-message {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #F5EDE4;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  color: #7A6F68;
}

/* --- Status/Success Messages --- */
.auth-status {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.auth-error-banner {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
