/* /static/css/user/recover_username_and_password.css */


.main-content-card {
  margin: 2rem auto;
  padding: 0 1rem;
	max-width: 600px;
	background: #ffffff;
  border-radius: 24px; /* 1.5rem */
  box-shadow: 0 4px 18px rgba(80,120,160,0.13);
  overflow: hidden;
  border: none;
  transition: box-shadow 0.18s;
}

.main-content-card:hover {
  box-shadow: 0 8px 36px rgba(48,120,212,0.12);
}

.header-row {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #eeeeee;
}

.header-row h2 {
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
  color: #3078d4;
  letter-spacing: -1px;
}

.card-content-area {
  padding: 1.5rem 2rem 2rem 2rem;
}

/* --- Form Elements --- */
.form-grid {
  display: grid;
  gap: 1.25rem;
}

.form-grid label {
  font-weight: 500;
  font-size: 0.9rem;
  color: #555;
  display: grid;
  gap: 0.5rem;
}

.form-grid input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-grid input:focus {
  outline: none;
  border-color: #3078d4;
  box-shadow: 0 0 0 2px rgba(48,120,212,0.25);
}

/* --- Buttons --- */
.btn {
  background-color: #1e88e5; /* A standard blue button color */
  color: white !important;   /* Use !important to override the default blue link color */
  padding: 1px 12px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: 500;
  margin-left: 8px;
  vertical-align: middle;
  transition: background-color 0.3s ease;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background-color: #3078d4;
  color: white;
  border: 1px solid #3078d4;
}

.btn-primary:hover:not(:disabled) {
  background-color: #2bbbad; /* A slightly darker blue on hover */
  color: white;
  text-decoration: none;
}

.btn-secondary {
  background-color: #3078d4;
  color: white;
  border: 1px solid #3078d4;
}

.btn-secondary:hover:not(:disabled) {
  background-color: #2bbbad; /* A slightly darker blue on hover */
  color: white;
  text-decoration: none;
}

.button-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

/* --- Messages & Alerts --- */
.messageboard {
  margin-top: 1rem;
}

.alert {
  padding: 1rem;
  border-radius: 4px;
  border: 1px solid transparent;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}
.alert-warning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeeba;
}
.alert-error {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

/* --- Spinner --- */
#loading-spinner {
  text-align: center;
  padding: 1rem;
  font-size: 1.5rem;
}

/* --- Responsive --- */
@media (max-width: 600px) {
  .header-row, .card-content-area {
    padding: 1rem 1.5rem;
  }
}

