body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  color: #fff;
}

/* SLIDER */
.hero-slider {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 1;
  filter: brightness(0.9);
  transform: scale(1.03);
}
/* .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: slider 15s infinite;
} */

/* .slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 5s; }
.slide:nth-child(3) { animation-delay: 10s; }

@keyframes slider {
  0% { opacity: 0; }
  10% { opacity: 1; }
  30% { opacity: 1; }
  40% { opacity: 0; }
  100% { opacity: 0; }
} */

/* OVERLAY */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}

/* TEXTO CENTRAL */
.hero-content {
  position: absolute;
  right: 8%;
  top: 65%;
  transform: translateY(-50%);
  max-width: 520px;
  z-index: 2;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  text-align: right;
}

.hero-content span {
  font-weight: bold;
}

.hero-content p {
  font-size: 15px;
  line-height: 1.6;
}

/* LOGIN BOX */
.login-box {
  position: absolute;
  left: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  padding: 35px;
  background: rgb(0 0 0 / 0%);
  border-radius: 18px;
  z-index: 3;
  text-align: center;
}

.logo {
  width: 160px;
  margin-bottom: 20px;
}

.login-box h2 {
  margin: 0;
  font-size: 40px;
}

.login-box span {
  font-size: 14px;
  opacity: .8;
}

label {
  display: block;
  /* margin-top: 15px; */
  font-size: 16px;
}

.password-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.password-row a {
  color: #7fd3ff;
  font-size: 13px;
  text-decoration: none;
}

#formLogin input {
  width: 100% !important;
  padding: 16px 22px !important;
  margin: 8px 0 22px !important;
  border-radius: 40px !important;
  border: none !important;
  outline: none !important;
  font-size: 15px !important ;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25)!important;
}
/* input {
  width: 100% !important;
  padding: 12px !important;
  border-radius: 25px !important;
  border: none !important;
  margin-top: 5px !important;
} */

a {
  display: block;
  margin: 15px 0;
  font-size: 13px;
  color: #fff;
}

/* BOTONES */
.btn-login {
  width: 100%;
  padding: 12px;
  border-radius: 25px;
  border: none;
  background: #009fe3;
  color: #fff;
  cursor: pointer;
}

/* .register-box {
  margin-top: 25px;
  background: rgba(255,255,255,.1);
  padding: 15px;
  border-radius: 15px;
  text-align: center;
} */
 .register-box {
  margin-top: 25px;
  /* background: linear-gradient(135deg, #1c1c1c, #2e2e2e); */
  padding: 25px;
  border-radius: 20px;
  text-align: center;
  color: #f0f0f0;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  font-family: 'Segoe UI', sans-serif;
}

.register-box h2 {
  margin-bottom: 15px;
  font-size: 24px;
  color: #ffffff;
}

.register-box p {
  font-size: 16px;
  margin-bottom: 20px;
}

.btn-register {
  background-color: #00aaff;
  color: #000000;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
/* 
.btn-register:hover {
  background-color: #0088cc;
}

.btn-register {
  margin-top: 10px;
  padding: 10px 20px;
  border-radius: 20px;
  border: none;
  background: #bbb;
  cursor: pointer;
} */

.ui-captcha {
  margin: 15px 0;
  display: flex;
  justify-content: center;
}
/* RESPONSIVE */
@media (max-width: 900px) {

  .hero {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 100vh;
    padding: 40px 0;
  }

  .login-box {
    position: relative;
    transform: none;
    width: 90%;
    max-width: 380px;
    margin: auto;
  }

  .hero-content {
    display: none;
  }

.cert-logos {
    justify-content: center;
    max-width: 100%;
  }

  .cert-logos img {
    height: 28px;
  }
}

/* CERTIFICACIONES */
.cert-logos {
  margin-top: 25px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cert-logos img {
  height: 42px;
  background: rgba(255,255,255,0.85);
  padding: 6px 10px;
  border-radius: 10px;
}



.cert-logos img:hover {
  transform: scale(1.05);
  transition: .2s;
}



/* .cert-carousel {
  margin-top: 30px;
  overflow: hidden;
  width: 100%;
} */

/* .cert-carousel {
  margin-top: 30px;
  padding-bottom: 16px;
  border-bottom: 3px solid rgba(255,255,255,.9);
  box-shadow: 0 6px 12px rgba(0,0,0,.15);
} */
.cert-carousel {
  margin-top: 22px;
  overflow: hidden;
  width: 100%;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(255,255,255,.6);
}
/* 
.cert-track {
  display: flex;
  gap: 20px;
  animation: scrollLogos 10s linear infinite;
} */

.cert-track {
  display: flex;
  gap: 20px;
  animation: scrollLogos 18s linear infinite;
}


.cert-track img {
  height: 38px;
  background: rgba(255,255,255,.9);
  padding: 6px 12px;
  border-radius: 10px;
  flex-shrink: 0;
}

/* @keyframes scrollLogos {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
} */

@keyframes scrollLogos {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

input:focus {
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(0,159,227,.35) !important;
}

.btn-login:hover {
  background: #007bb8;
}
.login-box {
  backdrop-filter: blur(6px);
}

.hero-text {
  font-size: 16px;
  line-height: 1.75;
  color: #fff;
  font-weight: 400; /* texto normal */
}

.hero-text .text-strong {
  font-weight: 600; /* negrita elegante, no exagerada */
  letter-spacing: 0.3px;
}

.hero-text img {
    width: 100%;
}


/* .rc-anchor-light {
    background: #f9f9f900 !important;
    color: #f9f7f7 !important;
} */



.footer {
  background: #efefef;
  padding: 30px 0;
  font-size: 13px;
  color: #333;
}

.footer-container {
  width: 90%;
  margin: 0 auto;
  overflow: hidden;
}

.footer-col {
  width: 33%;
  float: left;
  padding: 0 15px;
}

.footer-logo {
  max-width: 160px;
  margin-bottom: 10px;
}

.footer h4 {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 6px;
}

.footer ul li a {
  text-decoration: none;
  color: #333;
}

.footer ul li a:hover {
  text-decoration: underline;
}



/* preregistro*/
.prereg-dialog {
    border-radius: 14px;
}

.prereg-dialog .ui-dialog-content {
    padding: 25px;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
}

.prereg-dialog input,
.prereg-dialog .ui-inputfield {
    width: 100%;
    border-radius: 8px;
    padding: 8px;
}

.ui-selectoneradio label {
    margin-right: 20px;
    font-weight: 500;
}

.prereg-dialog .btn-login {
    margin-top: 10px;
    border-radius: 10px;
}
