/*Organigrama*/
.card { 
    background: linear-gradient(180deg,#ffffff,#f7f8fa); 
    border-radius:12px; 
    box-shadow: 0 6px 18px rgba(18,22,28,0.08); 
    padding:12px; 
    width: -webkit-fill-available;
}

.titulo-org {
    text-align: center;
    margin: 15px 0;
    font-size: 26px;
    font-weight: bold;
    color: #0b3b66;
    letter-spacing: 1px;
}
  
#toolbar { 
    display:flex; 
    flex-wrap: wrap;
    gap:8px; 
    margin-bottom:10px; 
    align-items:center; 
}
.modalButtons button,
#toolbar button{
    background:#0b3b66; 
    color:white; 
    border:none; 
    padding:8px 12px; 
    border-radius:8px; 
    cursor:pointer;
}
.modalButtons button.ghost,
#toolbar button.ghost{
    background:transparent; 
    color:#0b3b66; 
    border:1px solid #d0d6dd;
}

#myDiagramDiv { 
    width:100%; 
    height:75vh; 
    border-radius:10px; 
    overflow:hidden; 
    background:#fff; 
    border:1px solid #e6eef8;
}

.input_field { 
    width:100%; 
    padding:8px; 
    margin-bottom:10px; 
    border:1px solid #cdd6e1; 
    border-radius:6px;
}

#edit_nombre,
#edit_puesto,
#new_nombre,
#new_puesto{
    text-transform: uppercase;
}

.swal2-container {
    z-index: 99999 !important;
}

/*QR seccion vacantes*/
.seccion-qr-vacantes {
    background: linear-gradient(135deg, #f0f4ff, #ffffff);
    border-radius: 10px;
    padding: 30px 25px;
    margin: 15px auto;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    animation: aparecer 0.8s ease-out;
}

/* 🎯 Título con animación */
.titulo-animado {
    font-size: 22px;
    font-weight: 800;
    color: #1f3c88;
    margin-bottom: 15px;
    animation: pulso 2.5s infinite;
}

/* Texto principal */
.descripcion {
    font-size: larger;
    color: #444;
    margin-bottom: 20px;
}

/* 🧩 Marco del QR */
.qr-marco {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(31, 60, 136, 0.25);
    margin: 20px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qr-marco:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(31, 60, 136, 0.35);
}

.qr-marco img {
    width: 220px;
    height: auto;
}

/* Texto respaldo */
.respaldo-texto {
    font-size: larger;
    margin-top: 10px;
    color: #333;
}

/* 🔘 Botón */
.boton-vacantes {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 22px;
    background: linear-gradient(135deg, #1f3c88, #3f6ad8);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.boton-vacantes:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(63, 106, 216, 0.5);
}

/* Nota */
.nota {
    margin-top: 20px;
    font-size: smaller;
    color: #666;
}

/* 🎞 Animaciones */
@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulso {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1);
    }
}
  /* Modal overlay always on top */
.modalOverlay { 
    position:fixed; 
    inset:0; 
    display:none; 
    justify-content:center; 
    align-items:center; 
    background: rgba(0,0,0,0.5); 
    z-index:99999; 
}
.modalCard { 
    width:380px; 
    background:white; 
    padding:18px; 
    border-radius:10px; 
    box-shadow:0 10px 30px rgba(0,0,0,0.2); 
}
.modalCard label { 
    font-weight:600; 
    margin-top:8px; 
    display:block;
}
/*Back*/
.back-section {
    position: fixed;
    top: 12%;
    left: 2%;
    z-index: 1000;
}

.back-btn {
    width: 42px;
    height: 42px;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.back-btn:hover {
    transform: scale(1.1);
    opacity: 0.8;
}
/*extensiones*/
.modal_extensiones {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal_extensiones__contenido {
    background: #fff;
    width: 90%;
    max-width: 800px;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal_extensiones__cerrar {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
}

.modal_extensiones__titulo{
    margin-bottom: 1%;
}

.modal_extensiones__contenido form{
    display: flex;
    flex-direction: column;
    width: 80%;
    margin: 5px;
}

.input-bloqueado{
    background:#f3f3f3;
    border:1px solid #ccc;
    color:#555;
    cursor:not-allowed;
}

/*KPIS*/
.body_kpi_op{
    display: flex; 
    flex-direction: column; 
    font-family: Arial, sans-serif; 
    background-color: ghostwhite;
}
.marquilla_kpis {
    color: #0077b6;
    grid-column: 1 / -1;
    padding: 40px 20px;
    text-align: center;
    background: #e0f2fe;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    width: 95%;
    margin-top: 2%;
    text-transform: uppercase;
}
.body-kpis {
  font-family: Arial, sans-serif;
  background-color: ghostwhite;
  margin: 0;
  padding-bottom: calc(6vh + 5px);
  padding-top: calc(6vh + 55px);
  display: flex;
  flex-direction: column;
  align-content: center;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  height: auto; /* Altura se adapta al contenido */
}

.new_kpi{
    display: flex;
    justify-content: left;
    gap: 10px;
    width: 70%;
    margin-bottom: 5px;
}

.kpis__buscador{
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 10px;
    width: 75%;
    flex-wrap: nowrap;
}

.div-kpis__buscador{
    display: flex;
    align-items: center;
    width: 80%;
    gap: 10px;
}

.hr-kpis{
    display: block;
    margin-block-start: 0.5em;
    margin-block-end: 0.5em;
    margin-inline-start: auto;
    margin-inline-end: auto;
    color: #1e1a1a;
    unicode-bidi: isolate;
    overflow: hidden;
    border-style: inset;
    border-width: 2px;
    width: 90%;
}

.contactos__boton--crear--kpi {
    display: inline-block;
    margin-bottom: 10px;
    background-color: #2591e9;
    text-align: center;
    color: white;
    width: auto;
    padding: 10px 16px;
    text-decoration: none;
    font-size: 1em;
    border-radius: 4px;
    border: none;
    font-weight: bold;
}

.modal--kpi{
    display: none;
    position: fixed;
    top: 12%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    background: white;
    border: 1px solid #ccc;
    z-index: 1000;
    overflow: auto;
    max-height: 66%;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}
.div--kpi{
    background: #fff;
    max-width: 640px;
    margin: 3% auto;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 26px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #e74c3c;
}

.div_correo_kpis_options{
    margin:10px 0
}

.form_correo_kpis{
    width: min-content;
}

.kpi__tabla{
    width: 75%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 0% 2% 0% 2%;
}

/*carousel*/
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  display: flex;
  align-items: center; /* centra verticalmente los botones */
  width: 100%;
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.carousel-item {
  flex: 0 0 100%;
  max-width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Overlay correcto */
.carousel-item::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2; /* overlay arriba del video */
}

.carousel-item video {
  width: 100%;
  max-height: 590px;
  z-index: 1; /* video debajo del overlay */
  display: block;
}

/* Botones a los costados */
.carousel-prev,
.carousel-next {
  position: absolute;
  background-color: transparent;
  border: none;
  color: #fff;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}
.carousel-prev { 
    left: 10px; 
    transform: scaleX(-1);
}
.carousel-next { right: 10px; }

/* Responsive */
@media(max-width: 600px) {
  .carousel-item { flex: 0 0 100%; }
  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* =================== MODAL DEVOLUCIÓN =================== */
#modalDevolver .modal-content {
    border-radius: 1rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    border: none;
    width: 50%;
    overflow: hidden;
}

#modalDevolver .modal-header {
    color: #212529;
    font-weight: 600;
    padding: 0rem 1.25rem;
    display: flex;
    flex-direction: row-reverse;
    width: -webkit-fill-available;
    justify-content: space-between;
}

#modalDevolver .modal-title {
    font-size: 1.25rem;
    flex: auto;
}

#modalDevolver .modal-body {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    color: #495057;
}

#modalDevolver .modal-body .mb-3 {
    display: flex;
    flex-direction: column;
}

#modalDevolver textarea.form-control {
    border-radius: 0.5rem;
    border: 1px solid #2591e9;
    padding: 0.5rem;
    font-size: 0.95rem;
    resize: vertical;
    transition: border-color 0.2s;
}

#modalDevolver textarea.form-control:focus {
    border: 1px solid #2591e9;
    box-shadow: 0 0 0 0.2rem rgba(255,193,7,0.25);
}

#modalDevolver .modal-footer {
    padding: 0.75rem 1.5rem;
    background-color: #f8f9fa;
    border-top: none;
    justify-content: flex-end;
}

#modalDevolver .btn-warning {
    font-weight: 600;
    border-radius: 0.5rem;
    transition: background-color 0.2s, transform 0.1s;
}

#modalDevolver .btn-warning:hover {
    background-color: #36BFB1;
    transform: translateY(-1px);
}

#modalDevolver .text-muted {
    font-size: 0.85rem;
}

.historial-container {
    max-height: 220px; /* Ajustable para mostrar ~5 filas */
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 5px;
}

#modalBitacora .modal-content {
    margin: 5% auto;
    border-radius: 1rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    border: none;
}

/* (Opcional) Para que la tabla siga viéndose bien */
#modalBitacora h2{
    text-align: center;
    margin-top: 1%;
}

#modalBitacora p{
    margin: 1%;
}

#historialBitacora {
    width: 100%;
    border-collapse: collapse;
}

#historialBitacora th,
#historialBitacora td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

#formBitacora{
    display: flex;
    flex-direction: column;
    width: -webkit-fill-available;
    justify-content: center;
    align-items: center;
}

#formBitacora textarea{
    flex: 1;
    padding: 8px 10px;
    width: 100%;
    border: 1px solid #2591e9;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#historialBitacora thead tr th{
    background-color: #0b2070;
    color: white;
}
.optionsBitacora{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 50%;
    margin-bottom: 15px;
}

.optionsBitacora label, select{
    margin-bottom: 8px;
}

#piezasRemovibles{
    display: block;
    width: 50%;
}
.me-1{
    margin: 2px;
}

.title_firmas{
    margin-bottom: 1.5rem!important;
    text-align: center;
    font-weight: bolder;
}

.firmar_responsiva{
    width: 80%;
}

.firma_pdf{
    display: flex;
    flex-direction: column;
}

.firma_options{
    display: flex;
    justify-content: space-evenly;
}

.canva_firma{
    width: 400px;
    flex: 1;
    border: 1px solid #2591e9;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contactos__boton--firmar {
    background-color: #3BB2BF;
    color: #ffffff;
    font-size: auto;
    font-weight: 550;
    text-decoration: none;
    padding: 5px;
    border-color: #3BB2BF;
    width: auto;
    border-radius: 10px;
    height: 80%;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
    width: 30%;
}

.contactos__boton--firmar:hover {
    background-color: #5da6e2;
}

.products_options{
    display: flex;
}

.btn_add{
    margin-right: 5px;
} 
/* -------------Wait page--------------*/
.body_wait {
  margin: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #3bc6bf 28%, #3bb2bf 58%);
  color: #ffffffff;
  font-family: Arial, sans-serif;
  text-align: center;
}
.wait_text {
  font-size: 3rem;
  animation: parpadeo 1.5s infinite;
  margin-bottom: 20px;
}
.wait_img {
  max-width: 250px;
  height: auto;
}
@keyframes parpadeo {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
/* ================== SALA DE JUNTAS ================== */
.sala-juntas-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #118895 30%, rgba(63,114,201,0) 100%);
  padding: 20px;
}

.sala-juntas-section_text{
    display: flex;
}

/* Imagen con altura similar al video */
.sala-juntas-imagen {
  max-width: 200px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.sala-juntas-imagen img {
  max-height: 300px;
  width: auto;
}

/* Texto */
.sala-juntas-texto {
  flex: 1;
  color: white;
  padding: 20px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sala-juntas-texto p{
    margin-bottom: 20px;
    font-size: larger;
}

/* Globo de diálogo */
.globo-dialogo {
  background: #3bb2bf;
  color: white;
  padding: 15px 20px;
  border-radius: 15px;
  position: relative;
  max-width: 400px;
  margin-bottom: 15px;
}
.globo-dialogo::after {
  content: "";
  position: absolute;
  left: -20px; /* cambia según la posición del personaje */
  top: 20px;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-right: 20px solid #3bb2bf; /* color igual al fondo */
}

/* Video */
.sala-juntas-video {
  width: 100%;
  max-width: 50%;
  margin: 10px;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.15);
  border-radius: 8px;
}

.manual-actions-sala {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
}

/* Responsivo */
@media (max-width: 1030px) {
  .sala-juntas-section {
    flex-direction: column;
    align-items: center;   /* Centra todo horizontalmente */
    text-align: center;
    gap: 5px;              /* Espacio de 5px entre hijos directos (imagen, texto, video) */
  }

  .sala-juntas-section_text {
    width: auto;
  }

  .sala-juntas-texto {
    width: auto;
    text-align: left;
  }

  .sala-juntas-texto p {
    text-align: left;
    margin-left: 0;  /* Quitamos márgenes forzados */
  }

  .sala-juntas-imagen {
    max-width: 150px;
    margin: 0 auto;   /* Centrada */
  }

  .globo-dialogo {
    margin: 0 15px;
  }

  .sala-juntas-video {
    max-width: 100%;
  }

  .manual-actions-sala {
    margin-left: 0;   /* Sin desplazamiento lateral */
  }
}

/* ================== AGREGAR PRODUCTO ================== */
#add_contact{
    margin-top: 5px;
}
.productos_div{
    width: 80%;
}

.inventario_form{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.buscador-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    flex-direction: row;
    width: 75%;
    align-items: center;
    justify-content: center;
}

#date_range {
    width: auto;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    background-color: #f9f9f9;   /* fondo del input */
    color: #333;
    border: 1px solid #2591e9;
    transition: border-color 0.3s;
}

.daterangepicker .calendar-table th{
    background-color: #3BB2BF;
    color: white;
}

.daterangepicker .calendar-table th,
.daterangepicker .calendar-table td{
    white-space: nowrap;
    text-align: center;
    vertical-align: middle;
    min-width: 32px;
    width: 32px;
    height: 24px;
    line-height: 24px;
    font-size: 12px;
    border-radius: 0px;
    border: 1px solid transparent;
    white-space: nowrap;
    cursor: pointer;
}

.daterangepicker select.monthselect{
    margin-right: 2%;
    width: 65%;
    border-radius: 6px;
    border: 1px solid #2591e9;
    font-size: larger;
}

.daterangepicker select.yearselect{
    margin-right: 2%;
    width: 39%;
    border-radius: 6px;
    border: 1px solid #2591e9;
    font-size: larger;
}

.daterangepicker .drp-buttons .btn-primary {
    margin-left: 8px;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
    background-color: #3BB2BF;
    color: #ffffff;
    font-size: auto;
    font-weight: 550;
    padding: 5px;
    border-color: #3BB2BF;
    width: auto;
    border-radius: 7px
}

.daterangepicker .drp-buttons .btn-default {
    margin-left: 8px;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
    background-color: #c0203b;
    color: #ffffff;
    font-size: auto;
    font-weight: 550;
    padding: 5px;
    border-color: #c0203b;
    width: auto;
    border-radius: 7px
}
.daterangepicker .drp-selected{
    display: inline-block;
    padding-right: 2%;
    font-size: 12px;
    color: blue;
    font-weight: 600;   
}

.daterangepicker .calendar-table .next span,
.daterangepicker .calendar-table .prev span{
    color: #fff;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    border-radius: 0;
    display: inline-block;
    padding: 3px;
}

.daterangepicker td.available:hover, 
.daterangepicker th.available:hover{
    background-color: var(--accent);
    border-color: transparent;
    color: inherit;
}
.table_page{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 85%;
    height: auto;
    align-items: center;
}

.productos_div .contactos__tabla thead .contactos__fila--cabecera th{
    background-color: #0b2070;
}

#productForm{
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

.add_product {
    display: none;
    position: fixed;
    top: 12%;
    left: 50%;
    transform: translateX(-50%); /* Centra horizontalmente */
    width: max-content;
    background: white;
    padding: 20px;
    border: 1px solid #ccc;
    z-index: 1000;
    overflow: auto;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.close_product{
    float:right; 
    background:#e74c3c; 
    color:white; 
    border:none; 
    padding:5px 10px; 
    cursor:pointer; 
    border-radius:5px;
}

/* Estilos del input de archivos */
input[type="file"].custom-file-input-products {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.custom-file-input-wrapper-products {
    position: relative;
    display: inline-block;
}

.custom-file-input-wrapper-products::before {
    content: 'Seleccionar archivos';
    display: inline-block;
    background-color: #3ac0b3;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    z-index: 1;
}

.custom-file-input-wrapper-products:hover::before {
    background-color: #B3F2EC;
    color: #666;
}

.custom-file-input-wrapper-products .file-name-products {
    display: inline-block;
    padding-left: 10px;
    font-size: 14px;
    color: #666;
    margin-left: 10px;
    font-style: italic;
}
/* === CONTENEDOR GENERAL DEL FORMULARIO === */
.form_product {
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: 'Poppins', sans-serif;
    max-width: 800px;
}

/* === LABEL GENERAL === */
.form_product label {
    font-weight: 600;
    color: #333;
}

/* === PRIMER CAMPO: SELECT FIJO ARRIBA === */
#tipo_producto,
#tipoRegistro {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #2591e9;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

#tipo_producto:focus {
    border-color: #3ac0b3;
    box-shadow: 0 0 0 3px rgba(58,192,179,0.2);
}

/* === CONTENEDOR DE DOS COLUMNAS === */
.form_fields_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 25px;
    margin: 20px 0px;
}

/* === CAMPOS (divs) EN FILA label + input === */
.form_fields_grid > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* === INPUTS, TEXTAREA Y SELECTS DENTRO DE GRID === */
.form_fields_grid input[type="text"],
.form_fields_grid input[type="number"],
.form_fields_grid select,
.form_fields_grid textarea {
    flex: 1;
    padding: 8px 10px;
    width: 100%;
    border: 1px solid #2591e9;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form_fields_grid input:focus,
.form_fields_grid textarea:focus {
    border-color: #3ac0b3;
    box-shadow: 0 0 0 3px rgba(58,192,179,0.2);
}

/* === CHECKBOXES === */
.form_product input[type="checkbox"] {
    accent-color: #3ac0b3;
    transform: scale(1.2);
    margin-left: 10px;
}
#campo_imei,#campo_almacenamiento{
    flex-direction: row;
}
/* === TEXTAREA === */
#campo_observaciones {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
}

/* === FOTOS TAMBIÉN EN TODA LA FILA === */
#campo_fotos{
    grid-column: 1 / -1; /* sigue ocupando toda la fila */
    display: flex;
    align-items: center;
    gap: 15px; /* espacio entre label e input */
    justify-content: flex-start; /* alineado a la izquierda */
}

.preview-fotos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.preview-fotos img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid #ccc;
    transition: transform 0.2s;
}

.preview-fotos img:hover {
    transform: scale(1.1);
}

#campo_cargador,
#campo_cable{
    grid-column: 1 / -1; /* sigue ocupando toda la fila */
    display: flex;
    align-items: center;
    justify-content: flex-start; /* alineado a la izquierda */
}

/* === BOTÓN CENTRADO === */
.form_product button[type="submit"] {
    align-self: center;
    margin-top: 20px;
}

/* === RESPONSIVO (pantallas pequeñas) === */
@media (min-width: 701px) {
    .contactos__tabla_product {
        width: 94%;
        border-collapse: collapse;
        background-color: white;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        margin-bottom: 1%;
    }
}
@media (max-width: 700px) {
    .form_fields_grid {
        grid-template-columns: 1fr;
    }
    .form_fields_grid > div {
        flex-direction: column;
        align-items: stretch;
    }
     #campo_fotos {
        flex-direction: column;
        align-items: stretch;
    }
    #campo_cargador,
    #campo_cable{
        display: flex;
        flex-direction: row;
    }
    #campo_observaciones {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    }
    
    .contactos__tabla_product {
        width: 94%;
        border-collapse: collapse;
        margin-bottom: 1%;
    }
    
}

@media (max-width: 886px) {
    .contactos__tabla_product .contactos__fila--cabecera{
        display: none;
    }
}

/* ================== MISIÓN Y VISIÓN ================== */
.mision-vision {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 5px 20px;
  background: #fff;
}

.mision-vision .card {
  flex: 1 1 300px;
  background: #f9f9f9;
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 13px 22px rgba(0,0,0,0.1);
  text-align: center;
}

.card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}

.card h3::after {
  content: "";
  display: block;
  width: calc(100% + 6ch);   /* ancho del texto + 3ch a cada lado */
  height: 4px;
  background-color: #007BFF; /* azul */
  margin-top: 6px;
  border-radius: 2px;
  position: relative;
  left: -3ch;                /* mueve 3 caracteres hacia la izquierda */
}

.mision-vision .card p {
  font-size: 1rem;
  line-height: 1.6;
  text-align: justify;
}

/* ================== RESPONSIVE ================== */
@media(max-width: 600px) {
  .carousel-item { 
      flex: 0 0 100%; 
        width: auto;
  }
   .carousel-control-prev,
  .carousel-control-next {
    top: 45%; /* si quieres ajustar la posición vertical */
    width: 35px;
    height: 35px;
  }
  .mision-vision { flex-direction: column; }
}

.values-center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  text-align: center;
}

.values-image img {
  max-width: 200px;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.values-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  position: relative; /* necesario para tooltip */
}

.values-strip p {
  margin: 0;
  font-size: 18px;
  color: #000;
}

/* Tooltip con ::after */
.values-strip::after {
  content: attr(data-desc);
  position: absolute;
  left: 110%; /* aparece al costado derecho */
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: #333;
  padding: 10px 15px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  width: 250px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  text-align: left;
  font-size: 14px;
  z-index: 10;
}

/* Flecha del tooltip */
.values-strip::before {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-right: none;
  border-left-color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 11;
}

/* Mostrar tooltip al hover */
.values-strip:hover::after,
.values-strip:hover::before {
  opacity: 1;
}
/* Reseteo de márgenes y padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: ghostwhite;
}

.h3_title{
    margin-top: 8%;
}
h3 {
    margin-top: 20px;
}
footer {
    background-color: #3BB2BF;
    color: white;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 6%;
    text-align: center;
    z-index: 1000; 
}

.body_index { 
    display: flex; 
    flex-direction: column; 
    min-height: 134vh; 
    font-family: Arial, sans-serif; 
    background-color: ghostwhite;
}

/* Cinta de valores */
.values-section {
  text-align: center;
  padding: 20px 20px;
}

.values-header h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.values-center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  text-align: center;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.values-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  position: relative; /* necesario para tooltip */
}

.values-strip p {
  margin: 0;
  font-size: 18px;
  color: #000;
}

/* Tooltip con ::after */
.values-strip::after {
  content: attr(data-desc);
  position: absolute;
  left: 110%; /* aparece al costado derecho */
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: #333;
  padding: 10px 15px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  width: 250px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  text-align: justify;
  font-size: 14px;
  z-index: 10;
}

/* Flecha del tooltip */
.values-strip::before {
  content: "";
  position: absolute;
  left: 90%;
  top: 50%;
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-right: none;
  border-left-color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 11;
}

/* Mostrar tooltip al hover */
.values-strip:hover::after,
.values-strip:hover::before {
  opacity: 1;
}

.values-image img {
  width: 270px; /* ajusta tamaño según tu diseño */
  height: 270px;
  object-fit: contain;
}

@media(max-width: 1000px){
    .values-strip:after{
      left: -20%;
  }
}
@media (max-width: 768px) {
  .values-container {
    flex-direction: column;
    text-align: center;
  }

  .tooltip {
    position: static;
    opacity: 1;       /* siempre visible */
    transform: none;
    margin-top: 5px;
    white-space: normal;
    box-shadow: none;
    background: transparent;
    padding: 0;
    font-size: 14px;
    color: #555;
  }

  .value-item:hover .tooltip {
    opacity: 1; /* ya no depende del hover */
  }
}

/* Línea decorativa arriba de cada tarjeta */
.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: currentColor;
  opacity: 0.2;
}

@media (min-width: 768px){
    .values-strip { justify-content: center; }
    .value-card { min-width: 120px; font-size: 0.95rem; }
    .value-card { min-width: 100px; }
    .value-card p { font-size: 0.85rem; }
}

/*index*/
.evaluation_div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: -webkit-fill-available;
    margin-top: 75px;
}

.title_h3{
    margin-top: 20px;
    text-align: center;
    font-size: x-large;
    font-weight: 600;
    color: #1e3a8a;
}

@media (max-width: 783px){
    .evaluation{
        display: flex;
        flex-direction: column;
        gap: 0px;
        margin-top: 0px;
        margin-bottom: 25px;
        align-items: center;
    }
    
    .values-strip{
        display:flex;
        flex-direction: column;
    }
}

.evaluation{
    display: flex; 
    gap: 10px; 
    justify-content: center;
    width: -webkit-fill-available;
}

.evaluation_buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 45vw;               /* Escala según ancho de pantalla */
    aspect-ratio: 1 / 1;       /* Mantiene el círculo siempre cuadrado */
    max-width: 300px;          /* Límite máximo */
    max-height: 300px;
    color: #0b2070;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin: 25px;
    border-radius: 50%; 
    background-color: white;
    box-shadow: 2px 2px 11px rgb(0 0 0 / 20%);
    transition: transform 0.2s ease-in-out;
}


/* Efecto al pasar el mouse */
.evaluation_buttons:hover {
    transform: scale(1.1);
    box-shadow: 0px 0px 15px rgba(116, 186, 214, 0.7); /* Luz azul alrededor */
}

.evaluation_buttons img {
    width: 90%;
    height: 25%;
    margin-bottom: 5px;
}

.evaluation_buttons .logos {
    width: 90%;
    height: 45%;
    margin-bottom: 5px;
}

/*docuemntacion*/
.body-documents {
  font-family: Arial, sans-serif;
  background: #f5f9fc;
  margin: 0;
  padding: 20px;
  padding-bottom: calc(6vh + 20px);
  padding-top: calc(8vh + 11px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  height: auto; /* Altura se adapta al contenido */
  background-color: ghostwhite;
}

.container_document {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 20px;
  height: min-content;
}

.container_organigrams_admin {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 20px;
  height: min-content;
}

.marquilla_documentacion {
  color: #0077b6;
  grid-column: 1 / -1;
  padding: 40px 20px;
  text-align: center;
  background: #e0f2fe; /* Fondo suave azul claro */
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* Sombra ligera */
}

.marquilla_documentacion h1 {
  margin: 0;
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
}

.marquilla_documentacion p {
  margin: 10px 0 0;
  font-size: 18px;
  color: #023e8a;
}

.access_container {
  grid-column: span 1; /* ocupa solo una columna */
  text-align: center;
  align-self: center;  /* centra verticalmente dentro de su celda */
}

.card_document {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 0px 2px rgb(12 10 10 / 13%);
  padding: 15px;
  text-align: center;
  transition: transform 0.2s;
}

.card_document:hover {
  transform: translateY(-5px);
}

.card_document img {
  max-width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
}

.card_document h3 {
  margin: 10px 0 5px;
  font-size: 20px;
  color: #023e8a;
}

.card_document p {
  font-size: 14px;
  color: #555;
}

.card_document a {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 15px;
  background: #007BFF;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s;
}

.card_document a:hover {
  background: #0056b3;
}

.access_container {
  grid-column: 1 / -1; /* Ocupa todo el ancho del grid */
  text-align: center; 
  margin-top: 10px; 
}

.access_button {
  display: inline-block; 
  padding: 12px 24px; 
  background: linear-gradient(to right, #007bff, #0056b3); 
  color: #fff; 
  font-weight: bold; 
  text-decoration: none; 
  border-radius: 8px; 
  box-shadow: 0 4px 6px rgba(0,0,0,0.2); 
  transition: background 0.3s ease;
}

.access_button:hover {
  background: #004085;
}

.body-documents {
  padding-bottom: 40px; /* más seguro en lugar de calc() */
}

/* CONTENEDOR PRINCIPAL DE VIDEOS */
.main-container-videos {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columnas */
  grid-auto-rows: 1fr; /* filas iguales por defecto */
  gap: 20px;
  padding: 20px;
  padding-bottom: calc(6vh + 20px);
  background: #f5f9fc;
  min-height: 100vh;
  box-sizing: border-box;
}

/* Primer video destacado */
.main-container-videos .video-card:first-child {
  grid-row: span 2; /* ocupa la altura de dos filas */
  max-width: 100%;
  margin-bottom: 25px;
}

.left-column{
    justify-content: center;
    display: flex;
    width: -webkit-fill-available;
}

/* TARJETAS DE VIDEO */
.video-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

/* TITULO */
.video-card h2 {
  margin-bottom: 10px;
  color: #023e8a;
  font-size: 1.2rem;
}

/* VIDEO */
.video-card video,
.video-card iframe {
  width: 100%;
  height: 100%; /* ocupa toda la tarjeta */
  border-radius: 10px;
  object-fit: cover;
  max-height: none; /* permitimos que crezca en tarjetas grandes */
}

/* BOTON DE DESCARGA */
.video-card .btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #3BB2BF;
  color: white;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.video-card .btn-download:hover {
  background: #33a0a5;
}

.video-card-geo {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  padding: 10px;
  width: 100%;
  max-width: 560px;
  box-sizing: border-box;
  text-align: center;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* proporción 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}

/* RESPONSIVE */

/* Pantallas medianas: 1 columna */
@media (max-width: 900px) {
  .main-container-videos {
    grid-template-columns: 1fr;
  }
  .main-container-videos .video-card:first-child {
    grid-row: auto; /* no ocupa dos filas en móvil */
  }
  .video-card {
    max-width: 100%;
  }
  
    .video-container{
        grid-template-columns: 1fr;
    }
}

/* Móviles */
@media (max-width: 480px) {
  .video-card h2 {
    font-size: 1rem;
  }
  .video-card .btn-download {
    font-size: 0.85rem;
    padding: 8px 12px;
  }
}

/*productos*/
.body-productos {
  font-family: Arial, sans-serif;
  background-color: ghostwhite;
  margin: 0;
  flex-direction: column;
  padding-bottom: calc(6vh + 20px);
  padding-top: calc(6vh + 55px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  height: auto; /* Altura se adapta al contenido */
  align-items: center;
}

/*infografias*/
:root {
      --accent: #0096c7;
      --accent-dark: #0077b6;
    }

.body-infografias {
  font-family: Arial, sans-serif;
  background-color: ghostwhite;
  margin: 0;
  padding: 20px;
  padding-bottom: calc(6vh + 20px);
  padding-top: calc(6vh + 55px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  height: auto; /* Altura se adapta al contenido */
}

.contenedor-infografias {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(356px, 1fr)); 
  gap: 20px;
  align-items: stretch; /* 🔑 todas las tarjetas se estiran a la misma altura */
  width: 90%;
}

.info-card-infografias {
  display: flex;
  flex-direction: column;
  align-items: center; /* centra todo */
  gap: 10px; /* controla el espacio entre imagen y botón */
}

.info-card-infografias img:not([src$="descargar.png"]) {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;

  /* Efecto de precarga */
  background-color: #e0e0e0; /* Silueta gris */
  opacity: 0; /* Oculto al inicio */
  transition: opacity 0.4s ease;
}

.info-card-infografias img.loaded {
  opacity: 1; /* Aparece suavemente cuando cargue */
}

.btn-download-infografias {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #0077b6;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s;
}

.btn-download-infografias:hover {
  background: #023e8a;
}

.icono-btn {
  width: 18px;
  height: 18px;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;  /* centra horizontal */
  align-items: center;      /* centra vertical */
  z-index: 9999;
}

.lightbox .viewport {
  position: relative;
  overflow: hidden;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.zoom-img {
  max-width: 100%;
  max-height: 100%;
  transform-origin: center center; /* <-- importante */
  cursor: grab;
  transition: transform 0.2s ease;
}

.zooming .zoom-img { cursor: grabbing; }

/* Barra de controles flotante */
.toolbar {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  gap: 8px;
  background: rgba(0,0,0,0.5);
  padding: 8px;
  border-radius: 10px;
  backdrop-filter: blur(2px);
}
.tool-btn {
  border: 0;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  color: #fff;
  background: rgba(255,255,255,0.15);
  transition: background 0.2s ease, transform 0.05s ease;
}
.tool-btn:active { transform: scale(0.96); }
.tool-btn:hover { background: rgba(255,255,255,0.25); }

/* Indicador de zoom (opcional) */
.zoom-indicator {
  position: absolute;
  left: 14px;
  bottom: 14px;
  color: #fff;
  background: rgba(0,0,0,0.5);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
}

@media (max-width: 768px) {
  body { flex-direction: column; align-items: center; }
  .info-card-infografias { max-width: 100%; }
}
    
/*manuales*/
.manuals-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 30px auto;
  max-width: 1200px;
  padding: 0 15px;
}

.manual-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  padding: 20px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.manual-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}

.icon-manual {
  font-size: 2.2rem;
  color: #023e8a;
  margin-bottom: 12px;
}

.manual-card h3 {
  color: #023e8a;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.manual-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 15px;
}

.manual-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.btn-manual,
.btn-consultar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  background-color: #ea7100;
  color: white;
  transition: background 0.3s ease, transform 0.2s ease;
  font-size: 0.9rem;
}

.btn-consultar-producto {
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  font-size: 0.9rem;
}

.btn-manual {
  background: linear-gradient(135deg, #1f3c88, #3f6ad8);
  color: white;
}

.btn-manual:hover {
  background: linear-gradient(135deg, #1f3c88, #3f6ad8);
  transform: scale(1.05);
}

.btn-consultar {
  border: none;
}

.btn-consultar:hover {
  transform: scale(1.05);
}

.mini-foto{
    width:50px;
    height:50px;
    object-fit:cover;
    margin:2px;
    border-radius:5px;
    cursor:pointer;
}
.pdf-ficha-div{
    padding: 40px;
    font-family: Arial;
    line-height: 2;
}

.ficha-container {
    width: 100%;
    overflow-x: auto; /* scroll horizontal si el contenido es más ancho */
    -webkit-overflow-scrolling: touch; /* suaviza el scroll en móviles */
    padding-bottom: 10px; /* un pequeño espacio para el scroll */
}

/* Mantener el contenido en línea para scroll */
.ficha-inner {
    min-width: 600px; /* ancho mínimo que puede hacer scroll */
}

.title-ficha-table{
    text-align: center;
}

.ficha-table{
    width:100%; 
    border-collapse:collapse;
}

.ficha-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* dos columnas iguales */
  gap: 0px 20px; /* espacio entre filas y columnas */
  margin-top: 10px;
}

.ficha-item {
  display: flex;
  justify-content: space-between;
}

.ficha-fotos {
  grid-column: 1 / -1; /* ocupa todo el ancho */
  margin-top: 15px;
}

#ficha_fotos{
    display: flex;
  justify-content: center;
}

#ficha_fotos img {
  width: 30%;
  height: auto;
  margin-right: 5px;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

@media (min-width: 769px){
    #ficha_fotos img.vertical {
  width: 18%;
  height: auto;
  margin-right: 5px;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s ease;
}
}

#ficha_fotos img:hover {
  transform: scale(1.05);
}

.pdf-ficha-td{
    font-weight: bold;
    color: black;
    width: 33%;
}

@media (max-width: 768px) {
    .ficha-grid {
        grid-template-columns: 1fr; /* una columna */
    }
    
    .ficha-item {
        flex-direction: row;
        align-items: flex-start;
    }

    #ficha_fotos img {
        width: 30%; /* imágenes ocupan más espacio en móviles */
    }
    
    .title-ficha-table{
        font-size: large;
    }
    .pdf-ficha-td{
        width: 35%;
    }
    
    #ficha_fotos img.vertical {
      width: 15%;
      height: auto;
      margin-right: 5px;
      border-radius: 4px;
      cursor: pointer;
      transition: transform 0.2s ease;
    }
}

@media (max-width: 480px) {
    #ficha_fotos img {
        width: 80%; /* casi todo el ancho en móviles pequeños */
        margin: 5px 0;
    }

    .pdf-ficha-td {
        width: 100%; /* tablas también responsivas */
        display: block;
        margin-bottom: 5px;
    }
}
.pdf-close-ficha {
    color: #c0203b;
    float: right;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    margin: 15px;
}

.pdf-close-ficha:hover {
  color: #000;
}

/* MODAL */
.pdf-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
}

.pdf-modal-content {
  position: relative;
  margin: 5% auto;
  width: 90%;
  max-width: 900px;
  height: 80%;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.pdf-close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

#pdfViewer {
  width: 100%;
  height: 100%;
  border: none;
}

/* 📱 RESPONSIVE */
@media (max-width: 768px) {
  .manual-card {
    padding: 15px;
  }

  .manual-card h3 {
    font-size: 1rem;
  }

  .manual-card p {
    font-size: 0.85rem;
  }

  .btn-manual,
  .btn-consultar {
    flex: 1 1 100%;
    justify-content: center;
    font-size: 0.85rem;
    padding: 8px 12px;
  }
}

@media (max-width: 480px) {
  .manuals-container {
    grid-template-columns: 1fr;
  }

  .manual-card {
    padding: 12px;
  }

  .icon-manual {
    font-size: 1.8rem;
  }
}

.error{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.body_users {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    height: 110vh; /* Altura de la ventana */
    margin-top: 95px; /* Eliminar márgenes predeterminados */
    background-color: ghostwhite;
}

.process_csv_main{
    margin-top: calc(90px + 145vh);
    padding: 20px;
}

.reporte_thyssen_main{
    margin-top: calc(90px + 95vh);
    padding: 20px;
}

.evaluation_title{
    text-align: center;
}

.users_title{
    margin-bottom: 20px;
}

.users_create_button{
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1f3c88, #3f6ad8);
    color: white; 
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: block;
    width: max-content;
}
.users_create_button:hover{
    background: linear-gradient(135deg, #1f3c88, #3f6ad8);
}

.users_edit_button{
    background-color: #3ac0b3;
    color: white; 
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: block;
    margin: 5px 0 5px 10px;
}

.users_edit_button:hover{
    background-color: #B3F2EC;
}

.users_delete_button{
    background-color: #c0203b;
    color: white; 
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: block;
    margin: 5px 0 5px 10px;
}

.users_delete_button:hover{
    background-color: #e73d59f3;
}

.users_form_role{
    width: 100%;
    height: 30px;
    padding-left: 10px;
    border-radius: 10px;
    border: 1px solid #2591e9;
    margin-top: 10px;
    margin-bottom: 15px;
}

.users_table{
    width: -webkit-fill-available;
}

.users_form_input{
    padding: 3px;
}

.users_form_label{
    width: 17%;
}

.users_form_label2{
    width: 13%;
}

.hidden-option {
    display: none; /* Oculta la opción */
}

.users_form_create_btn{
    background: linear-gradient(135deg, #1f3c88, #3f6ad8);
    color: white; 
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: block;
    margin: 5px 0 10px 10px;
}

.users_form_create_btn:hover{
    background: linear-gradient(135deg, #1f3c88, #3f6ad8);
    color: white;
    transform: scale(1.05);
}

.users_form_reset_btn{
    background-color: #c0203b;
    color: white; 
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: block;
    margin: 5px 0 10px 10px;
}

.users_form_reset_btn:hover{
    background-color: #e73d59f3;
}

.users_form_btns{
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.container_users{
    width: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    margin-left: 10%;
    margin-right: 10%;
}

/* Estilos para la tabla y el modal */
.modal {
    display: none; /* Oculta el modal por defecto */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}
.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 85%;
    height: auto;
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.table_users{
    justify-content: center;
    width: -webkit-fill-available;
    align-items: center;
    border-collapse: collapse;
}

.table_users_td{
    border: 0.5px solid lightgray;
    padding: 4px;
    width: auto;
    text-align: center;
}

.table_users_title{
    background-color: #0b2070;
    color: white;
    text-align: center;
    font-size: 13px;
}
.users_buttons_option{
    display: flex;
    justify-content: center;
}
.users_form_title{
    margin-bottom: 20px;
}
.users_form{
    display: flex;
    flex-direction: column;
    width: auto;
    padding-left: 5%;
    padding-right: 5%;
}

.users_form input[type="text"],
.users_form input[type="password"] {
    border: none; /* Eliminar todos los bordes */
    border-bottom: 2px solid #ccc; /* Color del borde inferior por defecto */
    padding: 10px 0; /* Espaciado vertical */
    border-radius: 0; /* Sin redondeo en los bordes */
    transition: border-bottom-color 0.3s; /* Transición suave al cambiar el color */
    outline: none; /* Eliminar el contorno predeterminado */
    margin-bottom: 15px;
    margin-top: 2px;
    width: 100%;
}

.users_form input[type="text"]:hover,
.users_form input[type="password"]:hover {
    border-color: #007BFF; /* Color del borde al pasar el mouse */
}

.users_form input[type="text"]:focus,
.users_form input[type="password"]:focus {
    border-color: #0056b3; /* Color del borde al enfocar */
    outline: none; /* Eliminar el contorno predeterminado */
}

.error_login{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    color: red;
    text-align: justify;
    margin-top: 15px;
}

.body_login {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    height: auto;
    margin: 0;
    background: linear-gradient(135deg, 
        #0077b6,
        #0096c7,
        #00b4d8,
        #48CAE4,
        #3BCFBF
    );
    background-size: 400% 400%;
    animation: movimiento 10s ease infinite;
}

@keyframes movimiento {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.login-logo {
  display: flex;
  justify-content: center;
}

.login-logo img {
  width: 35%;
  margin-bottom: 1rem;
}

.login_form input[type="text"],
.login_form input[type="password"] {
    border: none; /* Eliminar todos los bordes */
    border-bottom: 2px solid #ccc; /* Color del borde inferior por defecto */
    padding: 10px 0; /* Espaciado vertical */
    border-radius: 0; /* Sin redondeo en los bordes */
    transition: border-bottom-color 0.3s; /* Transición suave al cambiar el color */
    outline: none; /* Eliminar el contorno predeterminado */
}

.login_form input[type="text"]:hover {
    border-color: #007BFF; /* Color del borde al pasar el mouse */
}

.login_form input[type="text"]:focus {
    border-color: #0056b3; /* Color del borde al enfocar */
    outline: none; /* Eliminar el contorno predeterminado */
}

.login_form input[type="password"]:hover {
    border-color: #007BFF; /* Color del borde al pasar el mouse */
}

.login_form input[type="password"]:focus {
    border-color: #0056b3; /* Color del borde al enfocar */
    outline: none; /* Eliminar el contorno predeterminado */
}
.container_login {
    display: flex;
    height: 450px;
    width: 65%;
    border-radius: 5px;
}

/* LADO IZQUIERDO */
.left_side {
    flex: 1;
    background: #fefefe;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    border-radius: 5px 0 0 5px;
}

.left_side h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.left_side p {
    font-size: 15px;
    color: #555;
    margin-bottom: 5px;
}

.left_side .gif_box video {
    width: 51%;
    max-width: 450px;
    border-radius: 0px;
    box-shadow: none;
}

.gif_box{
    display: flex;
    justify-content: center;
}
/* LADO DERECHO (FORMULARIO) */
.right_side {
    flex: 1;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0 5px 5px 0;
}

/* FORM */
.login {
    width: 80%;
    max-width: 380px;
}

/* INPUTS flotantes (ya configurados antes) */
.input_group {
    position: relative;
    margin-bottom: 25px;
}

.input_group input {
    width: 100%;
    border: none;
    border-bottom: 2px solid #ccc;
    padding: 10px 0;
    background: transparent;
    outline: none;
    font-size: 16px;
    transition: border-bottom-color 0.3s;
}

.input_group input:hover {
    border-bottom-color: #007BFF;
}

.input_group input:focus {
    border-bottom-color: #0056b3;
}

/* LABEL flotante */
.input_group label {
    position: absolute;
    left: 0;
    top: 10px;
    color: #777;
    transition: 0.3s ease;
    pointer-events: none;
}

.input_group input:focus + label,
.input_group input:not(:placeholder-shown) + label {
    top: -12px;
    font-size: 13px;
    color: #0056b3;
}

.input_group input::placeholder {
    color: transparent;
}

/* Botón mostrar contraseña */
.toggle_btn {
    position: absolute;
    right: 0;
    top: 8px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

/* BOTÓN LOGIN */
.right_side input[type="submit"] {
    width: 100%;
    background: #007BFF;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

.right_side input[type="submit"]:hover {
    background-color: #0056b3; /* Color más oscuro al pasar el mouse */
}

/* --- RESPONSIVE --- */

/* Para tablets y pantallas medianas */
@media (max-width: 992px) {
    .container_login {
        width: 70%;
        height: auto;
        flex-direction: row;
    }

    .left_side, .right_side {
        padding: 40px;
        flex: none;
        text-align: center;
    }
    
    .left_side{
        width: 50%;
    }
    
    .right_side{
        width: 60%;
    }

    .left_side h1 {
        font-size: 22px;
    }

    .left_side .gif_box video {
        width: 60%;
    }
}

/* Para celulares */
@media (max-width: 600px) {
    .container_login {
        width: 98%;
        flex-direction: column;
        display: flex;
        justify-content: center;
        align-items: center;
        height: auto;
        padding: 10px;
    }
    
    .left_side,.right_side{
        width: 75%;
    }
    
    .right_side{
        border-radius: 0 0 5px 5px;
    }

    .left_side {
        padding: 20px;
        text-align: center;
        border-radius: 5px 5px 0 0;
    }

    .left_side h1 {
        font-size: 20px;
    }

    .left_side p {
        font-size: 14px;
    }

    .left_side .gif_box video {
        width: 85%;
    }

    .login {
        width: 95%;
    }

    .input_group input {
        font-size: 14px;
    }

    input[type="submit"] {
        font-size: 14px;
        padding: 10px;
    }
}

/* Para pantallas muy grandes */
@media (min-width: 1400px) {
    .container_login {
        width: 55%;
        height: 500px;
    }

    .left_side h1 {
        font-size: 28px;
    }

    .left_side .gif_box video {
        width: 45%;
    }
}

.password-container_users {
    position: relative;
    display: inline-grid;
    width: 100%;
}

.password-container_users button {
    position: absolute;
    right: 10px;
    top: 35%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem; /* Ajusta según tus necesidades */
}

.password-container {
    position: relative;
    display: inline-grid;
}

.password-container button {
    position: absolute;
    right: 10px;
    top: 35%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem; /* Ajusta según tus necesidades */
}

.confirmationModal{
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.confirmationModal_div{
    background: #fff;
    padding: 20px;
    margin: 100px auto;
    width: 340px;
    text-align: center;
}
.confirmationModal_div p{
    margin-bottom: 25px;
}
main {
    padding-top: 60px;
    padding-bottom: 60px; 
    min-height: calc(100vh - 120px); 
    align-items: center;
    text-align: center;
    width: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.body {
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: ghostwhite;
}

/* Estilos básicos del menú */
.nav_bar, .nav_bar_right {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex; 
    align-items: center; 
}

.nav_bar_right img {
    width: 100px;
    height: 60px;
    margin-left: auto; /* Mueve el logo al lado derecho */
}

.nav_bar_element {
    margin-right: 15px;
    position: relative;      
    font-weight: 500;
}

.nav_bar_element .nav_bar_dropdown{
    background-color: transparent;
    border: none;
    color: white;
}

.nav_bar_element a {
    color: white; 
    text-decoration: none;
    text-align: justify;
    font-size: 12px;
    padding: 0px;
    display: block;
    text-transform: uppercase;
}

.table_repo_martes,
.table_repo_semanal {
    margin-top: 20px;
    margin-bottom: 20px;
}

.dropdown,
.sub-dropdown {
    display: none; /* Oculta el submenú por defecto */
    position: absolute;
    top: 100%; /* Posiciona el submenú justo debajo del elemento principal */
    left: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9; /* Fondo del submenú */
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2); /* Sombra del submenú */
    z-index: 1; /* Asegura que el submenú esté por encima de otros elementos */
}

.dropdown li,
.sub-dropdown-li {
    white-space: nowrap;
}

.dropdown li a,
.sub-dropdown-li a{
    padding: 10px 15px;
    color: #000;
    text-decoration: none;
    display: block;
}

.dropdown li a:hover,
.sub-dropdown-li a:hover {
    background-color: #36BFB1; 
    color: white;
}

/* Muestra el submenú cuando se pasa el cursor sobre el elemento principal */
.nav_bar_element:hover .dropdown {
    display: block;
}

.dropdown .especial:hover .sub-dropdown{
    display:block;
}


.nav_bar_element:last-child {
    margin-right: 0; 
}

.nav_bar_element:hover {
    background-color: #3BBFBF;
}

.permission_form{
    display: flex;
    align-items: center;
    flex-direction: column;
}
.permission_role{
    margin-top: 5px;
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.permission_role h2{
    margin-bottom: 2%;
}

.permission_form_role{
    width: 25%;
    height: 30px;
    padding-left: 10px;
    border-radius: 10px;
    border: 1px solid #2591e9;
    margin-top: 10px;
    margin-bottom: 15px;
}

.notification {
    display: none;
    background-color: #3BB2BF;
    color: white;
    padding: 15px;
    position: fixed;
    right: 20px;
    top: 25px;
    z-index: 1000;
    border-radius: 5px;
}

.permission_role_label{
    margin-right: 5px;
}

.checkbox-container {
    display: flex;
    flex-flow: wrap;
    max-width: -webkit-fill-available;
    margin: 15px 30px;
    justify-content: flex-start;
    width: auto;
}

.checkbox-item {
    width: 25%;
    box-sizing: border-box;
    padding: 10px;
}
.checkbox-container input[type="checkbox"] {
    border: 1px solid darkblue; /* Borde de color darkblue */
    padding: 5px; /* Espacio interior del checkbox */
    cursor: pointer; /* Cambia el cursor al pasar sobre el checkbox */
}

header {
    background: linear-gradient(135deg, #3BB2BF 28%, #3BCFBF 81%, #ffffffdc 89%);
    border-color: #3BB2BF;
    border-radius: 1px solid;
    color: #ffffff;
    font-weight: 500;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center; 
    padding: 8px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    text-align: center;
    z-index: 1000; 
}

/* Menú de sandwich */
.menu-toggle {
    display: none;
    background: #3BB2BF;
    color: white;
    border: none;
    font-size: 30px;
    cursor: pointer;
    padding: 10px;
}

.icon-container img {
    width: 2.5rem;
}

.icon-container{
    background-color: transparent;
    border: none;
    color: white;
}

/* Media Queries */
@media screen and (min-width: 801px){
.nav_bar_element .suministros{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.nav_bar_element .suministros img{
        margin-bottom: 10px;
    }
}
@media screen and (max-width: 800px) {
    .nav_bar {
        display: none; /* Oculta el menú en pantallas pequeñas */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px; /* Ajusta según el tamaño del botón de menú */
        left: 0;
        background-color: #333;
    }

    header {
        background: linear-gradient(135deg, #3BB2BF 24%, #3BCFBF 40%, #ffffffdc 77%);
    }
    
    .icon-container img {
        margin-right: 10px;
        width: 2.5rem;
    }
    
    .nav_bar_element .suministros{
        display: flex;
    }
    .nav_bar.active {
        display: flex;
        background-color: #3BB2BF;
        margin-top: 20px;
    }

    .menu-toggle {
        display: block;
        background-color: #3BB2BF;
    }
    
    .nav_bar{
        display:none;
        flex-direction:column;
        width:100%;
    }

    .nav_bar.active{
        display:flex;
    }
    
    .nav_bar_element .suministros img{
        margin-bottom: 10px;
    }

    .nav_bar_element {
        margin-right: 0;
        padding: 10px;
        width: -webkit-fill-available;
        display: flex;
        flex-direction: column;
    }

    .dropdown{
        position: relative;
        display: none;
        background-color: #333;
        box-shadow: none;
    }
    
    .sub-dropdown{
        position: relative;
        display: none;
        background-color: #333;
        box-shadow: none;
    }

    .dropdown li a {
        color: white;
        background-color: #3BB2BF;
        text-align: center;
    }

    .icon-container {
        position: relative;
        display: flex;
        cursor: pointer;
    }

    .nav_bar_dropdown{
        display: flex;
    }
    main {
        margin-top: 60px; /* Ajustar según la altura del header */
        margin-bottom: 40px; /* Ajustar según la altura del footer */
        padding: 20px;
    }
    
    .permission_role{
        width: 90%;
    }
    
    .permission_form_role{
        width: 50%;
    }
    
    .modal-content{
        margin: 32% auto;
    }
}

/* Estilos para la tabla */
.table {
    display: flex;
    width: 90%;
    max-width: 1180px;
    justify-content: center;
    margin: 20px;
}

.table-container {
    max-height: 320px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: fit-content;
}

.table-container-data thead{
    position: sticky;
    top: 0;
}

.table-container-data,
.table-container-data_horas{
    font-size: 14px;
    border-collapse: collapse;
}

.table-container-data_horas thead{
    position: sticky;
    top: 0;
}

.table_repo_td_horas{
    border: 0.5px solid lightgray;
    padding: 8px;
}

.table_repo_td{
    border: 0.5px solid lightgray;
    padding: 8px;
}

.repo-table-title{
    background-color: #0b2070;
    color: white;
    text-transform: uppercase;
    text-align: center;
    font-size: 13px;
}

th, td {
    border: none;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}

.table_repo_td_horas:nth-child(1),
.table_repo_td_horas:nth-child(2),
.table_repo_td_horas:nth-child(3),
.table_repo_td_horas:nth-child(4),
.table_repo_td_horas:nth-child(5),
.table_repo_td_horas:nth-child(6),
.table_repo_td_horas:nth-child(7),
.table_repo_td_horas:nth-child(8),
.table_repo_td_horas:nth-child(9),
.table_repo_td_horas:nth-child(10),
.table_repo_td_horas:nth-child(11),
.table_repo_td_horas:nth-child(12),
.table_repo_td:nth-child(1){
    border: 0.5px solid lightgray;
    padding: 8px;
    width: 10%;
    text-align: center;
}
.table_repo_td:nth-child(2){
    border: 0.5px solid lightgray;
    padding: 8px;
    width: 20%;
} 
.table_repo_td:nth-child(3),
.table_repo_td:nth-child(4),
.table_repo_td:nth-child(5),
.table_repo_td:nth-child(6),
.table_repo_td:nth-child(7),
.table_repo_td:nth-child(8),
.table_repo_td:nth-child(9),
.table_repo_td:nth-child(10),
.table_repo_td:nth-child(11),
.table_repo_td:nth-child(12),
.table_repo_td:nth-child(13),
.table_repo_td:nth-child(14),
.table_repo_td:nth-child(15){
    border: 0.5px solid lightgray;
    padding: 8px;
    width: 10%;
    text-align: center;
}
.table_repo_td:nth-child(16),
.table_repo_td:nth-child(18){
    border: 0.5px solid lightgray;
    padding: 8px;
    width: 20%;
}
.table_repo_td:nth-child(17){
    border: 0.5px solid lightgray;
    padding: 8px;
    width: 25%;
}
/* Media Queries para pantallas pequeñas */
@media (max-width: 677px) {
    .table{
        max-width: 667px;
        width: min-content;
        margin: 20px;
    }
    .table-container {
        width: 70%;
    }

    .search {
        width: 50%;
        margin-top: 20px;
        display: flex;
        flex-direction: column;
    }

    .search_text {
        width: 100%;
        height: 30px;
        padding-left: 10px;
        border-radius: 10px;
        border: 1px solid #2591e9;
        margin-bottom: 10px;
    }
    .search_select{
        width: 100%;
        height: 30px;
        padding-left: 10px;
        border-radius: 10px;
        border: 1px solid #2591e9;
        margin-bottom: 10px;
    }
    .search_select_coment{
        width: 100%;
        height: 30px;
        padding-left: 10px;
        border-radius: 10px;
        border: 1px solid #2591e9;
        margin-bottom: 10px;
    }
    .flatpickr-input[readonly] {
        cursor: pointer;
        width: 100%;
        height: 30px;
        padding-left: 10px;
        border-radius: 10px;
        border: 1px solid #2591e9;
        margin-bottom: 10px;
    }
    .search_select_permiso{
        width: 100%;
        height: 30px;
        padding-left: 10px;
        border-radius: 10px;
        border: 1px solid #2591e9;
        margin-bottom: 10px;
    }
    .search_button_search{
        background-color: #3BB2BF;
        color: #ffffff;
        font-size: auto;
        font-weight: 550;
        padding: 5px;
        border-color: #3BB2BF;
    }
    .search_button_search:hover{
        background-color: #36BFB1;
        color: white;
    }
    .search_button_reset {
        background-color: #c0203b;
        color: #ffffff;
        font-size: auto;
        font-weight: 550;
        padding: 5px;
        border-color: #c0203b;
    }

    .search_button_search,
    .search_button_reset {
        width: 100%;
        margin-bottom: 10px;
        border-radius: 10px;
    }
    .search_button_reset:hover{
        background-color: #e73d59f3;
        color: white;
    }
    .table-coment,
    .table-permiso,
    .table-count{
        max-width: 667px;
        width: 90%;
        margin: 20px;
    }
    .table-coment-container, 
    .table-permiso-container{
        width: 50%;
    }
    .h3_title{
        margin-top: 93%;
    }

    /* Estilo para el contenedor del ícono */
    .icon-container {
        position: relative;
        display: flex;
        cursor: pointer;
    }

    .icon-container i{
        margin-right: 10px;
    }
    .fa-solid{
        margin-right: 10px;
    }
    
    .nav_bar_dropdown{
        display: flex;
    }

    main {
        height: 100vh;
        margin-top: auto;
        margin-bottom: 40px;
        padding: 20px;
    }
    
    h4 {
    margin-bottom: 10px;
    background-color: powderblue;
    height: 45px;
    align-items: center;
    justify-content: start;
    display: flex;
    padding-left: 3%;
    }
    
    .contactos__buscador{
        display: flex;
        flex-direction: column;
        width: 80%;
    }
    
    .contactos__boton {
     background-color: #3BB2BF;
    color: #ffffff;
    font-size: auto;
    font-weight: 550;
    padding: 5px;
    border-color: #3BB2BF;
    width: 100%;
    border-radius: 10px;
    height: 80%;   
    }
    
    .contactos__celda_users::before {
        content: attr(data-label);
        position: absolute;
        left: 13%;
        width: 50%;
        font-weight: bold;
        text-align: left;
        color: #0b2070;
    }
    
    .contactos__celda_kpis .users_buttons_option{
        display: flex;
        justify-content: flex-end;
    }
    
    .contactos__celda_kpis {
        display: flex;
        gap: 8px;
    }
    
    .contactos__celda_kpis::before {
        content: attr(data-label);
        font-weight: bold;
        color: #0b2070;
        min-width: 100px;
    }

    
    .div-kpis__buscador{
        display: flex;
        width: 100%;
        flex-direction: column;
    }
    
    .modal--kpi{
        width: 90%;
    }
    
    .div_correo_kpis_options{
        margin:10px 0;
        display: flex;
        flex-direction: column;
    }
}


@media (max-width: 783px){
    main {
        margin-top: 60px; /* Ajustar según la altura del header */
        margin-bottom: 40px; /* Ajustar según la altura del footer */
        padding: 20px;
    }
}

/* Media Queries para pantallas medianas */
@media (min-width: 678px) and (max-width: 1040px) {
    .table{
        max-width: 1040px;
        width: 90%;
        margin: 20px;
    }
    .table-container {
        width: 70%;
    }

    .search {
        width: 60%;
    }
    .h3_title {
        margin-top: 45%;
    }

    .search_text {
        width: 60%;
        height: 30px;
        padding-left: 10px;
        border-radius: 10px;
        border: 1px solid #2591e9;
        margin-bottom: 10px;
    }
    .search_select{
        width: 40%;
        height: 30px;
        padding-left: 10px;
        border-radius: 10px;
        border: 1px solid #2591e9;
        margin-bottom: 10px;
    }
    .search_select_coment{
        width: 40%;
        height: 30px;
        padding-left: 10px;
        border-radius: 10px;
        border: 1px solid #2591e9;
        margin-bottom: 10px;
    }
    .search_select_permiso{
        width: 40%;
        height: 30px;
        padding-left: 10px;
        border-radius: 10px;
        border: 1px solid #2591e9;
        margin-bottom: 10px;
    }
    .search_button_search{
        background-color: #3BB2BF;
        color: #ffffff;
        font-size: auto;
        font-weight: 550;
        padding: 5px;
        border-color: #3BB2BF;
    }
    .search_button_search:hover{
        background-color: #36BFB1;
        color: white;
    }
    .search_button_reset {
        background-color: #c0203b;
        color: #ffffff;
        font-size: auto;
        font-weight: 550;
        padding: 5px;
        border-color: #c0203b;
    }
    .search_button_reset:hover{
        background-color: #e73d59f3;
        color: white;
    }
    .search_button_search,
    .search_button_reset {
        width: 20%;
        border-radius: 10px;
    }
    .flatpickr-input[readonly] {
        cursor: pointer;
        width: 40%;
        height: 30px;
        padding-left: 10px;
        border-radius: 10px;
        border: 1px solid #2591e9;
        margin-bottom: 10px;
    }

    /* Estilo para el contenedor del ícono */
    .icon-container {
        position: relative;
        display: mansory;
        cursor: pointer;
    }
}

/* Media Queries para pantallas grandes */
@media (min-width: 1041px) {
    .table-container {
        width: 90%;
    }

    .search {
        width: 55%;
    }

    .search_text {
        width: 50%;
        height: 30px;
        padding-left: 10px;
        border-radius: 10px;
        border: 1px solid #2591e9;
        margin-bottom: 10px;
    }
    .search_select{
        width: 30%;
        height: 30px;
        padding-left: 10px;
        border-radius: 10px;
        border: 1px solid #2591e9;
        margin-bottom: 10px;
    }
    .search_select_coment{
        width: 40%;
        height: 30px;
        padding-left: 10px;
        border-radius: 10px;
        border: 1px solid #2591e9;
        margin-bottom: 10px;
    }
    .search_select_permiso{
        width: 30%;
        height: 30px;
        padding-left: 10px;
        border-radius: 10px;
        border: 1px solid #2591e9;
        margin-bottom: 10px;
    }
    .search_button_search{
        background-color: #3BB2BF;
        color: #ffffff;
        font-size: auto;
        font-weight: 550;
        padding: 5px;
        border-color: #3BB2BF;
    }
    .search_button_search:hover{
        background-color: #36BFB1;
        color: white;
    }
    .search_button_reset {
        background-color: #c0203b;
        color: #ffffff;
        font-size: auto;
        font-weight: 550;
        padding: 5px;
        border-color: #c0203b;
    }
    .search_button_reset:hover{
        background-color: #e73d59f3;
        color: white;
    }
    .search_button_search,
    .search_button_reset {
        width: 20%;
        border-radius: 10px;
    }
    .flatpickr-input[readonly] {
        cursor: pointer;
        width: 40%;
        height: 30px;
        padding-left: 10px;
        border-radius: 10px;
        border: 1px solid #2591e9;
        margin-bottom: 10px;
    }

    /* Estilo para el contenedor del ícono */
    .icon-container {
        position: relative;
        display: inline-block;
        cursor: pointer;
    }
    
    .contactos__buscador {
        display: flex;
        justify-content: center;
        flex-direction: column;
        gap: 10px;
        width: 50%;
    }
}

.flatpickr-input::placeholder{
    color: #000;
}

/* Estilos adicionales */
.table_title{
    padding: 10px;
    font-weight: 600;
}

.div-search {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    width: -webkit-fill-available;
}

/* Estilos del input de archivo */
input[type="file"].custom-file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.custom-file-input-wrapper {
    position: relative;
    display: inline-block;
}

.custom-file-input-wrapper::before {
    content: 'Seleccionar archivo';
    display: inline-block;
    background-color: #3ac0b3;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    z-index: 1;
}

.custom-file-input-wrapper:hover::before {
    background-color: #B3F2EC;
    color: #666;
}

.custom-file-input-wrapper .file-name {
    display: inline-block;
    padding-left: 10px;
    font-size: 14px;
    color: #666;
    margin-left: 10px;
    font-style: italic;
}

.upload_week {
    margin-top: 10%;
}

/* Estilo del botón de enviar */
input[type="submit"].download_file {
    background-color: #2591e9;
    color: white; 
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: block;
    margin: 5px 0 60px 10px;
}

input[type="submit"].download_file:hover {
    background-color: #5da6e2;
}

input[type="submit"].download_file_active {
    background-color: #2591e9;
    color: white; 
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: block;
}

input[type="submit"].download_file_active:hover {
    background-color: #5da6e2;
}

input[type="submit"].upload_file {
    background: linear-gradient(135deg, #1f3c88, #3f6ad8);
    color: white; 
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

input[type="submit"].upload_file:hover {
    background: linear-gradient(135deg, #1f3c88, #3f6ad8);
    transform: scale(1.05);
}
.table_notes{
    text-align: justify;
    margin-bottom: 30px;
}

/* Estilos para el modal */
.modal_inactivity {
    position: fixed;
    top: 10%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none; /* Ocultar el modal por defecto */
    justify-content: center;
    align-items: center;
}

.modal-content_inactivity {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.button_inactivity {
    margin: 10px;
    padding: 10px;
    background-color: #2591e9;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.button_inactivity:hover {
    background-color: #5da6e2;
}

#icon {
    /* Voltear el icono horizontalmente */
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

/* Estilo para el ícono */
#icon {
    font-size: 20px;  /* Puedes ajustar el tamaño del ícono aquí */
}

.nav_bar_dropdown #nav_bar_dropdown_icon{
    font-size: 16px;
}

.nav_bar_dropdown i,
.icon-container i{
    font-size: 20px;
}


/* Estilo para el enlace, para que ocupe toda el área del ícono */
.logout-link {
    display: block;
    width: 100%;
    height: 100%;
}

    .fa, .fa-brands, .fa-duotone, .fa-light, .fa-regular, .fa-solid, .fa-thin, .fab, .fad, .fal, .far, .fas, .fat {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: var(--fa-display, inline-block);
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    margin-right: 10px;
}
.section {
    display: none;
}

#navButtons {
    margin-top: 20px;
    justify-content: center;
    display: flex;
}

.loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Fondo semitransparente */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
}

.loading-wrapper {
    position: relative; /* Nuevo contenedor para mantener logo independiente */
    width: 150px;
    height: 150px;
}

.loading-circle {
    width: 150px;
    height: 150px;
    border: 10px solid rgba(255, 255, 255, 0.3);
    border-top: 10px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 0;
    left: 0;
}

.loading-logo {
    width: 80px;
    height: 70px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centra el logo sin rotación */
}

.loading-text {
    color: white;
    margin-top: 20px;
    font-size: 20px;
    font-weight: bold;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

 #wordcloud {
    width: 100%;
    height: 600px;
    margin: 0 auto;
    background-color: #f0f0f0;
}
        
.video_div{
    width: 80%;
}
.video-container {
    display: grid;
    grid-auto-rows: 1fr;
    gap: 20px;
    padding: 20px;
    box-sizing: border-box;
}

@media (min-width: 901px){
    .video-container{grid-template-columns: repeat(2, 1fr);}
}
video {
    width: 100%;
    max-width: max-content;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    margin: 5px;
}
.pdf-container {
    display: flex;
    display: contents;
    justify-content: center;
    margin-bottom: 2%;
}
#pdf-viewer {
    display: none;
    width: 80%;
    height: 950px;
    margin: 20px auto;
    border: 1px solid #ccc;
}
.button_pdf {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    background-color: #007BFF;
    color: white;
    border-radius: 5px;
    transition: background 0.3s;
    margin-bottom: 2%;
}
.button_pdf:hover {
    background-color: #0056b3;
}

/*directory*/
/* BLOQUE PRINCIPAL */
.directorio_contactos{
    align-items: center;
    display: flex;
    flex-direction: column;
}
.contactos {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    min-height: 100vh;
    margin-top: 95px;
}

/* Si usas header y footer fijos */
header, footer {
    flex-shrink: 0;
}

/* TÍTULO */
.contactos__titulo {
    text-align: center;
    font-size: 2em;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.new_user{
    display: flex;
    justify-content: left;
    gap: 10px;
    width: 94%;
    margin-bottom: 5px;
}

/* BUSCADOR */
.contactos__buscador--main,
.contactos__buscador--secondary{
    display: flex;
    gap: 10px;
}

@media (max-width: 640px) {
    .contactos__buscador--main,
    .contactos__buscador--secondary{
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 10px;
    }
    .contactos__buscador--main .contactos__input,
    .contactos__buscador--secondary .contactos__input{
        margin-bottom: 0px;
    }
}
@media (min-width: 450px) and (max-width:855px){
    .directorio_contactos {
        width: 95%;
    }
    
    .new_user{
        display: flex;
        flex-direction: column;
        width: 80%;
    }
}
@media (max-width: 449px) {
    .directorio_contactos {
        width: 100%;
    }
    .contactos__buscador{
        width: 85%;
    }
    .contactos__celda{
        padding: 8px 0px;
    }
    
    .new_user{
        display: flex;
        flex-direction: column;
        width: 80%;
    }
}

.contactos__boton--limpiar {
    background-color: #c0203b;
    color: #ffffff;
    font-size: auto;
    font-weight: 550;
    text-decoration: none;
    padding: 5px;
    border-color: #c0203b;
    width: auto;
    border-radius: 10px;
    height: 80%;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
    width: 20%;
}

.contactos__boton--limpiar:hover {
    background-color: #e73d59f3;
}

/* Celdas */
.contactos__celda {
    padding: 12px 15px;
    border-bottom: 1px solid #ccc;
    vertical-align: top;
}

.contactos__input {
    padding: 8px 12px;
    font-size: 1em;
    width: 250px;
    border-radius: 4px;
    border-radius: 10px;
    width: 100%;;
    border: 1px solid #2591e9;
    margin-bottom: 10px;
}

.contactos__boton {
    background-color: #3BB2BF;
    color: #ffffff;
    font-size: auto;
    font-weight: 550;
    padding: 5px;
    border-color: #3BB2BF;
    width: auto;
    border-radius: 10px;
    height: 80%;
    width: 20%;
}

.contactos__boton:hover {
    background-color: #5da6e2;
}

.icono-btn {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 8px;
}

/* LINK CREAR */
.contactos__boton--crear {
    display: inline-block;
    margin-bottom: 10px;
    background-color: #2591e9;
    text-align: center;
    color: white;
    width: auto;
    padding: 10px 16px;
    text-decoration: none;
    font-size: 1em;
    border-radius: 4px;
    font-weight: bold;
}

.contactos__crear_select{
    width: 100%;
        height: 30px;
        padding-left: 10px;
        border-radius: 10px;
        border: 1px solid #2591e9;
        margin-bottom: 10px;
}

.contactos__boton--crear:hover {
    background-color: #5da6e2;
}

/* TABLA */
.contactos__tabla {
    width: 94%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 1%;
}

.contactos__fila {
    border-bottom: 1px solid #ddd;
}

.contactos__fila--cabecera {
    background-color: #0b2070;
    color: white;
    text-transform: uppercase;
    text-align: center;
}

.contactos__celda_users {
    padding: 5px 12px;
    text-align: left;
    font-size: 14px;
}

.contactos__celda {
    padding: 12px 10px;
    text-align: left;
    font-size: 14px;
}

.contactos__celda--cabecera {
    font-weight: bold;
    background-color: #0b2070;
    text-align: center;
}

.contactos__celda--contact{
    text-decoration: none;
    color: #0b2070;
    font-weight: bold;
}

.paginacion {
    text-align: center;
    margin-top: 1%;
    margin-bottom: 5%;
}

.paginacion__link {
    display: inline-block;
    margin: 0 4px;
    padding: 6px 10px;
    text-decoration: none;
    background: #eee;
    color: #333;
    border: 1px solid #2591e9;
    border-radius: 50%;
}

.paginacion__link.activo {
    background-color: #007BFF;
    color: #fff;
    border-radius: 50%;
    border-color: #007BFF;
    font-weight: bold;
}

@media (min-width: 887px) and (max-width: 1349px){
    .modal--kpi{
        width: 80%;
    }
    
    .div_correo_kpis_options{
        margin: 10px 0;
        display: flex;
        flex-direction: column;
    }
}

@media (min-width: 678px) and (max-width: 886px){
    .contactos__celda_users::before {
        content: attr(data-label);
        position: absolute;
        left: 110px;
        width: 50%;
        font-weight: bold;
        text-align: left;
        color: #0b2070;
    }
    
    .contactos__buscador{
        width: 60%;
    }
    
    .contactos__celda_kpis .users_buttons_option{
        display: flex;
        justify-content: flex-end;
    }
    
    .contactos__celda_kpis{
        text-align: end;
    }
    
    .contactos__celda_kpis::before {
        content: attr(data-label);
        position: absolute;
        left: 10%;
        width: 50%;
        font-weight: bold;
        text-align: left;
        color: #0b2070;
    }
    
     .contactos__celda_kpis .users_buttons_option{
        display: flex;
        justify-content: flex-end;
    }
    
    .contactos__celda_kpis{
        text-align: end;
        padding-left: 25%;
        width: 100%;
    }
    
    .contactos__celda_kpis::before {
        content: attr(data-label);
        position: absolute;
        left: 14%;
        width: 50%;
        font-weight: bold;
        text-align: left;
        color: #0b2070;
    }
    
    .form_correo_kpis {
        width: 100%;
    }
    
    .div_correo_kpis_options{
        margin: 10px 0;
        display: flex;
        flex-direction: column;
    }
}

@media screen and (max-width: 886px) {
    .contactos{
        display: flex;
        flex-direction: column;
        flex-wrap: inherit;
    }
    .contactos__tabla {
        width: -webkit-fill-available;
        border: 0;
    }
    .contactos__tabla thead {
        display: none;
    }

    .contactos__tabla tbody,
    .contactos__fila,
    .contactos__celda {
        display: block;
        width: 100%;
    }

    .contactos__fila {
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 10px;
        background-color: #fff;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }
    
    .contactos__fila_users {
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 10px;
        background-color: #fff;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        display: flex;
        flex-direction: column;
        text-align: right;
    }
    
    .contactos__celda_users {
        padding: 5px 12px;
        text-align: end;
        font-size: 14px;
    }

    .contactos__celda {
        text-align: right;
        position: relative;
        word-wrap: break-word;
        white-space: pre-line;
        width: 96%;
    }

    .contactos__celda::before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        width: 50%;
        font-weight: bold;
        text-align: left;
        color: #0b2070;
    }
    
    .contactos__boton {
    background-color: #3BB2BF;
    color: #ffffff;
    font-size: auto;
    font-weight: 550;
    padding: 5px;
    border-color: #3BB2BF;
    width: auto;
    border-radius: 10px;
    height: 80%;
    width: auto;
    }
    
    .contactos__boton--limpiar {
    background-color: #c0203b;
    color: #ffffff;
    font-size: auto;
    font-weight: 550;
    text-decoration: none;
    padding: 5px;
    border-color: #c0203b;
    width: auto;
    border-radius: 10px;
    height: 80%;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
    width: auto;
    }
    
    .paginacion {
        margin-bottom: 12%;
    }
    
    .manuals-container {
        grid-template-columns: 1fr; /* una sola columna */
    }
    
    .kpi__tabla{
        width: 90%;
    }
      
    .kpi__tabla thead{
        visibility: collapse;
    }
}

/* ACCIONES */
.contactos__crear {
    max-width: 600px;
    margin: 25px;
    padding: 25px;
    width: -webkit-fill-available;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: Arial, sans-serif;
}

.contactos__fila {
    align-items: center;
    margin-bottom: 15px;
}

.contactos__fila label {
    flex: 0 0 120px; /* ancho fijo para las etiquetas */
    font-weight: bold;
    color: #333;
    margin-right: 10px;
    text-align: right;
    text-transform: uppercase;
}

.contactos__fila input[type="text"],
.contactos__fila input[type="email"] {
    background-color: #f9f9f9;
    border: none; /* Eliminar todos los bordes */
    border-bottom: 2px solid #ccc; /* Color del borde inferior por defecto */
    padding: 10px 0; /* Espaciado vertical */
    border-radius: 0; /* Sin redondeo en los bordes */
    transition: border-bottom-color 0.3s; /* Transición suave al cambiar el color */
    outline: none; /* Eliminar el contorno predeterminado */
    margin-bottom: 15px;
    margin-top: 2px;
    width: 100%;
}

.contactos__input-mayuscula {
    text-transform: uppercase;
}

.contactos__fila input[type="text"]:hover,
.contactos__fila input[type="email"]:hover {
    border-color: #007BFF; /* Color del borde al pasar el mouse */
}

.contactos__fila input[type="text"]:focus,
.contactos__fila input[type="email"]:focus {
    border-color: #0056b3; /* Color del borde al enfocar */
    outline: none; /* Eliminar el contorno predeterminado */
}

.contactos__boton-icono {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    display: inline-block;
}

.contactos__boton-icono .icono {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

.contactos__boton-icono:hover .icono {
    transform: scale(1.2);
}

.contactos__botones {
    text-align: center;
    margin-top: 20px;
}

.contactos__botones__guardar {
    padding: 10px 20px;
    background-color: #2591e9;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.contactos__botones__guardar:hover {
    background-color: #36BFB1;
}

.contactos__botones__cancelar {
    padding: 10px 20px;
    background-color: #c0203b;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.contactos__botones__cancelar:hover {
    background-color: #e73d59f3;
}

.contactos__botones a {
    color: #1976d2;
    text-decoration: none;
    font-size: 14px;
    padding: 10px;
    display: inline-block;
    transition: color 0.3s ease;
}

.contactos__botones a:hover {
    color: #0d3f75;
    text-decoration: underline;
}

/*mensaje de valizacion*/
.mensaje-exito {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 10px 15px;
    margin: 20px 0;
    border-radius: 4px;
    font-weight: bold;
}

.mensaje-exito {
    transition: opacity 0.5s ease;
}

/* Estilo para el selector de fecha */
.contactos__fila input[type="date"] {
    padding: 8px;
    border: 1px solid #3498db;
    border-radius: 10px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.contactos__fila input[type="date"]:focus {
    border-color: #2980b9;
    outline: none;
}

.contactos__crear_multipleselect{
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #007BFF;
    border-radius: 5px;
    font-size: 1rem;
    color: #004a99;
    background-color: #f0f8ff;
    resize: vertical;
}

.select2-container--default .select2-selection--multiple {
    background-color: white;
    border: 1px solid #007bff;
    border-radius: 10px;
    cursor: text;
    padding-bottom: 5px;
    padding-right: 5px;
    position: relative;
    width: 100%;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice{
    background-color: #eee;
    border: 1px solid #007bff;
    border-radius: 4px;
    box-sizing: border-box;
    display: inline-block;
    margin-left: 5px;
    margin-top: 5px;
    padding: 0;
    padding-left: 20px;
    position: relative;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
    white-space: nowrap;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    background-color: transparent;
    border: none;
    color: #0b2070;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    padding: 0 4px;
    position: absolute;
    left: 0;
    top: 0;
}

.chip {
  display: inline-block;
  padding: 6px 10px;
  margin: 5px 5px 0 0;
  background-color: #e0e0e0;
  border-radius: 20px;
  font-size: 14px;
  position: relative;
  padding-right: 25px;
}

.chip .close {
  position: absolute;
  top: 0;
  right: 8px;
  cursor: pointer;
  font-weight: bold;
  color: #333;
}

@media (max-width: 640px) {
    .contactos__checkbox-group {
        grid-template-columns: 1fr; /* una sola columna en móviles */
    }
}

.contactos__crear_textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #007BFF;
    border-radius: 5px;
    font-size: 1rem;
    color: #004a99;
    background-color: #f0f8ff;
    resize: vertical;
}

.estado {
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 5px;
    display: inline-block;
}

.estado-finalizado {
    background-color: #d4edda;
    color: #155724;
}

.estado-pendiente {
    background-color: #fff3cd;
    color: #856404;
}

.estado-en-proceso {
    background-color: #cce5ff;
    color: #004085;
}

.estado-cancelado {
    background-color: #f8d7da;
    color: #721c24;
}

#usuarios_involucrados {
  display: none;
}
.select2-container {
  width: 100% !important;
}

.organigrama {
    height: auto;
    padding-bottom: calc(6vh + 20px);
    padding-top: calc(6vh + 55px);
}