/* Estilos del switch personalizado */
.custom-switch {
    position: relative;
    display: inline-block;
    width: 160px;
    height: 20px; /* Reducimos la altura del switch */
}

.custom-switch-input {
    display: none;
}

.custom-switch-label {
    position: absolute;
    top: 0;
    left: 0;
    width: 32px; /* Reducimos el ancho del switch */
    height: 20px;
    background-color: #ddd;
    border-radius: 10px; /* Ajustamos el radio del borde */
    cursor: pointer;
    transition: background-color 0.3s;
}

.custom-switch-input:checked + .custom-switch-label {
    background-color: #007bff;
}

.custom-switch-label::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px; /* Reducimos el tamaño del círculo del switch */
    height: 16px; /* Reducimos el tamaño del círculo del switch */
    background-color: #fff;
    border-radius: 50%;
    transition: left 0.3s;
}

.custom-switch-input:checked + .custom-switch-label::after {
    left: 14px; /* Ajustamos la posición del círculo cuando está activado */
}

.switch-text {
    display: inline-block;
    margin-left: 10px;
    font-size: 14px;
    color: #333;
    width: 500px; /* Ajustamos el ancho del texto */
}

/*
SEGUNDO SWITCH
*/

/* Estilos del switch personalizado */
.custom-switch2 {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 20px; /* Reducimos la altura del switch */
}

.custom-switch-input2 {
    display: none;
}

.custom-switch-label2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 32px; /* Reducimos el ancho del switch */
    height: 20px;
    background-color: #ddd;
    border-radius: 10px; /* Ajustamos el radio del borde */
    cursor: pointer;
    transition: background-color 0.3s;
    margin-right: 10%;
}

.custom-switch-input2:checked + .custom-switch-label2 {
    background-color: #007bff;
}

.custom-switch-label2::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px; /* Reducimos el tamaño del círculo del switch */
    height: 16px; /* Reducimos el tamaño del círculo del switch */
    background-color: #fff;
    border-radius: 50%;
    transition: left 0.3s;
}

.custom-switch-input2:checked + .custom-switch-label2::after {
    left: 14px; /* Ajustamos la posición del círculo cuando está activado */
}

.switch-text2 {
    display: inline-block;
    margin-left: 10px;
    font-size: 14px;
    color: #333;
    min-width: 120px;
}