﻿
.toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}

.toggle-label {
    font-size: 14px;
    font-weight: 500;
    color: #777;
    cursor: pointer;
}

    .toggle-label.active {
        color: #000;
        font-weight: 600;
    }

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

    .toggle-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

    .toggle-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 20px;
    transition: 0.3s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 14px;
        width: 14px;
        left: 3px;
        bottom: 2px;
        background-color: #007BFF;
        border-radius: 50%;
        transition: 0.3s;
    }

input:checked + .slider:before {
    transform: translateX(20px);
}
