.auth-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  background: var(--azul-oscuro);
}

.auth-container {
  max-width: 500px;
  width: 100%;
  padding: 3rem 2.5rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevated);
  text-align: center;
}

.auth-header h2 {
  color: var(--azul-gazapo);
  font-family: var(--font-family);
  font-weight: 800;
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.auth-header p {
  color: var(--gris-oscuro);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* Campos del Formulario */
.form-group {
  margin-bottom: 1.2rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--azul-gazapo);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--bordes);
  font-size: 0.95rem;
  font-family: var(--font-family);
  background: #fff;
  transition: all 0.2s;
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: var(--azul-gazapo);
  box-shadow: 0 0 0 3px rgba(0, 77, 101, 0.1);
}

/* Botón Principal */
.btn-auth {
  width: 100%;
  background: var(--azul-gazapo);
  color: #fff;
  border: none;
  padding: 1rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-family);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  margin-top: 1rem;
}

.btn-auth:hover {
  background: var(--azul-oscuro);
  transform: translateY(-1px);
}

/* Enlaces Devise */
.auth-links {
  margin-top: 1.5rem;
  font-size: 0.85rem;
}

.auth-links a {
  color: var(--coral);
  text-decoration: none;
  font-weight: 500;
}

.auth-links a:hover {
  text-decoration: underline;
}

/* --- Toast Alert --- */
.toast-alert {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: var(--azul-oscuro);
  border-left: 5px solid var(--coral);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  box-shadow: var(--shadow-elevated);
  z-index: 9999;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.5s ease;
}

.toast-alert.show {
  opacity: 1;
  transform: translateX(0);
}
