.auth-container {
  display: flex;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(to bottom right, #00334e, #0077b6);
}

.auth-card {
  margin-top: 100px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  color: #fff;
  text-align: center;
}

.auth-title {
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: 600;
}

.auth-subtitle {
  font-size: 14px;
  margin-bottom: 30px;
  color: #cce3f6;
}

.auth-error {
  background-color: rgba(255, 0, 0, 0.1);
  color: #ffdddd;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 8px;
  font-weight: 500;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Target only the name/lastname field group */
.auth-field.name-fields {
  display: flex;
  gap: 12px; /* space between the two inputs */
}

.auth-field.name-fields input {
  flex: 1; /* each input takes equal width */
}

.auth-field input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transition: background 0.3s;
}

.auth-field input::placeholder {
  color: #cce3f6;
}

.auth-field input:focus {
  background: rgba(255, 255, 255, 0.3);
  outline: none;
}

.auth-button {
  padding: 14px;
  background-color: #00b4d8;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.auth-button:hover {
  background-color: #0096c7;
}

.auth-switch {
  margin-top: 10px;
  font-size: 14px;
  color: #cce3f6;
}

.auth-switch a {
  color: #90e0ef;
  text-decoration: none;
  font-weight: 500;
}

.auth-switch a:hover {
  text-decoration: underline;
}

.auth-success {
  background-color: rgba(0, 255, 0, 0.1);
  color: #d4edda;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 8px;
  font-weight: 500;
}
