.checkbox_container {
    width: 250px;
    /* max-width: calc(100% - 24px) !important; */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    border: 2px solid #033e3e;
    background-color: rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 350px) {
    .checkbox_container {
        width: 210px;
    }
}

.main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #fff;
    display: none;
}

.checkbox_wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.checkbox_wrapper label {
    color: #fafafa;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.checkbox_wrapper label span.color {
    display: inline-block;
    width: 30px;
    height: 20px;
    background-color: var(--rect-color);
}

@supports (-webkit-appearance: none) or (-moz-appearance: none) {
    .checkbox_wrapper input[type=checkbox] {
        --active: #033e3e;
        --active: #033e3e;
        --active-inner: #fff;
        --focus: 2px #E1E6F9;
        --border: #033e3e;
        --border-hover: #033e3e;
        --background: #fff;
        --disabled: #F6F8FF;
        --disabled-inner: #E1E6F9;
        -webkit-appearance: none;
        -moz-appearance: none;
        height: 21px;
        outline: none;
        display: inline-block;
        vertical-align: top;
        position: relative;
        margin: 0;
        cursor: pointer;
        border: 1px solid var(--bc, var(--border));
        background: var(--b, var(--background));
        transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
    }

    .checkbox_wrapper input[type=checkbox]:after {
        content: "";
        display: block;
        left: 0;
        top: 0;
        position: absolute;
        transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
    }

    .checkbox_wrapper input[type=checkbox]:checked {
        --b: var(--active);
        --bc: var(--active);
        --d-o: .3s;
        --d-t: .6s;
        --d-t-e: cubic-bezier(.2, .85, .32, 1.2);
    }

    .checkbox_wrapper input[type=checkbox]:disabled {
        --b: var(--disabled);
        cursor: not-allowed;
        opacity: 0.9;
    }

    .checkbox_wrapper input[type=checkbox]:disabled:checked {
        --b: var(--disabled-inner);
        --bc: var(--border);
    }

    .checkbox_wrapper input[type=checkbox]:disabled+label {
        cursor: not-allowed;
    }

    .checkbox_wrapper input[type=checkbox]:hover:not(:checked):not(:disabled) {
        --bc: var(--border-hover);
    }

    .checkbox_wrapper input[type=checkbox]:focus,
    .checkbox_wrapper input[type=checkbox]:checked {
        box-shadow: 0 0 0 var(--focus);
    }

    .checkbox_wrapper input[type=checkbox]:not(.switch) {
        width: 21px;
    }

    .checkbox_wrapper input[type=checkbox]:not(.switch):after {
        opacity: var(--o, 0);
    }

    .checkbox_wrapper input[type=checkbox]:not(.switch):checked {
        --o: 1;
    }

    .checkbox_wrapper input[type=checkbox]+label {
        display: inline-block;
        vertical-align: middle;
        cursor: pointer;
        margin-left: 4px;
    }

    .checkbox_wrapper input[type=checkbox]:not(.switch) {
        border-radius: 7px;
    }

    .checkbox_wrapper input[type=checkbox]:not(.switch):after {
        width: 5px;
        height: 9px;
        border: 2px solid var(--active-inner);
        border-top: 0;
        border-left: 0;
        left: 7px;
        top: 4px;
        transform: rotate(var(--r, 20deg));
    }

    .checkbox_wrapper input[type=checkbox]:not(.switch):checked {
        --r: 43deg;
    }

    .checkbox_wrapper input[type=checkbox].switch {
        width: 38px;
        border-radius: 11px;
    }

    .checkbox_wrapper input[type=checkbox].switch:after {
        left: 2px;
        top: 1px;
        border-radius: 50%;
        width: 17px;
        height: 17px;
        background: var(--ab, var(--border));
        transform: translateX(var(--x, 0));
    }

    .checkbox_wrapper input[type=checkbox].switch:checked {
        --ab: var(--active-inner);
        --x: 17px;
    }

    .checkbox_wrapper input[type=checkbox].switch:disabled:not(:checked):after {
        opacity: 0.6;
    }
}

.checkbox_wrapper * {
    box-sizing: inherit;
}

.checkbox_wrapper *:before,
.checkbox_wrapper *:after {
    box-sizing: inherit;
}

.checkbox_container .checkbox_wrapper.soldPlots {
    padding-top: 10px;
    border-top: 2px solid #fff;
}

.checkbox_container .checkbox_wrapper.soldPlots #soldPlots {
    display: none;
}