/*****************************************************************************/
input[type="checkbox"].BtnWhatsCheck {
    display: none;
}
input[type="checkbox"].BtnWhatsCheck + label {
    box-shadow: inset 0 0 0 1px silver;
    border-radius: 0.25em;
    display: inline-block;
    font-family: sans-serif;
    opacity: 0.5;
    padding: 5px 5px 5px 5px;
    text-align: center;
    width: 170px;
    -webkit-user-select: none;
    user-select: none;
    font-size: 11px;
    cursor: pointer;
    background: #957AFB;
    color: #FFF;
    border-color: #957AFB;
    border-radius: 5px;
}

input[type="checkbox"].BtnWhatsCheck + label:before {
    background-image: linear-gradient(to left, #767676, #767676), linear-gradient(to left, #767676, #767676);
    background-size: 2px 50%, 50% 2px;
    background-repeat: no-repeat;
    background-position: center center, center center;
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px #767676;
    content: "";
    display: block;
    background: #767676;

}

input[type="checkbox"].BtnWhatsCheck + label:after {
    content: "";
    
    
}
input[type="checkbox"].BtnWhatsCheck:checked + label {
    box-shadow: inset 0 0 0 3px #767676, 0 0 0.25em 0 silver;
    color: #FFF;
    opacity: 1;
    background: #767676;
}
input[type="checkbox"].BtnWhatsCheck:checked + label:before {
    background-image: linear-gradient(to left, #FFFFFF, #FFFFFF), linear-gradient(to left, #FFFFFF, #FFFFFF);
    background-size: 2px 50%, 50% 2px;
    background-repeat: no-repeat;
    background-position: center center, center center;
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px #FFFFFF;
    content: "";
    display: block;
    


}
input[type="checkbox"].BtnWhatsCheck:checked + label:after {
    content: "";
}




.graph {
    width: auto;
    overflow-x: auto; /* Permite el scroll horizontal */
    }
    .tooltip {
    color:black;
    }
    svg text {
    font-size: 9px !important;
    }
    .axis path, .axis line {
    fill: none;
    stroke: #DADADA;
    shape-rendering: crispEdges;
    }
    #barGraph {
        width: 100%; /* Ajusta al 100% del contenedor padre */
        height: auto; /* La altura puede ajustarse automáticamente */
        padding: 0 10px;
        box-sizing: border-box; /* Incluir el padding en el cálculo del ancho */
    }
    .custom-checkbox {
        appearance: none; /* Remueve el estilo predeterminado */
        -webkit-appearance: none;
        width: 15px;
        height: 15px;
        border: 2px solid #957AFB;
        border-radius: 4px; /* Opcional: bordes redondeados */
        background-color: transparent;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    /* Estilo al activar el checkbox */
    .custom-checkbox:checked {
        background-color: #957AFB;
        border-color: #957AFB;
    }
    .form_custom_select {
        font-size: 12px;
        color: gray !important;
        -webkit-appearance: none; /* Elimina el estilo por defecto del navegador */
        -moz-appearance: none;
        appearance: none;
        background-color: lightgray; /* Fondo blanco para el select */
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="gray"><path d="M4 6l4 4 4-4z"/></svg>'); /* Flecha hacia abajo */
        background-repeat: no-repeat;
        background-position: right 5px center; /* Posición de la flecha */
        background-size: 15px; /* Tamaño de la flecha */
        padding-right: 25px; /* Espacio para la flecha */
        padding: 8px 30px 8px 10px; /* Espaciado interno Cris 09-01-2025*/
        border: 1px solid lightgray; /* Borde gris */
        border-radius: 8px; /* Bordes redondeados */
        margin-right: 1em; /* Espaciado entre selects */
        display: inline-block; /* Muestra los elementos en línea */
        vertical-align: middle; /* Alinea verticalmente */
    }
    .form_custom_select.active {
        background-color: #957AFB; /* Fondo púrpura */
        color: #fff !important; /* Texto blanco */
        border: 1px solid #957AFB; /* Borde púrpura */
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="white"><path d="M4 6l4 4 4-4z"/></svg>'); /* Flecha blanca */
    }
    .select_asistencia {
        font-size: 10px;
        position: absolute;
        float: right;
        margin-top: -2px;
        color: #000 !important;
        -webkit-appearance: none; /* Elimina el estilo por defecto del navegador */
        -moz-appearance: none;
        appearance: none;
        background-color: white; /* Fondo blanco para el select */
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="black"><path d="M4 6l4 4 4-4z"/></svg>'); /* Flecha hacia abajo */
        background-repeat: no-repeat;
        background-position: right 5px center; /* Posición de la flecha */
        background-size: 15px; /* Tamaño de la flecha */
        padding-right: 25px; /* Espacio para la flecha */
        border: 1px solid #ccc; /* Borde gris */
        border-radius: 5px; /* Bordes redondeados */
    }