html {
  height: 100%;
  max-height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
}
/* fondo */
body {
  background: linear-gradient(to right, #F9F9F9 50%, #ffffff 50%);
  /*background: url(../back_ground_2024.jpg) center; */
  /*text-align:center;
	width: 100%;
	height: 100%;*/
  font-family: Arial, Helvetica, sans-serif;
  height: 100%;
  max-height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  top: 0px;
  overflow: hidden;
}
table {
  margin: auto;
  /*background: white;*/
}
/* 9:08 a.m Julian Estepa 20/03/2026 */
.titulo_top,
.subtitulo_top,
.slogan_top,
.subslogan_top {
  position: relative;
  cursor: pointer;
  transition: all 0.35s ease;
}
.titulo_top {
  font-family: Arial, Helvetica, sans-serif;
  color: #0e3f99;
  /*color:#0194CA;*/
  font-size: 22px;
  font-weight: bold;
}
.titulo_top:hover {
  background: linear-gradient(
    120deg,
    #0e3f99 0%,
    #0e3f99 40%,
    #5aa3ff 50%,
    #0e3f99 60%,
    #0e3f99 100%
  );
  background-size: 250%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: translateY(-4px) scale(1.06);
  animation: shineEffect 1.4s linear;
}
.subtitulo_top {
  font-family: "Lato", sans-serif;
  /*font-family: 'Montserrat', sans-serif;
	font-family: 'Cuprum', sans-serif;*/
  font-size: 20px;
  font-weight: bold;
}
.subtitulo_top:hover {
  background: linear-gradient(120deg, #0e3f99, #4da6ff, #0e3f99);
  background-size: 250%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: translateY(-3px) scale(1.05);
  animation: shineEffect 1.4s linear;
}
.slogan_top {
  font-family: Arial, Helvetica, sans-serif;
  color: #0e3f99;
  /*color:#0194CA;*/
  font-size: 18px;
}
.slogan_top:hover {
  background: linear-gradient(120deg, #0e3f99, #66b3ff, #0e3f99);
  background-size: 250%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: translateY(-3px) scale(1.05);
  animation: shineEffect 1.3s linear;
}
.subslogan_top {
  /*padding: 20px 50px 20px 50px;font-family:Arial, Helvetica, sans-serif;*/
  font-family: "Roboto", sans-serif;
  color: #b5b6b6;
  font-size: 12px;
}
.subslogan_top:hover {
  background: linear-gradient(120deg, #9aa0a6, #ffffff, #9aa0a6);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: translateY(-2px);
  animation: shineEffect 1.4s linear;
}
/* ANIMACION GLOBAL */
@keyframes shineEffect {
  0% {
    background-position: -300px;
  }

  100% {
    background-position: 300px;
  }
}
.slogan {
  font-family: Arial, Helvetica, sans-serif;
  color: #0e3f99;
  /*#0194CA;*/
  font-size: 18px;
  transition: all 0.3s ease;
}
.slogan:hover {
  color: #1c6bff;
  transform: translateY(-3px) scale(1.05);
}
.subslogan {
  /*padding: 20px 50px 20px 50px;font-family:Arial, Helvetica, sans-serif;*/
  font-family: "Roboto", sans-serif;
  color: #b5b6b6;
  font-size: 12px;
  transition: all 0.3s ease;
}
.subslogan:hover {
  color: #7a7a7a;
  transform: translateY(-2px);
}
.footer {
  position: fixed;
  /*left:0px;*/
  bottom: 0px;
  width: 100%;
}
/* TODO FOOTER NUEVO. 9:14 a.m Julian Estepa 20/03/2026*/
.footer-main {
  background: -moz-linear-gradient(
    right,
    #ffffff 0%,
    #f6f6f6 36%,
    #003f8f 69%,
    #003f8f 100%
  );
  background: -webkit-gradient(
    right top,
    left top,
    color-stop(0%, #ffffff),
    color-stop(36%, #f6f6f6),
    color-stop(69%, #003f8f),
    color-stop(100%, #003f8f)
  );
  background: -webkit-linear-gradient(
    right,
    #ffffff 0%,
    #f6f6f6 36%,
    #003f8f 69%,
    #003f8f 100%
  );
  background: -o-linear-gradient(
    right,
    #ffffff 0%,
    #f6f6f6 36%,
    #003f8f 69%,
    #003f8f 100%
  );
  background: -ms-linear-gradient(
    right,
    #ffffff 0%,
    #f6f6f6 36%,
    #003f8f 69%,
    #003f8f 100%
  );
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 100px;
  padding-right: 40px;
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#003F8F', GradientType=1 );
}
.footer-left {
  display: flex;
  flex-direction: column;
}
.footer-slogan {
  font-size: 16px;
  font-weight: 700;
  color: #003f8f;
  text-align: center;
  opacity: 0.9;
  margin-right: 70px;
  position: relative;
  cursor: pointer;
  transition: 0.3s;
}
.footer-slogan:hover {
  background: linear-gradient(
    120deg,
    #003f8f 0%,
    #003f8f 40%,
    #4da6ff 50%,
    #003f8f 60%,
    #003f8f 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineText 1.4s linear;
}
@keyframes shineText {
  0% {
    background-position: -200px;
  }
  100% {
    background-position: 200px;
  }
}
.footer-brand {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  opacity: 0;
  transform: translateY(10px);
  animation: footerFade 0.8s ease forwards;
}
.footer-system {
  font-size: 13px;
  color: #fff;
  margin-top: 3px;
  opacity: 0;
  transform: translateY(10px);
  animation: footerFade 0.8s ease 0.15s forwards;
}
.footer-copy {
  font-size: 12px;
  color: #fff;
  margin-top: 2px;
  opacity: 0;
  transform: translateY(10px);
  animation: footerFade 0.8s ease 0.3s forwards;
}
.footer-low {
  font-size: 10px;
  font-weight: bold;
  color: #003f8f;
  letter-spacing: 1px;
  transform: translateY(20px);
  animation: footerFade 0.8s ease 0.3s forwards;
}
.footer-main::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: white;
  animation: footerReveal 1s ease forwards;
}
/* animación */
@keyframes footerReveal {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
/* animación entrada */
@keyframes footerFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.titcasillaver {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: bold;
  color: #0e3f99;
  /*color: #05446E;*/
}
.boton {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: #01111b;
  width: 100%;
  height: 140%;
  border-bottom-color: #b5b6b6;
  /*border-bottom-color:#7CCAFA;*/
}
/*NUEVO. 9:16 a.m Julian Estepa 20/03/2026*/
@keyframes titleFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.popup-link {
  font-family: Arial, Helvetica, sans-serif;
  /*font-family:'Roboto', sans-serif;*/
  font-weight: 600;
  font-size: 14px;
  /*font-size:12px;*/
  color: #ffffff;
  /*color: #B5B6B6;*/
  text-decoration: none;
  padding: 10px 16px;
  /*padding:1px 0;*/
  border-radius: 8px;
  /*border-radius: 1px;*/
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  backdrop-filter: blur(4px);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}
.popup-link::before {
  content: "";
  position: absolute;
  width: 0%;
  height: 100%;
  left: 0;
  top: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transition: 0.5s;
  border-radius: 8px;
}
.popup-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 3px;
  left: 50%;
  background: #eaf3ff;
  transform: translateX(-50%);
  transition: 0.35s;
  border-radius: 2px;
}
.popup-link:hover {
  color: #eaf3ff;
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 6px 18px rgba(0, 63, 143, 0.25),
    0 0 12px rgba(0, 63, 143, 0.15);
}
.popup-link:hover::before {
  width: 100%;
}
.popup-link:hover::after {
  width: 80%;
}
.popup-link:active {
  transform: translateY(0px) scale(0.97);
  box-shadow: 0 3px 8px rgba(0, 63, 143, 0.2);
}
/*
titUsuario {  font-family: Arial, Helvetica, sans-serif; font-size: 18px; font-weight: bold; color: 01111B}
titUsuario1 {  font-family: Arial, Helvetica, sans-serif; font-size: 22px; font-weight: bold; color: 01111B}
*/
.titUsuario_negro {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: bold;
  color: #000;
}
.titUsuario {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
}
.titUsuario1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: bold;
  color: #fff;
}
.cajastexto_login {
  border: 0px solid #ffffff;
  font:
    14px Tahoma,
    Arial,
    Helvetica,
    sans-serif,
    italic,
    bold;
  color: #666666;
  text-align: left;
  padding-left: 12px;
  padding-top: 6px;
  height: 150%;
  width: 100%;
}
.cajastexto_login1 {
  border: 1px solid #aaa;
  /*box-shadow: 0px 0px 3px #ccc, 0 10px 15px #eee inset;*/
  border-radius: 15px;
  /*border-radius: 2px;*/
  -moz-transition: padding 0.25s;
  -webkit-transition: padding 0.25s;
  -o-transition: padding 0.25s;
  transition: padding 0.25s;
  font:
    12px Tahoma,
    Arial,
    Helvetica,
    sans-serif,
    italic,
    bold;
  text-align: left;
  padding-right: 5px;
  padding-left: 10px;
  padding-top: 6px;
  padding-bottom: 6px;
  height: 40px;
  width: 100%;
}
.cajastexto_login1:focus {
  border: 1px solid #555;
  box-shadow: 0 0 3px #aaa;
  /*height: 64px;padding-right: 70px;*/
  width: 100%;
  font-weight: bold;
}
.cajastexto_login2 {
  /*background-image:url(../iconos/user_64x64.png);
	background: #fff  no-repeat 80% left center;
	background-image: url("../iconos/user_64x64.png");*/
  border: 1px solid #aaa;
  /*box-shadow: 0px 0px 3px #ccc, 0 10px 15px #eee inset;*/
  border-radius: 15px;
  /*border-radius: 2px;*/
  -moz-transition: padding 0.25s;
  -webkit-transition: padding 0.25s;
  -o-transition: padding 0.25s;
  transition: padding 0.25s;
  font:
    14px Tahoma,
    Arial,
    Helvetica,
    sans-serif,
    italic,
    bold;
  text-align: left;
  padding-right: 5px;
  padding-left: 10px;
  padding-top: 6px;
  padding-bottom: 6px;
  height: 40px;
  width: 100%;
}
.cajastexto_login2:focus {
  border: 1px solid #555;
  box-shadow: 0 0 3px #aaa;
  /*height: 64px;padding-right: 70px;*/
  width: 100%;
  font-weight: bold;
}
.button1 {
  /*border: none;
	background: #125EA4;
	background: #0E3F99;
	*/
  border: none;
  background: #003f8f;
  /*background: #0194CA;*/
  color: white;
  padding: 14px 18px;
  /*padding: 10px;*/
  font-size: 18px;
  /*font-size: 15px;*/
  font-weight: 600;
  border-radius: 16px;
  /*border-radius: 2px;*/
  width: 100%;
  /*width:112px;*/
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;

  box-shadow: 0 6px 18px rgba(0, 63, 143, 0.3);
}
/* NUEVO. 10:23 a.m Julian Estepa 20/03/2026*/
.button1::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transition: 0.6s;
}
.button1:hover {
  transform: translateY(-2px);
  background: #004aad;
  box-shadow: 0 12px 28px rgba(0, 63, 143, 0.4);
}
.button1:hover::before {
  left: 120%;
}
.button1:active {
  transform: scale(0.98);
  box-shadow: 0 4px 10px rgba(0, 63, 143, 0.3);
}
.button2 {
  background: #003f8f;
  /*background: #0E3F99;*/
  color: #f2f2f2;
  padding: 10px 20px;
  /*padding: 10px;*/
  font-size: 16px;
  font-weight: 600;
  border-radius: 20px;
  /*border-radius: 3px;*/
  cursor: pointer;
  display: block;
  margin-left: auto;
  margin-right: 30px;
  margin-top: 5px;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
  box-shadow: 0 4px 10px rgba(0, 63, 143, 0.25);
  /*width:100%;
	height:140%;
  box-sizing: border-box;*/
}
.button2:hover {
  transform: scale(1.06) translateY(-2px);
  background: #0047a3;
  box-shadow:
    0 8px 25px rgba(0, 63, 143, 0.45),
    0 0 0 3px rgba(255, 255, 255, 0.15);
}
.button2:active {
  transform: scale(0.98);
}
/*NUEVO. 10:25 a.m Julian Estepa 20/03/2026*/
.table_1 {
  width: clamp(340px, 26vw, 440px);
  background: #eaf2f8;
  border: 1px solid #d6e3f3;
  border-radius: 16px;
  padding: 18px;
  margin: 0;
  /*box-shadow:
        0 10px 28px rgba(255, 0, 0, 0.16),
        0 4px 10px rgba(206, 17, 17, 0.08);*/
  border-spacing: 0 10px;
  flex-shrink: 0;
}
/*.table_1{
	padding: 9px 9px 9px 9px;
	border: 1px solid #ECE8E8;
	border-radius: 5px;
	width: 30%;
	background-color: #EAF2F8; 
}*/ /*nuevo responsive*/

@media (max-width: 2000px) {
  .table_1 {
    padding-block: 18px;
  }
  .header-logo {
    display: none;
  }
}
@media (max-width: 853px) {
  .titulo_top,
  .subtitulo_top,
  .slogan_top,
  .subslogan_top,
  .slogan,
  .subslogan {
    display: none;
  }
  .header-logo {
    display: block;
    width: 100%;
    text-align: center;
  }
  .header-gradient,
  .header-container {
    background: #003f8f !important;
  }
  .footer-main {
    background: #003f8f !important;
    padding-left: 20px; /* opcional para mobile */
  }
}
@media (max-width: 767px) {
  .header-links {
    margin-top: 10px;
  }
  .header-links a {
    display: block;
    margin: 5px 0;
  }
  .titulo_top,
  .subslogan_top {
    display: none;
  }
  .logo-superpuesto {
    display: none;
  }
  .table_1 {
    width: clamp(300px, 80vw, 420px);
  }
}
@media (max-width: 540px) {
  /* HEADER azul sólido */
  .header-gradient,
  .header-container {
    background: #003f8f !important;
  }
  .box {
    width: 100% !important;
    max-width: 95vw;
    min-width: 0;
    padding: 15px;
  }
  /* quitar animación de capa blanca */
  .header-gradient::before,
  .footer-slogan {
    display: none;
  }
  /* FOOTER azul sólido */
  .footer-main {
    background: #003f8f !important;
    padding-left: 20px; /* opcional para mobile */
  }
  /* quitar animación reveal */
  .footer-main::after {
    display: none;
  }
  .login-wrapper {
    flex-direction: column;
  }
  .logo-box {
    display: none !important;
  }

  .form-box {
    width: 100%;
    border-radius: 20px;
  }
}
/* NUEVO. 10:26 a.m Julian Estepa 20/03/2026*/
.efecto_glow {
  transform: translateZ(0);
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}
.efecto_glow:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
  transform: translateY(-3px);
}
/* NUEVO. 10:26 a.m Julian Estepa 20/03/2026*/
.header-container {
  margin: auto;
  padding: 15px clamp(15px, 5vw, 90px);
  background: linear-gradient(
    to right,
    #ffffff 0%,
    #f6f6f6 36%,
    #003f8f 69%,
    #003f8f 100%
  );
}
/* NUEVO. 10:26 a.m Julian Estepa 20/03/2026*/
.header-table {
  width: 100%;
}
/* NUEVO. 10:26 a.m Julian Estepa 20/03/2026*/
.login-box-title {
  display: block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  color: #003f8f; /* azul BASC */
  font-size: 1.6rem; /* 28-30px aprox. – ajusta si quieres más grande */
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  opacity: 0;
  transform: translateY(-12px);
  animation: titleFadeIn 0.9s ease-out 0.2s forwards;
  opacity: 0;
  transform: translateY(-12px);
  animation: titleFadeIn 0.9s ease-out 0.2s forwards;
}
/* NUEVO. 10:26 a.m Julian Estepa 20/03/2026*/
.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: calc(100vh - 140px);
  padding-bottom: 60px; /* espacio para el footer */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
}
* {
  box-sizing: border-box;
}
/* NUEVO. 10:26 a.m Julian Estepa 20/03/2026*/
.box {
  width: clamp(440px, 32vw, 580px);
  height: clamp(380px, 26vw, 480px); /* más pequeño */
  background: white;
  border: none; /* quitamos borde general */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
/* NUEVO. 10:26 a.m Julian Estepa 20/03/2026*/
.logo-box {
  background: #ffffff;
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 50px;
}

/* NUEVO. 10:26 a.m Julian Estepa 20/03/2026*/
.logo-superpuesto {
  width: 100%;
  max-width: 420px;
  margin: 0;
}
/* NUEVO. 10:26 a.m Julian Estepa 20/03/2026*/
.form-box {
  background: #F9F9F9;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
  box-shadow:
    10px 0px 25px -12px rgba(0, 0, 0, 0.25),
    /* solo derecha */ 0px 5px 20px -12px rgba(0, 0, 0, 0.15),
    /* abajo */ 0px -5px 20px -12px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* NUEVO. 10:26 a.m Julian Estepa 20/03/2026*/
.idioma-box {
  margin-top: 3px;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}
/* NUEVO. 10:26 a.m Julian Estepa 20/03/2026*/
.header-gradient {
  position: relative;
  margin: auto;
  padding: 15px clamp(15px, 5vw, 90px);
  border-top: 3px solid #003f8f;
  background: linear-gradient(
    to right,
    #ffffff 0%,
    #f6f6f6 36%,
    #003f8f 69%,
    #003f8f 100%
  );
  overflow: hidden;
}
/* NUEVO. 10:26 a.m Julian Estepa 20/03/2026*/
.header-gradient::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  animation: revealHeader 1s ease forwards;
}
/* NUEVO. 10:26 a.m Julian Estepa 20/03/2026*/
@keyframes revealHeader {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100%);
  }
}
