/* Form Title */
.auth-title {
  font-size: 2rem;
  color: #007bff;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center; /* title still centered */
}

/* Form */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto;
  background-color: #f5f8ff; /* light background for visibility */
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* Labels */
.auth-form label {
  font-weight: 500;
  color: #1565c0;
  text-align: left; /* left-aligned labels */
}

/* Inputs */
.auth-form input {
  padding: 0.65rem 1rem;
  border-radius: 6px;
  border: 1px solid #cfd8dc;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #fff; /* white input fields */
}

.auth-form input:focus {
  border-color: #1565c0;
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.15);
  outline: none;
}

/* Button */
.btn-primary {
  background-color: #1565c0;
  color: #fff;
  padding: 0.65rem 1rem;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  width: fit-content; /* button fits content */
  align-self: center; /* center button */
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #0d47a1;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(21,101,192,0.3);
}

/* Footer link */
.auth-footer {
  margin-top: 1rem;
  font-size: 0.95rem;
  text-align: center;
  color: #333;
}

.auth-footer a {
  color: #1565c0;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.auth-footer a:hover {
  color: #0d47a1;
  text-decoration: underline;
}


/* login */
.auth-container {
  max-width: 400px;
  margin: 3rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.auth-title {
  text-align: center;
  color: #007bff;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.auth-form .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.auth-form label {
  margin-bottom: 0.4rem;
  color: #333;
  font-weight: 500;
  text-align: left;
}

.auth-form input {
  padding: 0.6rem;
  border-radius: 8px;
  border: 1px solid #d0d7e2;
  font-size: 0.95rem;
  transition: border 0.3s, box-shadow 0.3s;
}

.auth-form input:focus {
  border-color: #1976d2;
  box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.2);
  outline: none;
}

.btn-primary {
  background: #1976d2;
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  width: fit-content;
  transition: background 0.3s, transform 0.2s;
}

.btn-primary:hover {
  background: #0d47a1;
  transform: translateY(-1px);
}

.btn-small {
  width: 100%;
  max-width: 150px;
}

.auth-footer {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
}

.auth-footer a {
  color: #1976d2;
  text-decoration: none;
  transition: color 0.3s;
}

.auth-footer a:hover {
  color: #0d47a1;
}
