/* Centrar todo el login */
.login-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #14223d; /* Fondo oscuro */
}

/* Login card */
.login-section {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 20px;
}

.login-card {
  max-width: 350px;
  width: 100%;
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.01));
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(2,6,23,0.5);
  border: 1px solid rgba(255,255,255,0.03);
  text-align: center;
}

/* Título */
.login-card h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #e0e0e0;
}

/* Inputs estilo material design */
.input-group {
  position: relative;
  margin-bottom: 18px;
}

.input-group input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background-color: rgba(255,255,255,0.02);
  color: #e0e0e0;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s;
}

.input-group input:focus {
  border-color: #3a86ff;
  box-shadow: 0 0 5px rgba(58,134,255,0.5);
}

.input-group label {
  position: absolute;
  left: 12px;
  top: 12px;
  color: #a8a8a8;
  font-size: 0.9rem;
  pointer-events: none;
  transition: all 0.2s ease-out;
}

/* Label flotante */
.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
  top: -8px;
  left: 10px;
  font-size: 0.75rem;
  color: #3a86ff;
  background-color: var(--bg-2, #1b263b);
  padding: 0 4px;
}

/* Botón ancho */
.login-card .btn {
  width: 100%;
  text-align: center;
}

/* Footer del login */
.login-footer {
  font-size: 0.85rem;
  color: #a8a8a8;
}

.login-footer a {
  color: #3a86ff;
  text-decoration: none;
}

.login-footer a:hover {
  text-decoration: underline;
}
