*{
    margin: 0;
    top: 0;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.fondo{
    display: flex;
    justify-content: center;
    align-items: center;
}

.contenedor{
   box-shadow: 0px 10px 10px rgba(214, 214, 214, 0.775);
   display: flex;
   justify-content: center;
   text-align: center;
   width: 100%;
   max-width: 400px;
   padding: 2rem;
   border-radius: 1rem;
   background-color: rgba(255, 255, 255, 0.573);
   box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
   color: #000;
}

.datos{
  margin: auto;
}

#label{
    width: 300px;
    height: 40px;
    border-radius: 18px;
    border: 2px solid black;
    margin-bottom: 30px;
    font-size: 12px;
    text-align: center;
    margin-top: 14px;
}

#ingreso{
    width: 300px;
    height: 50px;
    border-radius: 15px;
    cursor: pointer;
    background-color: #FFD700;
    transition: background-color 0.5s ease;
    font-weight: 900;
    margin-bottom: 30px;
    border: none;
    font-size: 18px;
    
}

#ingreso:hover{
    transform: scale(1.1);
    background-color: #f2ce04;
    font-weight: 900;
}

.text{
    font-size: 17px;
}

#header1{
    width: 99.8%;
    height: 120px;
    background-color: #232F3D;
    border: 2px solid #FCD039;
}



.bono{
   background-color: white;
   width: 800px;
   height: 1370px;
   margin-top: 90px;
   border-radius: 20px;
   text-align: center;
   margin-bottom: 40px;
   border: 4px solid #FCD039;
   z-index: 2;
}

hr{
    border: 2px solid #FCD039;
}

section{
    display: flex;
    justify-content: center;
    align-items: center;
}

#tabla-principal{
    min-width: 650px; 
    border-collapse: collapse;
    margin-top: 70px;
    background-color: #fff;
    border: 1px solid #dee2e6;
    font-size: 14px;
    margin: auto;
   
}




#tabla-principal th, #tabla-principal td {
    padding: 10px 15px;
    text-align: left;
    border: 1px solid #dee2e6;
    vertical-align: middle;
   
}

#tabla{
    margin-top: 40px;
}

#total{
    border: 4px solid #FCD039;
    width: 83%;
    height: 33px;
    margin: auto;
    margin-top: 20px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

#resultado{
    display: flex;
    justify-content: space-between;

}

#texto{
    margin-top: 5px;
    font-size: 19px;
}

#tarjeta{
    width: 320px;
    height: 200px;
    background-image: linear-gradient(135deg, rgb(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(45deg, rgb(255,255,255,0.05) 1px, transparent 1px);
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
    margin-left: 60px;
    border-radius: 18px;
    background-color: #4CC4B0;
    background-size: 20px 20px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(6px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

#tarjeta::before{
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 100%
    );
    transform: rotate(25deg);
    animation: brillo 6s linear infinite;
    pointer-events: none;
}

@keyframes brillo{
    0%{
        transform: rotate(25deg) translateX(-100%);
    }
    100%{
        transform: rotate(25deg) translate(100%);
    }
}

.footer-tarjeta {
    font-size: 11px;
    margin-left: 250px;
    opacity: 0.5;
    margin-top: 12px;
  }

  .bono-titulo{
    display: flex;
      justify-content: space-between;
      align-items: center;
  }

  #b1{
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0.9;
    margin-top: 15px;
    margin-left: 15px;
  }


#grafica{
    width: 320px;
    height: 200px;
    border: 3px solid #FCD039;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-right: 60px;
    border-radius: 20px;
    background-color: #ffffff;
    
}

#grafica h3{
    margin-top: 7px;
}

#tarjeta h3{
    margin-top: 40px;
    color: white;
}

#b{
    font-size: 30px;
    text-align: start;
    margin-left: 50px;
}

#bono1{
    margin-top: 10px;
    font-size: 38px;
    font-weight: bold;
    color: white;
    text-shadow: 0 0 8px rgba(0, 132, 255, 0.5);
    text-align: center;
}

.detalle {
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.8;
    text-align: center;
    line-height: 1.5;
  }



#filtrador{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    max-width: 500px;
    flex-wrap: wrap;
    margin: auto;
}


 
.modal {
    opacity: 0;
    pointer-events: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    transition: opacity 0.3s ease;
    align-items: center;
}

.modal--show {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 400px;
    max-width: 90%;
  
}

.modal_title {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
}

.input-group{
    margin-bottom: 20px;
}

.input-group input {
    width: 280px;
    height: 20px;
    margin-top: 6px;
    text-align: center;
    border-radius: 5px;
}

.input-group select{
    width: 290px;
    height: 20px;
    margin-top: 6px;
    text-align: center;
    border-radius: 5px;
}

#close-modal{
   margin-left: 380px;
}


#contenido{
    display: flex;
    justify-content: center;
}

.regresar{
    width: 50px;
    height: 30px;
    border: 2px solid black;
    background-color: blue;
    display: flex;
    justify-content: center;
    border-radius: 10px;
    text-align: center;
    align-items: center;
    margin-left: 50px;
    margin-bottom: 5px;
    margin-top: 20px;
}

.regresar:hover{
    transform: scale(1.1);
}





.progress-circle {
    width: 120px;
    height: 120px;
    margin: 20px auto;
  }
  
  circle.fondo {
    stroke: #eee;
    stroke-width: 12;
    fill: none;
  }
  
  circle.barra {
    stroke: #00b894; 
    stroke-width: 12;
    fill: none;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    stroke-dashoffset: 339.292;
    transform: rotate(-90deg);
    transform-origin: center;
    transition: stroke 0.3s;
  }
  
  .porcentaje {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
  }
  
  .porcentaje h3 {
    font-size: 24px;
    margin: 0;
    color: #333;
  }

  #liston{
    position: relative;
    margin: 0 auto 20px;
    padding: 10px;
    width: 50%;
    text-align: center;
    background-color:#196989;
    color: #fff;
  }

   #liston2{
    position: relative;
    margin-left: -15px;
    padding: 10px;
    width: 80%;
    margin-bottom: 5px;
    text-align: center;
    background-color:#196989;
    color: #fff;
  }

  #liston::before, #liston::after{
    content: '';
    width: 80px;
    height: 100%;
    background-color:#196989;
    position: absolute;
    z-index: 2;
    top: 16px;
    clip-path: /*bhlc*/ polygon(0 0, 100% 0, 100% 100%, 0 100%, 25% 50%);
    background-image: linear-gradient(45deg, transparent 50%, black 50%);
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: bottom right;
  }

  #liston::before{
    left: -60px;
  }

  #liston::after{
    right: -60px;
    transform: scaleX(-1);
  }


    #liston2::before, #liston2::after{
    content: '';
    width: 80px;
    height: 100%;
    background-color:#196989;
    position: absolute;
    z-index: 2;
    top: 16px;
    clip-path: /*bhlc*/ polygon(0 0, 100% 0, 100% 100%, 0 100%, 25% 50%);
    background-image: linear-gradient(45deg, transparent 50%, black 50%);
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: bottom right;
  }

  #liston2::before{
    left: -60px;
  }

  #liston2::after{
    right: -60px;
    transform: scaleX(-1);
  }


  #kpi-hover, #cs-hover, #inventario-hover, #seguridad-hover, #ausentismo-hover{
   cursor: pointer;
 }

 #kpi_tabla{
  width: 350px;
  border-collapse: collapse;
  margin-top: 70px;
  border: 2px solid #FCD039;
  font-size: 14px;
  margin: auto;
  text-align: center;  
  font-size: 17px;
   font-family: 'Nunito', sans-serif;
 }


 #kpi_tabla th, #kpi_tabla td {
    padding: 10px 15px;
    text-align: left;
    border: 1px solid #dee2e6;
    vertical-align: middle;
   
}

.container-inventario{
    display: none;
    margin-top: -530px;
    margin-left: 857px;
   
}

.container-kpi{
     display: none;
    margin-top: -480px;
    margin-left: 857px;
}

 .container-seguridad{
      display: none;
    margin-top: -640px;
    margin-left: 857px;
}

.container-5S{
    display: none;
    margin-top: -560px;
    margin-left: 857px;
}

.container-ausentismo{
    display: none;
    margin-top: -600px;
    margin-left: 857px;
}


.diseño_cont{
    background-color: #ffffff;
    border: 1px solid #ebebeb;
    padding: 10px;
    box-shadow: 0 2px 8px #FCD039;
    width: 360px;
    z-index: 99;
    position: relative;
    border-radius: 20px;
}

#kpi_tabla th{
    background-color:#00b894;
    color: #ffffff;
    text-align: center;
}

.tabla-pequeña{
    width: 200px;
    margin-left: 75px;
}



@media screen and (max-width: 768px) {
    .bono{
        width: 390px;
        height: 1800px;
        margin-top: 350px;
    }

      #resultado{
        display: inline-block;
        justify-content: center;
    }


    .tabla-pequeña{
    width: 350px;
    margin-left: 10px;
}

    #tarjeta, #grafica{
        margin: auto;
        margin-bottom: 20px;
    }

    #liston{
        font-size: 13px;
        padding: 10px 25px;
        text-align: center;
    }

    #liston2{
    position: relative;
    margin-left: -40px;
    padding: 15px;
    width: 100%;
    margin-bottom: 5px;
    text-align: center;
    background-color:#196989;
    color: #fff;
  }

    #tabla-principal{
        min-width: 300px;
        font-size: 15px;
        margin: auto;
    }

    #tabla-principal th, #tabla-principal td {
    padding: 10px 10px;
    text-align: left;
    border: 1px solid #dee2e6;
    vertical-align: middle;
   
}


    #texto{
        font-size: 15px;
        margin-top: 6px;
    }

    #motivacion{
        font-size: 14px;
    }
    

    #filtrador{
        display: block;
        align-items: center;
        justify-content: center;
    }

    #mes, #anio{
        width: 100%;
        max-width: 240px;
        margin-bottom: 10px;
    }

    #filtrar{
        width: 240px;
        margin-bottom: 10px;
        margin-left: 40px;
    }

    #tarjeta{
        opacity: 0;
    transform: translateY(50px);
    transition: all 1.2s ease-out;
    }

    #tarjeta.visible{
    opacity: 1;
    transform: translateY(0);
    }


    #grafica{
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.2s ease-out;
    }

    #grafica.visible{
    opacity: 1;
    transform: translateY(0);
    }

     #total{
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.2s ease-out;
    }

    #total.visible{
    opacity: 1;
    transform: translateY(0);
    }

      #tabla{
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.2s ease-out;
    }

    #tabla.visible{
    opacity: 1;
    transform: translateY(0);
    }

    .container-inventario{
    display: none;
    margin-top: -470px;
    margin-left: 16px;
   
}

.container-kpi{
     display: none;
    margin-top: -400px;
     margin-left: 16px; 
}

 .container-seguridad{
      display: none;
    margin-top: -630px;
     margin-left: 16px;
}

 .container-ausentismo{
      display: none;
    margin-top: -600px;
     margin-left: 16px;
}

.container-5S{
    display: none;
    margin-top: -520px;
    margin-left: 16px;
}
}
 