.offcanvas.offcanvas-start {
    width: 60%;
    margin: auto;
    top: 30%;
    padding: 0;
    padding-bottom: 20px;
    height: fit-content;
    max-height: 80vh;
}

.offcanvas.offcanvas-start .btn-close {
    position: absolute;
    right: 30px;
    top: 10px;
    z-index: 5;
}

.offcanvas.offcanvas-start .offcanvas-body {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
}

.offcanvas.offcanvas-start .left,
.offcanvas.offcanvas-start .right {
    flex: 1;
    min-width: 200px;
    height: 100%;
}

.offcanvas.offcanvas-start .left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offcanvas.offcanvas-start .right {
    padding: 10px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.offcanvas.offcanvas-start h4 {
    color: var(--primary-color);
}

.offcanvas.offcanvas-start p {
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
}

.offcanvas.offcanvas-start .btn {
    width: 100%;
    font-size: 18px;
    font-weight: 700;
    line-height: 20px;
}

#phone {
    padding-right: 45px;
    margin-bottom: 20px;
}

#phone:focus {
    border-color: var(--primary-color);
}

.form-floating>.form-control:focus~label {
    color: var(--primary-color);
}

.offcanvas .iti {
    position: relative;
    display: block;
}

.iti .iti {
    position: absolute;
    bottom: 25px;
}

.iti__country-list {
    right: 0;
}

.iti input {
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 50px !important;
}

.tel {
    position: relative;
}

#asap-success,
#as-success {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 50px;
    overflow: auto;
    min-height: fit-content;
    display: none;
}

.spinner-border {
    position: absolute;
    left: calc(50% - 1rem);
    top: calc(50% - 1rem);
}

/* Spinner container */
#overlay,
#asoverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    /* Semi-transparent white */
    backdrop-filter: blur(10px);
    /* Mirror glass blur effect */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    /* Make sure it's on top of the form */
    visibility: hidden;
    /* Initially hidden */
}

/* Show loader when form is being processed */
#overlay.active,
#asoverlay.active {
    visibility: visible;
}

/* Center spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

.offcanvas-backdrop {
    background-color: var(--primary-color);
}

#asapForm,
#asForm {
    width: 100%;
}

.offcanvas .wrap {
    text-align: center;
}

@media screen and (max-width: 768px) {
    .offcanvas.offcanvas-start .left {
        width: 100%;
    }

    .offcanvas.offcanvas-start .right {
        position: absolute;
        background: linear-gradient(0deg, #000 0%, rgba(0, 0, 0) 25%, rgba(0, 0, 0, 0) 100%);
        align-items: end;
        padding-bottom: 50px;
        border-radius: 10px;
        flex-wrap: wrap;
        justify-content: end;
        align-items: start;
        width: 100%;
    }

    .offcanvas.offcanvas-start .right #phone,
    .offcanvas.offcanvas-start .right .btn,
    #asapForm,
    #asForm,
    .offcanvas .wrap {
        width: 100%;
    }

    .offcanvas .btn-close {
        background-color: var(--background-color);
        padding: 10px;
        border-radius: 50%;
        --bs-btn-close-opacity: 1;
        z-index: 5;
    }

    .offcanvas {
        border-radius: 10px;
    }
}

#offerOffcanvas .offcanvas-body {
    flex-direction: column;
    overflow-y: auto;
}

#offerOffcanvas .left {
    width: 100%;
    background-color: rgba(201, 146, 70, 0.1);
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 50%;
    max-height: 250px;
    padding-top: 20px;
}

#offerOffcanvas .left img {
    width: 25%;
    height: unset;
}

#offerOffcanvas .left .writing {
    width: 50%;
    max-height: 250px;
    max-width: 250px;
    z-index: 2;
}

@media screen and (max-width: 768px) {
    #offerOffcanvas .right {
        position: relative;
        background: white;
        padding-bottom: 0;
        border-radius: 10px;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        width: fit-content;
    }
}

#offerOffcanvas .iti {
    position: relative !important;
    /* top: 50%; */
    transform: none;
    right: 0;
}

#offerOffcanvas .iti__country-list {
    right: unset;
}