/* ============================================================
   NexoCRE — Landing / login screen (única pantalla de entrada)
   Fondo: foto de montañas al atardecer (2.png) + overlay oscuro.
   Tarjeta de login estilo glassmorphism sobre el fondo.
   ============================================================ */

/* Tipografía: Gotham es de pago y no está licenciada en el proyecto.
   Montserrat (Google Fonts) se usa como fallback gratuito equivalente.
   Reemplazar por @font-face con los .woff2 de Gotham real cuando se
   tenga la licencia, y actualizar --lp-font más abajo. */
:root {
  --lp-font: 'Gotham', 'Montserrat', 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

html, body.lp {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #000;
}

body.lp {
  font-family: var(--lp-font);
  color: #ffffff;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

/* ---------- Background photo + dark overlay ---------- */
.lp-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  background-image: url('/static/img/2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.lp-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

/* ---------- Layout ---------- */
.lp-content {
  position: relative;
  z-index: 1;
  /* Must stay above .lp-bg's z-index: 0 within body's stacking context. */
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}

.lp-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.lp-logo-img {
  width: 100%;
  max-width: 450px;
  min-width: 260px;
  height: auto;
  display: block;
}

/* ---------- Login card (glassmorphism) ---------- */
.lp-form-card {
  width: 100%;
  max-width: 380px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.lp-error {
  color: #ffb3b3;
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 16px;
}

.lp-form-card form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}

.lp-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
}

.lp-label input {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  color: #1a1a1a;
  font-size: 15px;
  font-family: var(--lp-font);
}

.lp-label input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.lp-label input:focus {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}

.lp-btn-submit {
  width: 100%;
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 14px;
  font-family: var(--lp-font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.2s ease;
}

.lp-btn-submit:hover {
  background: rgba(0, 0, 0, 0.75);
}

/* ---------- Phrases below the card ---------- */
.lp-phrase {
  font-family: var(--lp-font);
  font-weight: 900;
  font-size: 32px;
  line-height: 1.3;
  color: #FFFFFF;
  max-width: 700px;
  margin: 36px auto 16px;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.lp-subphrase {
  font-family: var(--lp-font);
  font-weight: 400;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 40px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

@media (max-width: 520px) {
  .lp-form-card { padding: 26px 22px; }
  .lp-logo-img { max-width: 300px; min-width: 200px; }
  .lp-phrase { font-size: 22px; }
  .lp-subphrase { font-size: 15px; }
}
