/* ───────────────────────────────────────────────
   🌌 Estilo global del Login
   ─────────────────────────────────────────────── */
body.login-main {
  font-family: 'Segoe UI', sans-serif;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #f5f5f5;
  overflow: hidden;
}

/* ───────────────────────────────────────────────
   ⭕ Login Wrapper – Caja flotante
   ─────────────────────────────────────────────── */
.login-wrapper {
  background: rgba(15, 15, 15, 0.75);   /* oscuro translúcido metalizado */
  width: 40vw;
  max-width: 480px;
  min-width: 320px;

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  padding: 2.5rem 2rem;
  border-radius: 14px;
  box-shadow: 0 0 40px rgba(255, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 5;
}

/* ───────────────────────────────────────────────
   🔐 Inputs
   ─────────────────────────────────────────────── */
.login-wrapper .form-control {
  background-color: #121212;
  color: #ffffff;
  border: 1.5px solid #444;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
}

.login-wrapper .form-control::placeholder {
  color: #999;
  font-weight: 400;
}

.login-wrapper .form-control:focus {
  border-color: #ff1f1f;
  box-shadow: 0 0 8px #ff1f1f55;
  background-color: #181818;
  outline: none;
}

/* Contraseña con icono dentro */
.password-group {
  position: relative;
}

.password-group .form-control {
  padding-right: 2.5rem;
}

#togglePassword {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: #ff3333;
  cursor: pointer;
  transition: color 0.2s;
}

#togglePassword.fa-eye-slash {
  color: #e0e0e0;
}

/* ───────────────────────────────────────────────
   🔘 Botón de Iniciar Sesión – Efecto metálico
   ─────────────────────────────────────────────── */
.btn-login {
  width: 100%;
  padding: 0.8rem 1rem;
  font-weight: bold;
  font-size: 1rem;
  color: #fff;
  border: none;
  border-radius: 10px;
  background: linear-gradient(145deg, #ff4444, #7a0b0b);
  box-shadow:
    0 3px 8px rgba(255, 0, 0, 0.4),
    inset 0 0 3px rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.btn-login:hover {
  background: linear-gradient(145deg, #ff6666, #c91f1f);
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.5);
  transform: scale(1.02);
}

/* ───────────────────────────────────────────────
   🔗 Link "¿Olvidaste tu contraseña?"
   ─────────────────────────────────────────────── */
.forgot-pass {
  display: block;
  margin-top: 1rem;
  color: #ff4a4a;
  font-weight: bold;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s, text-shadow 0.2s;
}

.forgot-pass:hover {
  color: #ff1f1f;
  text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
  text-decoration: underline;
}

/* ───────────────────────────────────────────────
   📦 Botón & Enlace Container
   ─────────────────────────────────────────────── */
.btn-zone {
  width: 100%;
  margin-top: 1.5rem;
  text-align: center;
}

/* ───────────────────────────────────────────────
   🔻  Bloque de créditos (antiguo footer)
   ─────────────────────────────────────────────── */
.credits-box {
  margin-top: 2rem;
  text-align: center;
  color: #ff2e2e;
  font-weight: 600;
  font-size: 0.9rem;
}

.credits-link {
  display: inline-block;
  margin-bottom: 0.25rem;
  color: #ff4444;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s, text-shadow 0.2s;
}

.credits-link:hover {
  color: #ff1f1f;
  text-shadow: 0 0 6px rgba(255, 0, 0, 0.6);
}

.credits-copy {
  margin: 0;
  color: #e03d3d;
  font-weight: 500;
}

/* ───────────────────────────────────────────────
   🌑 Color de reserva (fallback) del body
   ─────────────────────────────────────────────── */
body.login-main {
  background-color: #150303;   /* rojo muy oscuro / casi negro */
  /* los otros props (size, attachment…) ya los tienes */
}
