.grid-marker {
    color: #34374a;
    font-size: 14px;
    font-weight: 500;
    text-shadow: 1px 1px 0 white, -1px 1px 0 white, 1px -1px 0 white, -1px -1px 0 white;
    transform: translate(-50%, -50%);
}

.container {
    box-sizing: border-box;
    width: 200px;
    margin-top: 12px;
    background: #ffffff;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0px 4px 12px 0px #5f69831a;
}

.control {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.title {
    font-size: 16px;
    color: #050d33;
    font-weight: 500;
}

.block {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 4px 6px 2px;
}

.label {
    margin-left: auto;

    height: 22px;
    width: 40px;

    display: inline-block;
    position: relative;
}

.label input {
    display: none;
}

.slider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;

    cursor: pointer;
    border-radius: 22px;
    background-color: #ccc;
    transition: 0.4s;
}

.slider:before {
    content: '';
    width: 16px;
    height: 16px;

    position: absolute;
    bottom: 3px;
    left: 3px;

    border-radius: 50%;
    background-color: #fff;
    transition: 0.4s;
}

.label input:checked + .slider {
    background-color: var(--interact-action);
}

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