#search-freight {
    position: relative;
    top: -12rem;
    z-index: 99;
}

#schedule #search-freight {
    position: relative;
    top: 0;
    z-index: 99;
}

.form-freight {
    background: var(--white);
    padding: 3.5rem;
    box-shadow: 0px 4px 15px -10px rgb(156 156 156 / 55%);
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
    border: 1px solid #00000012;
    transition: opacity 0.5s ease;
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.form-freight .title-label {
    font-weight: 600;
    font-size: 1.5rem;
}

.form-freight .button-cf {
    position: relative;
    background-color: var(--cofast-blue);
    color: var(--white);
    font-size: 1.5rem;
    padding: 1rem 0px;
    width: 100%;
}

.form-freight .icon-search-freight {
    position: absolute;
    top: 1.4rem;
    left: 0.5rem;
    font-size: 1.5rem;
    margin-left: 1.4rem;
    font-weight: 600;
}

.form-freight button[type=submit] {
    position: relative;
    border-radius: 50px;
}

#search-freight .typeSearch {
    display: table;
    background: var(--white);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 0 2.5rem;
    position: relative;
    top: 0;
    border: 1px solid #00000012;
    border-bottom: transparent;
}

#search-freight .typeSearch li {
    float: left;
    position: relative;
    list-style: none;
    padding: 1.5rem;
}

#search-freight .typeSearch li input[type=radio] {
    position: absolute;
    left: 1px;
    top: 14px;
}

#search-freight .typeSearch li label {
    display: block;
    position: relative;
    font-weight: 500;
    font-size: 1.4rem;
    padding-left: 0.7rem;
    padding-right: 2rem;
    z-index: 9;
    border-right: 1px solid var(--cofast-blue);
    cursor: pointer;
    -webkit-transition: all 0.25s linear;
}

#search-freight .typeSearch li:last-child label {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
}

#search-freight .typeSearch li input[type=radio]:before {
    content: "";
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    top: -3px;
    left: -4px;
    background-color: #fff;
    background-image: url("/images/customer/logistics/checkbox-non.png");
    background-size: contain;
    z-index: 99;
    cursor: pointer;
}

#search-freight .typeSearch li input[type=radio]:checked ~ label {
    color: var(--cofast-blue);
    font-weight: 500;
}

#search-freight .typeSearch li input[type=radio]:checked:before {
    background-image: url("/images/customer/logistics/checkbox-checked.png") !important;
}

#search-freight .typeSearch li .check {
    display: block;
    position: absolute;
    border: 1px solid #000;
    border-radius: 100%;
    height: 1.5rem;
    width: 1.5rem;
    top: 1.7rem;
    left: 0;
    z-index: 5;
    transition: border .25s linear;
    -webkit-transition: border .25s linear;
}

#search-freight .typeSearch li input[type=radio]:checked ~ .check::before {
    background: var(--cofast-blue);
}

#search-freight .typeSearch li .check::before {
    display: block;
    position: absolute;
    content: '';
    border-radius: 100%;
    height: 0.7rem;
    width: 0.7rem;
    top: 0.3rem;
    left: 0.3rem;
    margin: auto;
    transition: background 0.25s linear;
    -webkit-transition: background 0.25s linear;
}

#search-freight .typeSearch li:hover .check {
    border: 1px solid var(--cofast-blue);
}

.select2-container--default.select2-container--disabled .select2-selection--single {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

@media (max-width: 1200px) {
    #search-freight {
        top: -10rem;
    }
}

@media (max-width: 768px) {
    #search-freight {
        top: 0;
        padding-bottom: 10rem;
    }

    .form-freight .icon-search-freight {
        top: 1.7rem;
    }

    #search-freight .typeSearch li .check::before {
        left: 0.25rem;
    }

    #search-freight .typeSearch li input[type=radio] {
        left: -2px;
        top: 8px;
    }
}

