.quote-form {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    color: #12384b;
}

.quote-form * {
    font-size: 1.3rem;
}

.quote-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 28px;
}

.quote-form__field {
    width: 100%;
}

.quote-form__field p {
    margin-block: 0;
}

.quote-form__field--full {
    margin-top: 24px;
}

.quote-form__input,
.quote-form__select,
.quote-form__textarea {
    width: 100%;
    border: 0;
    outline: none;
    box-shadow: none;
    border-radius: 0;
    font-size: 16px;
    line-height: 1.2;
    color: #12384b;
    font-family: inherit;
}

input.quote-form__input,
.quote-form__textarea {
    background: #fff;
    padding: 20px 24px;
    box-shadow: inset 5px 5px 5px -2px rgba(0, 0, 0, 0.04);
}

.quote-form__input {
    min-height: 64px;
}

.quote-form__textarea {
    min-height: 150px;
    resize: vertical;
}

.quote-form__input::placeholder,
.quote-form__textarea::placeholder {
    color: #12384b;
    opacity: 1;
}

/* Select dark blue */
.quote-form__select {
    min-height: 64px;
    padding: 20px 54px 20px 24px;
    background-color: var(--wp--preset--color--primary);
    color: #fff;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: linear-gradient(45deg, transparent 50%, #fff 50%),
    linear-gradient(135deg, #fff 50%, transparent 50%);
    background-position: calc(100% - 34px) 50%,
    calc(100% - 24px) 50%;
    background-size: 10px 10px,
    10px 10px;
    background-repeat: no-repeat;
}

.quote-form__select option {
    background: #fff;
    color: #12384b;
}

.quote-form__select--locked {
    cursor: not-allowed;
    opacity: 0.85;
}

.quote-form__select option:disabled {
    color: #93a8b3;
}

/* Phone field */
.quote-form__field--phone {
    position: relative;
}

/* intl-tel-input integration */
.quote-form .iti {
    width: 100%;
}

.quote-form .iti__country-list {
    z-index: 5;
}

.quote-form .iti--separate-dial-code .iti__selected-flag {
    background-color: transparent;
}

.quote-form .iti__selected-dial-code {
    color: #12384b;
}

/* Footer */
.quote-form__footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-top: 24px;
}

.quote-form__acceptances {
    display: flex;
    flex-direction: column;
}

.quote-form__acceptance {
    font-size: 15px;
    line-height: 1.4;
    color: #12384b;
    text-align: left;

    p {
        margin: 0;
    }
}

.quote-form__acceptance .quote-form__checkbox {
    width: 1.3em;
    height: 1.3em;
    background-color: white;
    border-radius: 50%;
    vertical-align: middle;
    border: 1px solid #ddd;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;

    &:checked {
        background-color: var(--wp--preset--color--primary);
        border-color: var(--wp--preset--color--primary);
    }
}

.quote-form__acceptance .wpcf7-list-item {
    margin: 0;
}

.quote-form__acceptance label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

/* Submit */
.quote-form__submit-wrap {
    flex-shrink: 0;
}

.quote-form__submit {
    border: 0;
    border-radius: 999px;
    background: #aeeeff;
    color: #12384b;
    padding: 18px 38px;
    font-size: 20px;
    line-height: 1;
    font-family: var(--wp--preset--font-family--secondary);
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* CF7 validation */
.quote-form .wpcf7-not-valid-tip {
    margin-top: 8px;
    font-size: 13px;
    color: #d63638;
}

.quote-form .wpcf7-response-output {
    margin: 24px 0 0;
    padding: 14px 18px;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 767px) {
    /*.quote-form * {*/
    /*    color: #fff;*/
    /*}*/
    .quote-form__grid {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .quote-form__field--full {
        margin-top: 16px;
    }

    .quote-form__input,
    .quote-form__select {
        min-height: 58px;
    }

    .quote-form__input,
    .quote-form__select,
    .quote-form__textarea {
        font-size: 15px;
    }

    .quote-form__input,
    .quote-form__textarea {
        padding: 18px 20px;
    }

    .quote-form__select {
        padding: 18px 50px 18px 20px;
    }

    .quote-form__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .quote-form__submit {
        width: 100%;
        font-size: 18px;
        padding: 17px 30px;
    }
}
