/* RESET */
html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

/* =========================
   SECCIÓN VIDEO
========================= */
.login-video-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

/* VIDEO */
.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: saturate(1.05);
}

/* OVERLAY PREMIUM */
.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 15, 0.55),
    rgba(5, 5, 15, 0.515)
  );
  z-index: 2;
}

.e-title {
  position: relative;   /* ACTIVA Z-INDEX */
  z-index: 5;           /* MAYOR QUE VIDEO (1) Y OVERLAY (2) */
  color: #c4c4c4;
  font-weight: 600;
  letter-spacing: 1px;
  font-family: 'Courier New', Courier, monospace;
}


/* =========================
   CONTENIDO
========================= */
.login-content {
  position: relative;
  z-index: 3;
  min-height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* =========================
   CARD
========================= */
.login-card {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 750px;
  border-radius: 1.2rem;
  overflow: hidden;

  background: transparent;       /* 100% transparente */
  box-shadow: none;               /* sin sombras */
  backdrop-filter: none;          /* sin blur */

  animation: fadeUp .8s ease;
  border: 3px solid rgba(255,255,255,.12);
}


/* =========================
   LOGO SECTION
========================= */
.logo-section {
  width: 65%;
  background: linear-gradient(90deg, #000000d5, #84b0ed24);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.5rem;
}

.logo-section img {
  max-width: 100%;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0));
  transition: transform .4s ease;
  border-radius: 24px;
  opacity: 45%;
}

.logo-section img:hover {
  transform: scale(1.05);
}

/* =========================
   FORM SECTION
========================= */
.form-section {
  width: 55%;
  background: radial-gradient(circle at top, #22222200, #11111100);
  color: rgba(230, 230, 230, 0.6);
  padding: 3rem 2.8rem;
}

.form-section h1 {
  font-weight: 450;
  letter-spacing: .05em;
  margin-bottom: 2rem;
}

/* =========================
   INPUTS
========================= */
.form-control {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(120, 117, 117, 0);
  border-radius: .6rem;
  color: white;
  padding: .7rem .8rem;
  transition: all .3s ease;
  height: 35px;
}

.form-control:focus {
  background: rgba(255,255,255,.1);
  border-color: #c9a86a;
  box-shadow: 0 0 0 .15rem rgba(201,168,106,.25);
  color: white;
}

/* LABELS */
.form-group label {
  font-size: .85rem;
  color: #bbb;
}

/* =========================
   BOTÓN
========================= */
.btn-light {
  background: linear-gradient(135deg, #524d43, #c9a86a);
  border: none;
  color: #111;
  font-weight: 600;
  letter-spacing: .15em;
  padding: .75rem;
  border-radius: .6rem;
  transition: all .35s ease;
}

.btn-light:hover:enabled {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201,168,106,.45);
}

.btn-light:disabled {
  opacity: .6;
  cursor: not-allowed;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .login-card {
    flex-direction: column;
  }

  .logo-section,
  .form-section {
    width: 100%;
    padding: 2rem;
  }

  .logo-section img {
    max-width: 200px;
  }
}

@media (max-width: 768px) {

  /* PERMITE SCROLL */
  html, body {
    height: auto;
    overflow-y: auto;
  }

  /* LA SECCIÓN YA NO BLOQUEA */
  .login-video-section {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  /* CONTENIDO FLUYE */
  .login-content {
    min-height: auto;
    padding: 2rem 1rem;
  }

  /* VIDEO SE FIJA ARRIBA */
  .bg-video {
    position: fixed;
    height: 100vh;
  }

  /* CARD RESPIRA */
  .login-card {
    margin: 2rem 0;
  }
}


/* =========================
   ANIMACIONES
========================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* =========================
   FIN CSS