.offcanvas-search-icon svg {
    font-size: 1.8rem;
    height: 1.2em;
}

.favorites-btn svg, .recent-btn svg {
    font-size: 1.8rem;
    height: 1.2em;
}

.mobile-recent-icon svg, .mobile-favorites-icon svg {
    font-size: 1.8rem !important;
    height: 1.2em !important;
}

.search-dropdown-title svg {
    width: 43px !important;
    height: 43px !important;
}

.offcanvas-close-btn .btn-close {
    font-size: 1.1rem;
    padding: 16px !important;
}

#assign {
    margin-top: 160px;
    overflow: hidden;
}

.assign-header {
    display: flex;
    margin-bottom: 40px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}

.assign-header h2 {
    margin-bottom: 40px;
}

.assign-header h2 {
    margin-bottom: 2px;
    color: #022148;
}

.assign-form-btn button {
    background-color: #022148;
    color: white;
}

.assign-form-btn button:hover {
    background-color: #fec90f;
    border-color: #fec90f;
    color: #022148;
}

.assign-header hr {
    border: 1px solid #022148;
    width: 70px;
    opacity: 0.7;
    color: #022148;
    border-color: #022148;
    background-color: #022148;
    margin: 0px;
    margin-bottom: 1rem;
}

.assign-header p {
    margin-right: 150px;
}

.banner-container {
    max-width: 100% !important;
    padding: 0px;
}

.assign-banner {
    position: relative;
    width: 100%;
    height: 32rem;
    padding: 0px;
}

.assign-banner::before {
    content: '';
    background-color: #4c3e22a6;
    position: absolute;
    width: 100%;
    height: 100%;
}

.banner-text {
    position: absolute;
    right: 50%;
    top: 4vw;
    transform: translate(50%, 0px);
    color: white;
    letter-spacing: 1px;
}

.banner-text h2 {
    font-size: 3rem;
    font-weight: 400;
    margin-right: 24vw;
    border-left: 2px solid #fec90f;
    padding-left: 20px;
    margin-bottom: 25px;
}

.assign-banner img {
    width: 100%;
    object-fit: cover;
    max-width: 100%;
}

#assign .container {
    max-width: 1300px;
}

#assign .alert {
    margin-bottom: 75px;
}

.assign-form-container {
    max-width: 992px;
    margin-bottom: 40px;
}

.assign-paragraph {
    margin-top: 40px;
    margin-bottom: 40px;
}

.outer-background-color {
    background-color: #F2F2F2;
    padding-top: 40px;
    padding-bottom: 40px;
}

.assign-blocks-heading {
    text-align: center;
    margin-bottom: 40px;
}

.assign-blocks-heading h1 {
    margin-bottom: 6px;
    color: #022148;
}

.assign-blocks-heading hr {
    border: 2px solid #022148;
    width: 12vw;
    margin: auto;
    opacity: 0.7;
    color: #022148;
    border-color: #022148;
    background-color: #022148;
}

.block-paragraph h4 {
    color: #022148;
    border-left: 5px solid #022148;
    padding-left: 30px;
    margin-bottom: 25px;
}

.assign-block-text {
    padding: 20px;
    text-align: justify;
}

.assign-form-btn {
    margin: auto;
    display: flex;
    justify-content: center;
}

.assign-form-btn button {
    padding: 10px;
}

.assign-form-btn svg {
    margin-left: 10px;
}

.assign-message {
    text-align: center;
    margin-top: 20px;
}

#offcanvasAssignForm {
    padding-top: 50px;
    overflow-x: hidden;
}

#assign-form {
    position: relative;
    z-index: 1;
    background-color: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0px 0px 14px 1px #cbcbcb;
}

.offcanvas-container {
    max-width: 950px !important;
    padding: 20px;
    border-radius: 10px;
}

.assign-offcanvas {
    height: 100% !important;
    background: url('/img/site/job-background.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

.assign-offcanvas .btn-close {
    position: absolute;
    padding: 26px;
    margin: 45px;
    font-size: 1.8rem;
    background-color: white;
    border-radius: 60px;
    right: 0px;
}

#assign-form:before {
    content: '';
    width: 120px;
    height: 120px;
    background-color: #022148;
    position: absolute;
    left: -44px;
    top: -45px;
    border-radius: 50%;
    transition: all 500ms ease;
}

#assign-form::after {
    content: '01';
    font-size: 3rem;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    line-height: 1em;
    position: absolute;
    top: -10px;
    left: -11px;
}

.assign-form-2::after {
    content: '02' !important;
}

.assign-form-3::after {
    content: '03' !important;
}

.assign-form-4::after {
    content: '04' !important;
}

#prevBtn {
    border: none;
    text-decoration: underline;
}

#prevBtn {
    background-color: transparent;
    color: black;
}

#prevBtn:hover {
    background-color: initial;
}

.assign-step-info {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 40px;
    text-align: center;
}

.assign-field {
    margin-bottom: 20px;
    margin-right: 20px;
}

.assign-step {
    display: none;
    flex-wrap: wrap;
    justify-content: center;
}

.assign-address-search {
    height: 300px;
    position: relative;
    margin-bottom: 20px;
}

.assign-map-info {
    margin-bottom: 20px;
    background-color: #fec90f73;
    padding: 10px;
    border-radius: 10px;
    font-size: 0.9rem;
}

#assign-map {
    position: absolute;
    width: 100%;
    height: 100%;
}

.input-group {
    flex-wrap: wrap;
}

.fileinput-upload-button {
    display: none;
}

.fileinput-remove, .fileinput-cancel, .fileinput-upload, .btn-file{
    height: 38px;
}

.fileinput-remove i, .fileinput-cancel i, .fileinput-upload i, .btn-file i {
    color: #022148;
    margin-right: 5px;
}

.fileinput-remove:hover i, .fileinput-cancel:hover i, .fileinput-upload:hover i, .btn-file:hover i {
    color: #fec90f;
}

.btn-file {
    display: flex;
    align-items: center;
}

.change-tab-buttons {
    display: flex;
    justify-content: space-between;
}

.change-tab-buttons button {
    font-size: 1rem;
    margin-right: 10px;
    padding: 8px 35px 8px 35px;
    border-radius: 20px;
}

input.invalid {
    background-color: #ffdddd;
}

.g-recaptcha {
    margin-bottom: 15px;
}

.assign-tabs-container {
    position: absolute;
    width: 100%;
    bottom: 0px;
}

.assign-tabs-container .row {
    background-color: #efefef;
    align-items: center;
}

.tab-box {
    padding: 0px;
}

.tab {
    display: flex;
    padding: 20px 30px 20px 50px;
    background-color: #efefef;
    background-repeat: no-repeat;
    background-size: 201% 100%;
    background-image: linear-gradient(to right, #fec90f 50%, #efefef 50%);
    background-position: 100% 0;
    transition: background-position 0.5s ease-in-out, color 0.5s ease-in-out;
}

/* ✅ Slides from right to left when active */
.tab.active {
    background-position: 0% 0;
    color: white;
}

/* ✅ Animates from #022148 to dark gray */
.tab.finish {
    background-image: linear-gradient(to right, #022148 50%, #fec90f 50%);
    background-position: 0% 0;
    background-color: #022148;
    color: white;
    transition: background-position 0.5s ease-in-out, background-color 0.5s ease-in-out;
}

.tab-text {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    flex-direction: column;
}

.tab-text-heading h5 {
    margin-bottom: 0px;
}

.tab-number {
    margin-right: 20px;
    border: 1px solid;
    border-radius: 20px;
    height: 40px;
    width: 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media only screen and (min-width: 1921px) {
    .assign-form-container {
        max-width: 992px;
    }
}

@media only screen and (max-width: 1921px) {
    .assign-form-container {
        max-width: 992px !important;
    }
}

@media screen and (max-width: 1680px) {
    .banner-text h2 {
        margin-right: 16vw;
    }
}

@media only screen and (max-width: 1400px) {}

@media only screen and (max-width: 1200px) {
    .banner-text h2 {
        margin-right: 8vw;
    }

    .assign-offcanvas .btn-close {
        background-color: #c5c5c5;
        right: 0px;
        z-index: 9999;
    }
}

@media only screen and (max-width: 992px) {
    #assign {
        margin-top: 120px;
    }

    .banner-text {
        top: 6vw;
    }

    .banner-text h2 {
        margin-right: 0vw;
    }

    .assign-row {
        margin-bottom: 100px;
    }

    #assign-form:before {
        left: 8px;
    }

    #assign-form::after {
        left: 41px;
    }

    .assign-step-info {
        margin-right: 14vw;
        margin-left: 14vw;
    }

    #offcanvasAssignForm {
        overflow-y: scroll;
    }

    .assign-tabs-container {
        position: fixed;
        z-index: 2;
    }

    .tab.tab-content {
        display: none;
    }

    .tab.active {
        display: flex !important;
    }
}

@media only screen and (max-width: 768px) {
    .assign-header p {
        margin-right: 60px;
    }

    .banner-text {
        right: 24%;
        top: 13vw;
        transform: translate(16%, 0px);
    }
}

@media only screen and (max-width: 576px) {
    .assign-form-btn button {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .banner-text {
        right: 18%;
        top: 8vw;
        transform: translate(12%, 0px);
    }
}

@media only screen and (max-width: 480px) {
    .assign-header p {
        margin-right: 10px;
    }

    .banner-text {
        right: 9%;
        transform: translate(6%, 0px);
    }

    .assign-offcanvas .btn-close {
        padding: 20px;
        font-size: 1rem;
    }

    .assign-step-info {
        margin-top: 60px;
        margin-bottom: 20px;
    }
}

@media only screen and (max-width: 420px) {
    .banner-text {
        right: 7%;
        top: 27vw;
        transform: translate(6%, 0px);
    }

    .banner-text h2 {
        font-size: 2.5rem;
    }

    #assign-form {
        padding: 15px;
    }
}

@media only screen and (max-width: 360px) {
    .banner-text {
        right: 11%;
        top: 16vw;
    }
}

@media only screen and (max-width: 320px) {
    
}