/* Ejemplo1 */
/*
.mycheck {
      border: 3px solid red;
      background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
      background-size: 100% 100%;
      background-position: center;
      background-repeat: no-repeat;
      width: 300px;
      height: 300px;
      appearance: none;
      display: inline-block;
      vertical-align: middle;
      background-origin: border-box;
      padding: 0;
      user-select: none;
      flex-shrink: 0;
      color: #2563eb;
      background-color: #888;
      border-color: #6b7280;
      border-width: 1px;
    }

    .mycheck {
      cursor: pointer;
      background-color: #fff;
      background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
      width: 48px;
      height: 48px;
      appearance: none;
      border: 2px solid #888;
      transition: background-color 0.3s ease-in-out;
    }

    .mycheck:checked {
      background-color: rgb(236 72 153);
    }

    .mycheck:focus {
      border-color: rgb(80, 67, 250);
    }

    .mycheck:disabled {
      background-color: rgb(198, 198, 198);
      background-image: none;
    }

    .mycheck:disabled:checked {
      background-color: rgb(198, 198, 198);
      background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 24 124' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
    }

    .mycheck2 {
      cursor: pointer;
      background-color: #fff;
      color: #fff;
      background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 24 100' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
      width: 8px;
      height: 16px;
      appearance: none;
      border: 2px solid #888;
      background-position: 0 -2rem;
      background-size: 100%;
      background-repeat: no-repeat;
      transition: all 0.3s ease-in-out;
    }

    .mycheck2:checked {
      background-color: rgb(75, 156, 13);
      color: rgb(75, 156, 13);
      background-position: 0 0;
    }
    */
    /* Estilos para el Primer Checkbox (Verde/Rojo) */
    /* Verde Claro (No seleccionado) 
    .checkbox-verde-rojo {
        background-color: #90ee90; 
        border-color: #90ee90;
    }*/
    /* Rojo Tomate (Seleccionado) 
    .checkbox-verde-rojo:checked {
        background-color: #ff6347; 
        border-color: #ff6347;
    }*/

    /* Estilos para el Segundo Checkbox (Azul/Morado) */
    /* Azul Claro (No seleccionado) 
    .checkbox-azul-morado {
        background-color: #add8e6; 
        border-color: #add8e6;
    }*/
    /* Morado (Seleccionado) 
    .checkbox-azul-morado:checked {
        background-color: #9370db; 
        border-color: #9370db;
    }  */

    .custom-checkbox {
      display: inline-flex;
      align-items: center;
      cursor: pointer;
      font-size: 18px;
      user-select: none;
      color: #555;
    }
    
    .custom-checkbox input {
      display: none;
    }
    
    .custom-checkbox .checkmark {
      width: 20px;               /* Tamaño del checkbox */
      height: 20px;              /* Tamaño del checkbox */
      background-color: #e0e0e0; /* Color de fondo */
      border: 2px solid #ccc;
      border-radius: 4px;
      position: relative;
      transition: background-color 0.2s;
      margin-right: 10px;
    }
    
    /* Estilo del "check" */
    .custom-checkbox .checkmark::after {
      content: "";
      position: absolute;
      left: 6px;
      top: 2px;
      width: 6px;
      height: 12px;
      border: solid white;
      border-width: 0 2px 2px 0;
      transform: rotate(45deg);
      opacity: 0;
      transition: opacity 0.2s;
    }
    
    /* Cuando está marcado */
    .custom-checkbox input:checked + .checkmark {
      background-color: #4caf50; /* Color cuando está marcado */
      border-color: #4caf50;
    }
    
    .custom-checkbox input:checked + .checkmark::after {
      opacity: 1;
    }

    .custom-checkbox2 {
      display: inline-flex;
      align-items: center;
      cursor: pointer;
      font-size: 18px;
      user-select: none;
      color: #555;
    }
    
    .custom-checkbox2 input {
      display: none;
    }
    
    .custom-checkbox2 .checkmark {
      width: 20px;               /* Tamaño del checkbox */
      height: 20px;              /* Tamaño del checkbox */
      background-color: #e0e0e0; /* Color de fondo */
      border: 2px solid #ccc;
      border-radius: 4px;
      position: relative;
      transition: background-color 0.2s;
      margin-right: 10px;
    }
    
    /* Estilo del "check" */
    .custom-checkbox2 .checkmark::after {
      content: "";
      position: absolute;
      left: 6px;
      top: 2px;
      width: 6px;
      height: 12px;
      border: solid white;
      border-width: 0 2px 2px 0;
      transform: rotate(45deg);
      opacity: 0;
      transition: opacity 0.2s;
    }
    
    /* Cuando está marcado */
    .custom-checkbox2 input:checked + .checkmark {
      background-color: #1b51f3; /* Color cuando está marcado */
      border-color: #1b51f3;
    }
    
    .custom-checkbox2 input:checked + .checkmark::after {
      opacity: 1;
    }