.toggle-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: sans-serif;
}

.toggle-label {
    font-size: 16px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 21px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 34px;
    cursor: pointer;
    transition: background-color 0.4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    left: 2px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.4s;
}

input:checked + .slider {
    background-color: rgb(200, 1, 1);
}

input:checked + .slider:before {
    transform: translateX(20px);
}

@media screen and (max-width: 991px) {
    .toggle-label {
        font-size: 14px;
    }
}
