@use "/src/scss/abstracts" as *;
.operator-info {
    padding-top: clamp(3rem, 10vh, 6rem);
}

.owner-operator-bar {
    border: 1px solid #dcdcdc;
    border-radius: 2.5rem;
    padding: 0.6875rem 1rem 0.6875rem 2rem;
    background-color: #f5f5f5;

    .copy {
        flex: 1;
        padding-top: 0.25rem;
    }
}
.switch {
    position: relative;
    display: inline-block;
    width: 100px;
    height: 34px;
    p {
        padding-top: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid #dcdcdc;
    background-color: $white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    color: $red-default;
    text-align: center;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: $red-default;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

input:checked + .slider {
    border: 1px solid #dcdcdc;
    background-color: $white;
    color: $green-default;
    text-align: center;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(66px);
    -ms-transform: translateX(66px);
    transform: translateX(66px);
    background-color: $green-default;
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}
