/* Auth pages (login & register) styling */

/* Full-viewport gradient background that matches primary site colors */
.auth-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Blue gradient similar to hero */
  background: linear-gradient(135deg, #b3e0ff 0%, #4A90E2 100%);
  padding: 40px 15px;
  width: 100%;
  padding-top: 100px; /* offset for fixed navbar */
}

/* Remove base container constraints for auth pages */
.container .auth-section {
  /* Break out of Bootstrap container to span full viewport width */
  max-width: 100vw;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: 0;
  padding-right: 0;
}

/* Glass-morphism card */
.auth-card {
  width: 100%;
  max-width: 520px; /* was 420px */
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 22px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  padding: 42px 32px;
  color: #2c3e50;
}

/* Form controls refinement */
.auth-card .form-label {
  font-weight: 600;
}

.auth-card .form-control,
.auth-card select {
  border-radius: 12px;
  padding: 12px 14px;
}

/* Primary button follows site's gradient */
.btn-primary-custom {
  background: linear-gradient(45deg, #3498db, #2980b9);
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
  color: #fff;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
  background: linear-gradient(45deg, #2980b9, #3498db);
}

/* Links */
.auth-link {
  color: #003566;
  text-decoration: none;
  transition: color 0.3s ease;
}

.auth-link:hover {
  color: #2980b9;
  text-decoration: underline;
}

/* Error / flash messages inside card */
.auth-card .alert {
  border-radius: 12px;
  padding: 10px 14px;
}

/* Fade transition on auth pages (inherits body) */
body {
  transition: opacity 0.4s ease-in-out;
}

/* Success message styling */
.thank-you-message {
  color: #2c3e50;
  min-height: 220px; /* ensure enough height for centering */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.thank-you-message .fa-circle-check {
  color: #28a745;
}

.thank-you-message h4,
.thank-you-message h5 {
  font-weight: 700;
} 