
/* =========================================================== */

.required {
  color: #ff3737;
  font-size: 1.2em;
  font-weight: bold;
  margin-left: 3px;
}

.contenedor {
  width: 100%;
}

/*una sola fila */
.titulo2 {
display: flex;  
margin-bottom:0px;
}
.titulo2 .div {
width: 100%;
background-color: #13f9f9;
padding: 0px;
height: auto;
}
.title {
font-weight: bold;
padding-left: 10px;
padding-top: 10px;   
padding-bottom: 10px;
width: 97%;
font-weight: bold;
margin-bottom: 0.5rem;
display: block;

}
/* ====================================================================== */

/* CONTENEDOR */
.modal-content {
    backdrop-filter: none;
}

.modal-header {
    background: #ffffff;
    border-bottom: 1px solid #dee2e6;
    border-top: 3px solid #0d6efd;
}

.modal-header .modal-title {
    color: #0d6efd;
    font-weight: 700;
}

/* INPUTS */
.form-control {
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    transition: all 0.25s ease;
    font-size: 0.85rem;
}

.form-control:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14,165,233,0.2);
}

/* SELECT */
.form-select {
    border-radius: 10px;
}

/* ICONOS */
.input-group-text {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #0ea5e9;
}

/* LABELS */
.form-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 3px;
}

/* CONTENEDORES */
.div.title {
    display: flex;
    flex-direction: column;
}

/* BOTONES */
.btn {
    font-size: 0.85rem;
}

/* ANIMACIÓN SUAVE */
.modal-content {
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        transform: translateY(10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


/*una sola fila */
.fila-3 {
display: flex;  
    gap: 12px;
    margin-bottom: 14px;

}
.fila-3 .div {
width: 100%;
background: transparent; /* quita el gris viejo */
padding: 5px;
height: auto;
}
/*dos filas */
.fila-1 {
display: flex;  
margin-bottom: 10px;
justify-content: space-between;

}
.fila-1 .div {
width: 49%;
background: transparent; /* quita el gris viejo */
padding: 5px; 
height: auto; 
}
/*tres filas */
.fila-2 {
display: flex;
justify-content: space-between;
margin-bottom: 20px;
}   

.fila-2 .div {
width: 33%;
background: transparent; /* quita el gris viejo */
padding: 5px;
height: auto;
}
/*cuatro filas */
.fila-4 {
display: flex;
justify-content: space-between;
margin-bottom: 20px;
}   
.fila-4 .div {
width: 24%;
background: transparent; /* quita el gris viejo */
padding: 5px;
height: auto;
}

/*cinco filas */
.fila-5 {
display: flex;
justify-content: space-between;
margin-bottom: 10px;
}   
.fila-5 .div {
width: 20%;
background: transparent; /* quita el gris viejo */
padding: 5px;
height: auto;
}

/*seis filas */
.fila-6 {
display: flex;
justify-content: space-between;
margin-bottom: 20px;
}   
.fila-6 .div {
width: 16%;
background: transparent; /* quita el gris viejo */
padding: 5px;
height: auto;
}    

.div {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 10px 12px;

    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.div:hover {
    border-color: #0d6efd;
    box-shadow: 0 2px 8px rgba(13,110,253,0.08);
    transition: 0.2s ease;
    background-color: #f1f5ff;
}
.div-center {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
}
.div2 {
position: relative;
height: 100px; /* ajusta el alto según sea necesario */
}

.div1 {
display: flex;
justify-content: center;
align-items: center;
height: 100px; /* ajusta el alto según sea necesario */
}


.fila-dividida td {
    width: 50%;
    border: 2px solid #070000;
    padding: 10px;  
    table-layout: fixed;
}
    .fila-dividida1 {
    width: 50%;
    border: 2px solid #070000;
    padding: 10px;
    text-align: center ;
    table-layout: fixed;
    word-wrap: break-word;
}
    .fila-dividida2 td {
    width: 50%;
    border: 2px solid #070000;
    padding: 10px;
    text-align: center ;
    table-layout: fixed;
    word-wrap: break-word;
}

.azul{
    color: #13f9f9;
}
.azul1{
    color: #f4f2f8;
}

.italic {
    font-style: italic;
}

.boton-negrita {
  font-weight: bold;
}

/* --------------------SELECT------------------ */
.mi-select {
  background-color: #870606;
  color: #333;
  border-color: #1206f1;
}



/* -------------------------------------- */
.color1 {
  color: #ffffff;
  font-weight: 600;           /* suficiente énfasis */
  font-style: normal;         /* mejor legibilidad en inputs */
  background-color: #7f1d1d;  /* rojo más oscuro */
  text-align: center;
  border: 1px solid #7f1d1d;
  }
.color1 .form-control{
    color: white;
    font-weight: bold; /* negrillas */
    font-style: italic; /* cursiva */
    background-color: rgb(198, 34, 34);
    text-align: center;
  }


/* ==============================
   CABECERAS DE TABLAS (GLOBAL)
============================== */

/* Base común */
.color2,
.color3 {
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  padding: 0.6rem;
  border: none;
}

.color3 {
  background-color: #1e3a8a; /* azul oscuro */
  color: #ffffff;
}

.color2 {
  background-color: #2c5282; /* azul alterno más sobrio */
  color: #ffffff;
}

/* Línea inferior elegante */
.table thead th.color2,
.table thead th.color3 {
  border-bottom: 2px solid rgba(255,255,255,0.2);
}

.color10 {
    color: rgb(24, 23, 23);
    font-weight: bold; /* negrillas */
    font-style: italic; /* cursiva */
    background-color: cyan; 
    text-align: center;
  }

/* ---------------resultados seguimiento------------------ */
.color4 {
  color:white;
  font-weight: bold; /* negrillas */
  font-style: italic; /* cursiva */
  background-color: #1206f1;
  text-align: center;
}
.color5 {
  color:black;
  font-weight: bold; /* negrillas */
  font-style: italic; /* cursiva */
  background-color: gold;
  text-align: center;
}
.color6 {
  color:white;
  font-weight: bold; /* negrillas */
  font-style: italic; /* cursiva */
  background-color:red;
  text-align: center;
}
.color7 {
  color:white;
  font-weight: bold; /* negrillas */
  font-style: italic; /* cursiva */
  background-color:green;
  text-align: center;
}

  .margen {
    margin: 20px;
  }
  
  .fieldset1
  {
    border: 2px solid #2331eb;
    border-radius: 20px;
    padding: 8px;
      /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); */
  }

  .legend1
  {
    font-weight: bold; /* negrillas */
    font-style: italic; /* cursiva */
    font-size: 1.5rem;
    font-weight: 600;
    color: #0c65e3;
    margin-bottom: 22px;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  .legend100
  {
    font-size: 20px; 
    font-weight: bold; /* negrillas */
    font-style: italic; /* cursiva */
    color: #fff;
    text-align: center;
  }

    .fieldset2
  {
  border: 1px solid #058be4;
  padding: 3px;
  border-radius: 20px;
  box-shadow: inset 0 0 5px rgba(26, 8, 222, 0.1);
  box-sizing: border-box;

  }
  .legend2 {
      font-size: 16px;
    font-weight: bold; /* negrillas */
    font-style: italic; /* cursiva */
    color: #058be4;
    text-align: left;
}
.fieldset2:focus-within {
  border-color: #66afe9;
  box-shadow: 0 0 8px rgba(102, 175, 233, 0.6);
}

  .hr{
    border-top: 3px solid #2331eb;
    margin:20px 0;
    }

    .registro-actualizado {
      background-color: #dff0d8; /* color de fondo verde claro */
      border: 1px solid #3e8e41; /* borde verde oscuro */
      padding: 10px;
    }
/* ---------------boton parpadea------------------- */
    .boton-parpadea {
      animation: parpadea 1s;
      animation-iteration-count: 4;
    }
    .boton-parpadea2 {
      animation: parpadea 1s;
      animation-iteration-count: 9;
    }

    @keyframes parpadea {
      0% {
        opacity: 1;
      }
      50% {
        opacity: 0.5;
      }
      100% {
        opacity: 1;
      }
    }
    

    /* ----------------------ESCRITURA------------------ */

    #texto-escritura {
      overflow: hidden;
    }
    
    .texto-escritura {
      opacity: 0;
      animation: escritura 2s forwards;
    }
    
    @keyframes escritura {
      0% {
        opacity: 0;
        transform: translateY(100%);
      }
      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
 .card {
      background-color: #fff;
      border: 1px solid #ddd;
      border-radius: 10px;
      padding: 20px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }


  /* -------------LOGIN-------------------- */
.login-logo {
  display: flex;
  justify-content: center; /* Centra horizontalmente */
  align-items: center;     /* Centra verticalmente */
}

.login-logo img {
  width: 200px;
  height: 100px;
  object-fit: contain; /* Mantiene proporciones sin deformar */
}


/* ---------------------modal---------------------- */
.modal img {
  width: 100%;
  height: auto;
  object-fit: contain;
}


/* -----------------COLUMNAS---------------------- */
.columna3 {
  display: flex;
  flex-direction: column;
  width: 22%;
  padding: 5px;
  border: 1px solid #161414;
  background-color:#f0f0f0;
}

.columna3 .div {
  width: 100%;
  padding: 1px;
  border: 1px solid #ccc;
}

.botonsmall{
  background-color: transparent;
  color: #fff;
  padding: 2px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  border: 1px solid #ddd; /* Borde */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombra */
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.botonsmall:hover {
  background-color: #337ab7;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra más intensa al pasar el mouse */
}


.logInForm30 {
  background-color: rgba(0, 0, 0, 0.7); /* Negro con 70% de opacidad */
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  color: #fff; /* Texto blanco para contraste */

  }

/* MENU NAV */
/* SOLO móvil */
@media (max-width: 991.98px) {
  #navbarResponsive {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    width: 100%;
  }

  #navbarResponsive.activo {
    max-height: 300px;
  }
}

/* Escritorio */
@media (min-width: 992px) {
  #navbarResponsive {
    max-height: none !important;
    overflow: visible !important;
    display: flex !important;
  }

  #btnMenu {
    display: none;
  }
}

/* Contenedor */
.captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Fondo del contenedor */
.captcha-image {
    background: #0f172a; /* coherente con bgColor */
    padding: 6px;
    border-radius: 6px;
    border: 1px solid #1e293b;
    color: #000;
}

/* Imagen interna */
.captcha-image img {

    border-radius: 4px;
        display: flex;
    justify-content: center;
}

/* Botón recargar */
.captcha-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s ease;
}

.captcha-btn:hover {
    background: #1d4ed8;
}

/* Input */
.captcha-input {
    margin-top: 8px;
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #334155;
    background: #f8fafc;
    font-size: 14px;
}

/* Label */
.captcha-label {
    font-weight: 600;
    font-size: 13px;
    color: #334155;
}


.link-institucional {
    color: #1e3a8a;
    position: relative;
}

.link-institucional::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background-color: #1e3a8a;
    transition: width 0.3s ease;
}

.link-institucional:hover::after {
    width: 100%;
}

.page-link {
    color: #1d4ed8; /* azul más oscuro */
    background-color: #ffffff;
    font-weight: 500;
}

.footer-version {
    color: #475569; /* gris oscuro */
    font-size: 0.85rem;
}