/* Add here all your CSS customizations */
@media (max-width: 576px) {
    .logo-sm {
        max-width: 250px;
    }
}

screen .masclaro {
    color: #b7b7b7 !important;
    font-size: 14px !important;
}


.alto-linea {
    line-height: 1.5em !important;
}

.card-table {
    display: table;
    padding: 1rem 2rem;
    /*height: 380px;*/
}

.card-end {
    display: table-row;
    vertical-align: bottom;
    line-height: 3;
}

.card-loner {
    height: 300px;
}

.card-beta {
    height: 265px;
}

/*@media only screen and (min-width: 768px) and (max-width: 991px) {
    .card-loner {
        height: 459px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1999px) {
    .card-loner {
        height: 433px;
    }
}

@media only screen and (min-width: 1200px) {
    .card-loner {
        height: 460px;
    }
}*/

.card-hover-default:hover {
    transform: scale(1.02) !important;
    box-shadow: rgba(17, 17, 26, 0.3) 0px 0px 16px;
}

.card-hover-beige:hover {
    transform: scale(1.02) !important;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 16px;
}

.card-hover-green:hover {
    transform: scale(1.02) !important;
    box-shadow: rgba(17, 17, 26, 0.3) 0px 0px 16px;
}

.card-hover-blue:hover {
    transform: scale(1.02) !important;
    box-shadow: rgba(17, 17, 26, 0.4) 0px 0px 16px;
}

.card-hover-bg:hover {
    background-color: rgba(17, 17, 26, 0.4) !important;
}

.card-bg-beige {
    background-color: rgba(247, 234, 205, 0.4) !important;
}

.card-hover-bg-green:hover {
    background-color: rgba(135, 184, 103, 0.1) !important;
}

.limit-1-line {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.limit-html {
  display: -webkit-box;
  -webkit-line-clamp: 4;           /* máximo 4 líneas */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.625em;            /* altura de cada línea */
  max-height: calc(1.625em * 4);   /* altura máxima de 4 líneas */
  min-height: calc(1.625em * 4);   /* altura mínima de 4 líneas */
  position: relative;
}

.limit-html::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1.5em;
  width: 100%;
  pointer-events: none;
  background: linear-gradient(to top, white, transparent);
}

.card-title-limit {
  display: -webkit-box;
  -webkit-line-clamp: 2;       /* máximo 2 líneas */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5em;          /* línea de 1.5em */
  max-height: 3em;             /* 2 líneas × 1.5em */
  min-height: 3em;             /* forzar altura mínima de 2 líneas */
}

.custom-spacing {
    letter-spacing: 0.7px;
}

.input-login::placeholder {
    color: #495057;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.input-login:focus::placeholder,
.input-login:not(:placeholder-shown)::placeholder {
  opacity: 0;
}

.border-focus:focus {
    border: 2px solid #87B867 !important;
}

.custom-border-left {
    border-left: 2px solid #66666621 !important;
}

.custom-bg-color-blue {
    background-color: #2b3e4c !important;
}

.custom-bg-blue {
    background: #2b3e4c !important;
}

.custom-bg-color-green {
    background-color: #87B867;
}

.custom-bg-color-beige {
    background-color: #fcf2dc;
}

.br-10 {
    border-radius: 10px;
}

.fs-14 {
    font-size: 14px;
}

/* INICIO SPINNER INSCRIPCIÓN */

.spinner-on {
    display: inline-block;
    margin: 12px 0px 12px 15px;
    width: 31px;
    height: 31px;
    border: 3px solid #EFF1F3;
    border-radius: 50%;
    border-top-color: #87B867;
    animation: spin 1s ease-in-out infinite;
    -webkit-animation: spin 1s ease-in-out infinite;
}

.spinner-off {
    display: inline-block;
    margin: 12px 0px 12px 15px;
    width: 31px;
    height: 31px;
    border: 3px solid #EFF1F3;
    border-radius: 50%;
    border-top-color: #EFF1F3;
}

@keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}

/* FIN SPINNER INSCRIPCIÓN */

/* INICIO SPINNER FILTROS */

.spinner-filtros-on {
    display: inline-block;
    margin-top: 26px;
    width: 45px;
    height: 45px;
    border: 3px solid #EFF1F3;
    border-radius: 50%;
    border-top-color: #87B867;
    animation: spin 1s ease-in-out infinite;
    -webkit-animation: spin 1s ease-in-out infinite;
}

.spinner-filtros-off {
    display: inline-block;
    margin-top: 26px;
    width: 45px;
    height: 45px;
    border: 3px solid #EFF1F3;
    border-radius: 50%;
    border-top-color: #EFF1F3;
}

@keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}

/* FIN SPINNER FILTROS */

#aula_virtual {
    color: #2B3E4C !important;
}

#aula_virtual:hover {
    color: #fcf2dc !important;
}

.no-list-style {
    list-style-type: none !important;
    margin-left: 2.14285714em;
    padding-left: 0;
}

/* INICIO POPUP */

#popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

/* Popup content */
.popup-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 400px;
    /* Ancho fijo */
}

/* Buttons */
.popup-buttons {
    margin-top: 20px;
}

.popup-buttons button {
    margin: 0 10px;
}

/* FIN POPUP */

/* TRAYECTO FORMATIVO ON-OFF */

.trayecto-on {
    background-color: #fcf2dc;
}

.trayecto-on span {
    color: #87b867;
    font-size: 1.2em;
}

.trayecto-off {
    background-color: #fff;
}

.trayecto-off span {
    display: none;
}

/* FIN TRAYECTO FORMATIVO ON-OFF */

/* INICIO LOADING BAR */

/* Main container, col-12 style */
.loading-container {
    width: 100%;
    height: 4px;
    background-color: #e0e0e0;
    /* Gray background for loading bar */
    overflow: hidden;
    position: relative;
}

/* Animation bar */
.loading-bar {
    height: 100%;
    width: 30%;
    /* Width of the animated section */
    background-color: #87B867;
    /* Primary color for loading */
    position: absolute;
    animation: loading 1.5s infinite linear;
}

/* Keyframes for smooth moving effect */
@keyframes loading {
    0% {
        left: -30%;
    }

    100% {
        left: 100%;
    }
}

/* FIN LOADING BAR */

/* INICIO CARTEL SITIO EN CONSTRUCCIÓN */
#sitio-construccion {
    position: fixed;
    /* Fijo en pantalla, no se mueve con el scroll */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    /* Lo centra y lo inclina */
    font-size: 4rem;
    /* Tamaño grande del texto */
    font-weight: bold;
    color: rgba(255, 0, 0, 0.3);
    /* Rojo con transparencia */
    text-transform: uppercase;
    white-space: nowrap;
    /* Evita que el texto se corte */
    z-index: 9999;
    /* Asegura que esté por encima de otros elementos */
    pointer-events: none;
    /* Evita que bloquee clics en la página */
}

/* FINAL CARTEL SITIO EN CONSTRUCCIÓN */

/* INICIO DE CLASES PARA ELEMENTOS QUE DESAPARECEN EN PANTALLAS PEQUEÑAS */

@media (max-width: 768px) {
    .d-none-mobile {
        display: none;
    }

    .padding-mobile {
        padding: 1rem !important;
    }

    .margin-mobile {
        margin: 0px !important;
    }

    .text-center-mobile {
        text-align: center;
    }

    .h4-mobile {
        font-size: 1.3em;
        font-weight: 600;
        line-height: 27px;
        margin: 0 0 14px 0;
    }
}

/* FIN DE CLASES PARA ELEMENTOS QUE DESAPARECEN EN PANTALLAS PEQUEÑAS */

.video-redondeado {
    border-radius: 10px;
    overflow: hidden;
    /* Asegura que las esquinas se recorten */
    width: 100% !important;
    /* Ajusta según necesites */
    max-width: 800px !important;
    /* Controla el tamaño */
    display: block;
    margin: 0 auto;
    /* Centra el video */
}

/* INICIO TOP BANNER FLOTANTE EN NAV */ 
#top-banner {
  position: fixed;
  top: 100px; /* ajustá según el alto del header expandido */
  left: 0;
  width: 100%;
  height: auto;
  background-color: #f8ecd0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5px 0;
}

#top-banner.hidden {
  opacity: 0;
  pointer-events: none;
}

/* FIN TOP BANNER FLOTANTE EN NAV */

/* INICIO PANEL DE DATOS PERSONALES */

.datos {
  border: 1px solid #dbdbdb !important;  /* color del borde */
  border-radius: 8px;         /* redondeo general */
  overflow: hidden;           /* evita que se salga el borde */
  background-color: #ffffff;  /* estilo tipo GitHub dark */
  color: #2b3e4c;             /* color de texto */
}

.datos-row {
  padding: 4px 12px;
  border-bottom: 1px solid #dbdbdb !important;
}

.datos-row:last-child {
  border-bottom: none; /* quita línea al último */
}

label {
  display: block;
  font-size: 12px;
  color: #888888;
  margin-bottom: 4px;
}

.value {
  font-size: 14px;
}

/* FIN PANEL DE DATOS PERSONALES */

/* INICIO STATUS DOT */
.status-dot-green {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-radius: 50%;
  background-color: #87B867; /* amarillo */
  position: relative;
}

.status-dot-green::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #87B867;
  animation: ripple 1.5s infinite;
  opacity: 0.6;
}

.status-dot-yellow {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-radius: 50%;
  background-color: #f1c40f; /* amarillo */
  position: relative;
}

.status-dot-yellow::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #f1c40f;
  animation: ripple 1.5s infinite;
  opacity: 0.6;
}

.status-dot-red {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-radius: 50%;
  background-color: #ec7467; /* amarillo */
  position: relative;
}

.status-dot-red::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #ec7467;
  animation: ripple 1.5s infinite;
  opacity: 0.6;
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(2.5);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
/* FIN STATUS DOT */

/* INICIO ACCESOS PANEL PERSONAL */
    a.tarjeta {
      text-decoration: none;
      color: inherit;
      background: #f7fdf7;
      border-radius: 12px;
      padding: 2rem 1.5rem;
      width: 260px;
      text-align: center;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      position: relative;
      overflow: hidden;
      transition: transform 0.2s ease, box-shadow 0.3s ease;
    }

    a.tarjeta:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    }

    .etiqueta {
      position: absolute;
      top: 12px;
      right: 12px;
      background: #d9f2d9;
      color: #2f662f;
      font-size: 0.8rem;
      padding: 4px 10px;
      border-radius: 16px;
    }

    .circulo-tarjeta {
      width: 70px;
      height: 70px;
      border-radius: 50%;
      background: #e6f5e6;
      margin: 0 auto 1rem auto;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 1.5rem;
      color: #2f662f;
      position: relative;
    }

    /* Animación de pulso */
    a.tarjeta:hover .circulo-tarjeta::after {
      content: "";
      position: absolute;
      width: 70px;
      height: 70px;
      border-radius: 50%;
      background: rgba(47, 102, 47, 0.3);
      animation: pulso 1s infinite;
      z-index: -1;
    }

    @keyframes pulso {
      0% {
        transform: scale(1);
        opacity: 0.6;
      }
      100% {
        transform: scale(1.6);
        opacity: 0;
      }
    }

    a.tarjeta:hover .btn {
      background: #3d7a3d;
      transform: scale(1.05);
    }
    
    .boton-tarjeta {
      display: inline-block;
      background: #2f662f;
      color: white;
      padding: 0.6rem 1.2rem;
      border-radius: 8px;
      transition: background 0.3s ease, transform 0.2s ease;
    }


    /* INICIO PRUEBA ACCORDION KIMUN */
    
.toggle-card {
  border: 2px solid #87B867;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.toggle-card:hover {
  background-color: #f5fff0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.toggle-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.toggle-header h4 {
  margin: 0;
  font-weight: bold;
  font-size: 1.2rem;
}

.toggle-icon {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.toggle-content-kimun {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease, opacity 0.4s ease;
  opacity: 0;
}

.toggle-card.active .toggle-content-kimun {
  max-height: 1000px; /* suficiente para el contenido */
  opacity: 1;
}

.toggle-card.active .toggle-icon {
  transform: rotate(180deg);
}

/* FIN PRUEBA ACCORDION KIMUN */