.simple-tags {
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    margin: 0em;
    padding: 0em 0.5em;
    display: -webkit-box;
    display: flex;
    flex-wrap: wrap;
    font-size: 11px;
    border-radius: 5px;
}

.simple-tags>ul {
    list-style: none;
    padding: 4px;
    margin: 0;
    display: -webkit-box;
    display: flex;
    flex-wrap: wrap;
}

.simple-tags ul li {
    margin: 0.5em 0.2em;
    padding: 0.3em;
    color: #fff;
    background-color: #1e87f0;
    border-radius: 3px;
}

.simple-tags ul li a {
    margin: 0.5em 0.2em;
    text-decoration: none;
    color: inherit;
}

.simple-tags input {
    padding: 0.9em 0.5em;
    box-sizing: border-box;
    -webkit-box-flex: 1;
    flex-grow: 1;
    border: none;
    outline: none;
    font-size: 15px;
    font-family: inherit;
    color: inherit;
}

/* custom radio */

/* Shared Input Styles */
.radio .radio-input,
.checkbox .checkbox-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio .radio-control,
.checkbox .checkbox-control {
    position: relative;
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    border: 2px solid var(--primaryColor);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Checkbox Styles */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkbox-group.checkbox-group-horizontal {
    flex-direction: row;
}

.checkbox {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox .checkbox-control {
    border-radius: 6px;
}

.checkbox .checkbox-control::before,
.checkbox .checkbox-control::after {
    content: "";
    position: absolute;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.checkbox .checkbox-control::before {
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    background-color: rgba(0, 0, 0, .3);
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
}

.checkbox .checkbox-control::after {
    left: 50%;
    top: 45%;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -50%) rotate(45deg) scale(0);
    opacity: 0;
}

.checkbox .checkbox-input:checked~.checkbox-control {
    background-color: var(--primaryColor);
    border-color: var(--primaryColor);
}

.checkbox .checkbox-input:checked~.checkbox-control::before {
    animation: ripple 240ms linear;
}

.checkbox .checkbox-input:checked~.checkbox-control::after {
    transform: translate(-50%, -50%) rotate(45deg) scale(1);
    opacity: 1;
}

.checkbox .checkbox-input:focus-visible~.checkbox-control {
    box-shadow: 0 0 0 4px rgba(100, 108, 255, 0.3);
}

.checkbox .checkbox-label {
    font-size: 1rem;
    user-select: none;
    color: rgba(0, 0, 0, 0.7);
    transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.checkbox .checkbox-input:checked~.checkbox-label {
    color: rgb(0, 0, 0);
    animation: label-check 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radio-group.radio-group-horizontal {
    flex-direction: row;
}

.radio {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.radio .radio-control {
    border-radius: 50%;
}

.radio .radio-control::before,
.radio .radio-control::after {
    content: "";
    position: absolute;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.radio .radio-control::before {
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    background-color: rgba(100, 108, 255, 0.3);
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
}

.radio .radio-control::after {
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: white;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}

.radio .radio-input:checked~.radio-control {
    background-color: var(--primaryColor);
    border-color: var(--primaryColor);
}

.radio .radio-input:checked~.radio-control::before {
    animation: ripple 240ms linear;
}

.radio .radio-input:checked~.radio-control::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.radio .radio-input:focus-visible~.radio-control {
    box-shadow: 0 0 0 4px rgba(100, 108, 255, 0.3);
}

.radio .radio-label {
    font-size: 1rem;
    user-select: none;
    color: rgba(0, 0, 0, 0.7);
    transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.radio .radio-input:checked~.radio-label {
    color: rgb(4, 4, 4);
    animation: label-check 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(0.35);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

@keyframes label-check {
    0% {
        transform: translateX(0);
        opacity: 0.7;
    }

    40% {
        transform: translateX(2px);
        opacity: 1;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

#model-51 .toggle {
    position: relative;
    box-sizing: border-box;
}

#model-51 .toggle input[type=checkbox] {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    cursor: pointer;
    opacity: 0;

}

#model-51 .toggle input[type=checkbox]:checked+label:after {
    background: #FFF;
    transform: translate(47px, 8px);
}

#model-51 .toggle input[type=checkbox]:checked+label:before {
    box-shadow: 0 0 12px #0003, inset 0 0 #fff;
}

#model-51 .toggle label {
    position: relative;
    display: flex;
    align-items: center;
    height: 36px;
    box-sizing: border-box;
}

#model-51 .toggle label:before {
    content: "";
    width: 72px;
    height: 36px;
    border-radius: 20px;
    position: relative;
    display: inline-block;
    transition: 0.2s ease;
    box-sizing: border-box;
    background-color: var(--primaryColor);
    box-shadow: 0 0 12px #0003, inset -72px 0 #fff;
}

#model-51 .toggle label:after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background: #444;
    border-radius: 20px;
    box-sizing: border-box;
    left: 0;
    top: 0;
    transform: translate(8px, 8px);
    transition: 0.2s ease;
}


input[type=range] {
    margin: auto;
    outline: none;
    display: block;
    padding: 0;
    width: 50%;
    height: 8px;
    background-color: #eeeeee;
    background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #087af5), color-stop(100%, #087af5));
    background-image: -webkit-linear-gradient(var(--primaryColor), var(--primaryColor));
    background-image: -moz-linear-gradient(var(--primaryColor), var(--primaryColor));
    background-image: -o-linear-gradient(var(--primaryColor), var(--primaryColor));
    background-image: linear-gradient(var(--primaryColor), var(--primaryColor));
    background-size: 50% 100%;
    background-repeat: no-repeat;
    border-radius: 10px;
    cursor: pointer;
    -webkit-appearance: none;
    /* track */
    /* thumb */
}

input[type=range]::-webkit-slider-runnable-track {
    box-shadow: none;
    border: none;
    background: transparent;
    -webkit-appearance: none;
}

input[type=range]::-moz-range-track {
    box-shadow: none;
    border: none;
    background: transparent;
}

input[type=range]::-moz-focus-outer {
    border: 0;
}

input[type=range]::-webkit-slider-thumb {
    width: 16px;
    height: 16px;
    border: 0;
    background: white;
    border-radius: 100%;
    box-shadow: 0 1px 2px 0px #000;
    -webkit-appearance: none;
}

input[type=range]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border: 0;
    background: white;
    border-radius: 100%;
    box-shadow: 0 1px 2px 0px #000;
}