.checkbox input[type="checkbox"] {
    display: none;
  }
  
  .checkbox label {
    position: relative;
    padding-left: 2em;
    padding-right: 1em;
    line-height: 1.4; /* Ajustar la altura de línea para centrar el texto */
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    user-select: none;
  }
  
  .checkbox label span:before {
    box-sizing: border-box;
    content: "";
    position: absolute;
    left: 0;
    width: 1.4em;
    height: 1.4em;
    border: 2px solid #9098A9;
    border-radius: 6px;
    transition: 0.25s all ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .checkbox input[type="checkbox"]:checked + span {
    color: #0f5229;
  }
  
  .checkbox input[type="checkbox"]:checked + span:before {
    top: 0;
    width: 1.4em;
    height: 1.4em;
    background: #b7e6c9;
    border-color: #2cbc63;
    content: "✔";
    font-size: 1em;
    color: #2cbc63;
  }


  /*Estilo para ahorrar espacio Horizontal*/
  .checkbox-2{
    padding: 5px;
    background-color: #fff;
    font-weight: bold;
    color: #6c6e72;
}

  .checkbox-2 input[type="checkbox"] {
    display: none;
  }
  
  .checkbox-2 label {
    position: relative;
    padding: 0px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    user-select: none; /* Evitar la selección de texto */
    
    border-radius: 4px;
    transition: border 0.25s ease;
  }
  .checkbox-2 label span {
    border: 2px solid #c2c9c5;
    padding: 2px;
    margin-right: 3px;
    border-radius: 4px;
  }
  
  .checkbox-2 input[type="checkbox"]:checked + span {
    color: #275dc6;
    border: 2px solid #275dc6;
    
    background: #d2def8;
  }
  
  