.auth-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 90vh;
  font-family: inherit;
  padding: 2rem 0;
}

.auth-container {
  max-width: 500px;
  width: 100%;
  padding: 3rem 2.5rem;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  text-align: center;
}

.auth-header h2 {
  color: #100e35;
  font-weight: 800;
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
  letter-spacing: -0.5px;
}

.auth-header p {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.2rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: #100e35;
  margin-bottom: 0.5rem;
}

.form-group em {
  font-size: 0.75rem;
  color: #888;
  font-weight: 400;
  display: block;
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
  transition: all 0.2s;
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: #d84b74;
  box-shadow: 0 0 0 3px rgba(216, 75, 116, 0.1);
}

.btn-auth {
  width: 100%;
  background: linear-gradient(135deg, #100e35 0%, #d84b74 100%);
  color: #fff;
  border: none;
  padding: 1.1rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
  margin-top: 1rem;
  font-family: 'Poppins', sans-serif;
}

.btn-auth:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.auth-links {
  margin-top: 1.8rem;
  font-size: 0.85rem;
  border-top: 1px solid #eee;
  padding-top: 1.5rem;
}

.auth-links a {
  color: #d84b74;
  text-decoration: none;
  font-weight: 600;
}

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

/* Errores de Devise */
#error_explanation {
  background: #fff5f5;
  color: #c53030;
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  text-align: left;
  font-size: 0.85rem;
  border: 1px solid #feb2b2;
}

#error_explanation h2 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #c53030;
}