/* Contenedor principal */
.container {
  background: var(--background-color);
  min-height: 100vh;
  padding: 2rem;
}

.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 60px);
  padding: 2rem;
  margin-top: -2rem;
  background: #f5f7fb; /* Fondo gris claro */
}

/* Caja de autenticación */
.auth-box {
  background: #ffffff; /* Fondo blanco */
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-elevation-2);
  padding: 2.5rem;
  width: 100%;
  max-width: 400px;
  border: 1px solid var(--border-color);
}

/* Encabezado */
.auth-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.auth-title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.auth-subtitle {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Formulario */
.auth-form {
  width: 100%;
}

.auth-form .form-group {
  margin-bottom: 1.5rem;
}

.auth-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-weight: 500;
}

.auth-form .input-group {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--background-elevation-0);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  transition: all 0.2s ease;
}

.auth-form .input-group:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px var(--primary-color-light);
}

.auth-form .input-group i {
  color: var(--text-muted);
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.75rem;
}

.auth-form .input-group input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0;
  color: var(--text-color);
  width: 100%;
  font-size: 0.9375rem;
}

/* Enlaces y botones */
.auth-links {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-muted);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* Alertas */
.alert {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
