/* fargwest · pantalla de acceso del backend, versión mínima:
 * cordillera a pantalla completa y, encima, solo usuario, clave y una flecha. */

html, body { background: #000 !important; color: #f2f2f2; }

/* Dibujo a pantalla completa, detrás de todo */
.fw-cordillera {
  position: fixed !important; left: 0 !important; top: 0 !important;
  width: 100vw; height: 100vh; margin: 0 !important; z-index: 0; pointer-events: none;
}
.fw-cordillera canvas { display: block; width: 100% !important; height: 100% !important; }

/* Todo lo de TYPO3, transparente y por encima del dibujo */
.typo3-login { position: relative; z-index: 1; }
.typo3-login, .typo3-login *:not(input):not(button):not(form) {
  background: transparent !important; background-image: none !important;
  border-color: transparent !important; box-shadow: none !important;
}
.typo3-login::before, .typo3-login::after { display: none !important; }
.typo3-login-container { max-width: 300px !important; width: 300px !important; }

/* Recuadro semitransparente que agrupa usuario, clave y flecha */
html body .typo3-login form, .fw-panel {
  background: rgba(0, 0, 0, .55) !important; border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 14px !important; padding: 22px 22px 18px !important; margin: 0 !important; box-sizing: border-box !important;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}

/* Fuera: cualquier botón que no sea el de entrar, imágenes, textos sueltos */
.typo3-login button:not(#t3-login-submit):not([type="submit"]),
.typo3-login img, .typo3-login svg, .typo3-login p, .typo3-login small,
.typo3-login .text-muted, .typo3-login footer { display: none !important; }

/* Fuera: logotipo, títulos, textos, enlaces y pie */
.typo3-login-logo, .typo3-login-image, .typo3-login-copyright, .typo3-login-footnote,
.typo3-login-links, .typo3-login-news, .typo3-login-footer, .typo3-login h1, .typo3-login h2,
.typo3-login a, .typo3-login .input-group-text, .typo3-login .input-group-icon,
.typo3-login .form-control-clearable .close, .typo3-login .help-block, .typo3-login .form-text {
  display: none !important;
}
/* Las etiquetas se ocultan a la vista, pero siguen ahí para los lectores de pantalla */
.typo3-login label, .typo3-login .form-label {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* Cajas de usuario y clave: discretas y semitransparentes */
.typo3-login .form-group, .typo3-login .t3js-login-formfields > * { margin: 0 0 10px !important; }
.typo3-login .input-group { width: 100%; }
.typo3-login .form-control, #t3-username, #t3-password {
  width: 100% !important; box-sizing: border-box !important; height: 42px !important; padding: 0 14px !important;
  background: rgba(255, 255, 255, .07) !important; color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .16) !important; border-radius: 8px !important;
  box-shadow: none !important; font-size: 15px !important;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.typo3-login .form-control:focus { border-color: rgba(255, 255, 255, .55) !important; outline: none; }

/* Botón: solo una flecha, a la derecha */
#t3-login-submit, .typo3-login .btn-login, .typo3-login button[type="submit"] {
  display: flex !important; align-items: center; justify-content: center;
  width: 42px !important; height: 42px !important; min-width: 0 !important; padding: 0 !important;
  margin: 4px 0 0 auto !important; border-radius: 50% !important;
  background: rgba(255, 255, 255, .16) !important; color: transparent !important;
  border: 1px solid rgba(255, 255, 255, .22) !important; font-size: 0 !important;
  box-shadow: none !important; overflow: hidden; cursor: pointer;
}
#t3-login-submit > *, .typo3-login .btn-login > * { display: none !important; }
#t3-login-submit::after, .typo3-login .btn-login::after {
  content: "→"; color: #fff; font-size: 20px; line-height: 1;
}
#t3-login-submit:hover, #t3-login-submit:focus-visible { background: rgba(255, 255, 255, .28) !important; }

/* Avisos de error, legibles */
.typo3-login .alert, .typo3-login .callout {
  background: rgba(0, 0, 0, .6) !important; color: #f2f2f2 !important;
  border: 1px solid rgba(255, 255, 255, .2) !important; font-size: 13px;
}

/* Letra del rótulo de la cumbre (Inter Light, SIL Open Font License) */
@font-face {
  font-family: "FW Inter"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../Fonts/inter-300.woff2") format("woff2");
}
