/* quick form styling*/

section.container.quick-form{
    background-image: url(../img/wave-form.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 0% 100%;
    background-color: #F8F8FB;
    display: flex;
    justify-content: center;
    margin-top: 8.5rem;
    margin-bottom: 8rem;
}


.quick-form-wrapper {
    background-color: transparent;
    padding-top: 4rem;
    padding-bottom: 18.5rem;
    width: 50%;
    height: auto;
   
    

    h2{
        font-size: 48px;
        line-height: 120%;
        font-weight: 700;
        color: #000;
        text-align: center;
        line-height: 120%; /* 57.6px */
        letter-spacing: -1.92px;
        /* margin-top: 115px; */
        margin-bottom: 30px;

    }

    label{

        color: #000;
        font-size: 20px;
        font-weight: 400;
        line-height: 120%; /* 24px */
        letter-spacing: -0.8px;
        margin-top:24px;
        margin-bottom: 8px;

    }

    input, select, textarea {
        padding: 14px 14px;
        border: 1px solid rgba(0, 0, 0, 0.2);
        height: 48px;
        font-size: 16px;
        width: 100%;
        appearance: none;
        color: rgba(0, 0, 0, 0.6);
    }


    input::placeholder {
        color: #000;
        font-size: 16px;
        font-style: normal;
        font-weight: 300;
        line-height: 120%; /* 19.2px */
        letter-spacing: -0.64px;
        opacity: 0.5;
    }


    .date-input-wrapper {
        position: relative;
        /* display: inline-block; */
    }
    
    .date-input-wrapper input[type="date"] {
        padding-right: 30px; /* Adjust padding to make room for the icon */
    }
    
    .date-input-wrapper::after {
        content: url("../img/calendar-icon.svg"); /* Replace with your calendar icon path */
        position: absolute;
        right: 10px;
        top: 55%;
        transform: translateY(-50%);
        pointer-events: none;
    }


    .time-input-wrapper {
        position: relative;
        /* display: inline-block; */
    }
    
    .time-input-wrapper select[type="time"] {
        padding-right: 30px; /* Adjust padding to make room for the icon */
    }
    
    .time-input-wrapper::after {
        content: url("../img/clock-icon.svg"); /* Replace with your calendar icon path */
        position: absolute;
        right: 10px;
        top: 55%;
        transform: translateY(-50%);
        pointer-events: none;
    }


    .lorry-icon{
        position: absolute;
        top: -6%;
        left: 40%;
        width: 160px;
        height: 160px;

    }


    p.success-message {
        color: #A665A9;
        font-weight: bold;
        margin-top: 10px;
        font-size: 1rem;
    }
}

.quick-form-submit-buttons{

    display: flex;
    justify-content: space-between;
    margin-top: 36px;


    button.cta-btn {

        display: inline-flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
        padding: 1rem;
        /* padding: 20px; */
        background-color: #000;
        border-radius: 2px;
        color: #fff;
        font-size: 24px;
        font-weight: 500;
        line-height: 100%; /* 24px */
        height: 64px;
        letter-spacing: -0.96px;
        transition: all 0.3s ease;

        &:hover{

            background: linear-gradient(88deg, #E67DAE 1.56%, #65BBD2 74.63%, #825EF8 98.65%);

        }
       
        
    }

    button.cta-btn.cancel-btn{

        background-color: transparent;
        color:#010101;
        opacity: 0.5;
        padding: 0px;

        &:hover{
            opacity: 1;
            background: none;
        }

    }

}

/** Quick form media queries */

@media (min-width: 992px) and (max-width: 1200px) { 

    section.container.quick-form{
        margin-top: 1rem;
        margin-bottom: 4rem;
    }
   
}


@media (min-width: 768px) and (max-width: 992px) { 

    section.container.quick-form{
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .quick-form-wrapper {
        padding-top: 4rem;
        padding-bottom: 12rem;
        width: 70%;
        
    }
   
}


@media (min-width: 576px) and (max-width: 768px) { 

    section.container.quick-form{
        margin-top: 3rem;
        margin-bottom: 2rem;
    }

    .quick-form-wrapper {
        padding-top: 4rem;
        padding-bottom: 10rem;
        width: 70%;
        
    }
   
}


@media (max-width: 576px) { 

    section.container.quick-form{
        margin-top: 6rem;
        margin-bottom: -6rem;
    }

    .quick-form-wrapper {
        padding-top: 3rem;
        padding-bottom: 6rem;
        width: 80%;
        
    }


    .quick-form-submit-buttons{
    
        button.cta-btn {
            justify-content: center;
            width: 100%;
            
        }
    }
   
}

/* End of quick form styling */

.make-a-refreshing-change{

    section.container.quick-form{
        background-image: none !important;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
        margin-bottom: -240px;
    }

}
