/* ------------------------------------------------------------------
   Auth pages (login.php, signup.php) — shared styling
   ------------------------------------------------------------------ */

/* Account for the fixed header (replaces the old empty `.header` band) */
.auth-page-section {
  padding-top: 110px;
}

/* Card polish: softer radius + a teal accent bar on top */
.auth-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

.auth-card .card-body {
  padding: 30px 26px;
}
@media (min-width: 768px) {
  .auth-card .card-body {
    padding: 42px 40px;
  }
}

/* Section dividers inside the form */
.auth-section-title {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #2A7F78;
  margin-bottom: 22px;
}
.auth-section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #EBEBEB;
  margin-left: 14px;
}
.optional-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #9ca3af;
  margin-left: 8px;
}

.required-mark {
  color: #e33733;
}

/* Compact labels for the dense form */
.auth-card .form-group label {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

/* Invalid state — must beat the theme's `.form-group .form-control` rule */
.auth-card .form-group .form-control.is-invalid {
  border-color: #dc3545;
  background-color: #fff;
}
.auth-card .form-group .form-control.is-invalid:focus {
  border-color: #dc3545;
}
.invalid-feedback {
  font-size: 13px;
  margin-top: 6px;
}

/* Password visibility toggle */
.password-toggle {
  border: 1px solid transparent;
  background-color: #F9F9F9;
  color: #9ca3af;
  border-radius: 0 4px 4px 0;
  padding: 0 16px;
  line-height: 1;
}
.password-toggle:hover {
  color: #2A7F78;
  background-color: #F9F9F9;
}
.password-toggle.active {
  color: #2A7F78;
}
