/* The quote form follows the site's light Windows theme. */
.container.quote-form-wrap {
    max-width: 880px;
}

.quote-form-wrap > h2 {
    margin: 0;
    padding: 8px 14px;
    border: 2px solid #fff;
    border-color: #fff #484848 #484848 #fff;
    background: #000080;
    color: #fff;
    text-shadow: none;
    font-size: clamp(19px, 3vw, 24px);
}

.quote-form-wrap .request-panel {
    margin: 0;
    padding: clamp(16px, 3vw, 28px);
    border: 2px solid #707070;
    border-color: #fff #484848 #484848 #fff;
    background: #d4d0c8;
    color: #161616;
    color-scheme: light;
    text-shadow: none;
    scroll-margin-top: 180px;
}

.quote-form-wrap .request-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.quote-form-wrap .request-wide {
    grid-column: 1 / -1;
}

.quote-form-wrap .request-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
    font-weight: 700;
    color: #161616;
}

.quote-form-wrap .request-form :is(input:not([type="hidden"]), select, textarea) {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 8px 10px;
    border: 2px solid #666;
    background: #fff;
    color: #161616;
    caret-color: #161616;
    font: inherit;
    font-size: 16px;
}

.quote-form-wrap .request-form select:invalid {
    color: #414141;
}

.quote-form-wrap .request-form option {
    background: #fff;
    color: #161616;
}

.quote-form-wrap .request-form textarea {
    resize: vertical;
}

.quote-form-wrap :is(a, button, input, select, textarea):focus-visible {
    outline: 2px solid #000080;
    outline-offset: 2px;
}

.quote-form-wrap :is(.request-help, .request-field-error) {
    display: block;
    margin-top: 6px;
    font-size: 14px;
}

.quote-form-wrap :is(.request-notice, .request-help) {
    color: #333;
}

.quote-form-wrap .request-notice {
    margin: 18px 0;
}

.quote-form-wrap :is(.request-notice, .request-errors) a {
    color: #000080;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.quote-form-wrap .request-field-error {
    color: #831929;
}

.quote-form-wrap .request-errors {
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 2px solid #831929;
    background: #fff2f3;
    color: #831929;
}

.quote-form-wrap .request-form [aria-invalid="true"] {
    border-color: #831929;
}

.quote-form-wrap :is(.request-errors, .request-confirmation) h2 {
    margin: 0 0 9px;
    font-size: 20px;
    color: inherit;
}

.quote-form-wrap .request-errors ul {
    margin: 0;
    padding-left: 20px;
}

.quote-form-wrap .request-confirmation strong {
    color: #000080;
}

.quote-form-wrap .request-submit {
    min-height: 44px;
    cursor: pointer;
    font-size: 16px !important; /* Override the compact toolbar button size. */
    font-weight: 700;
}

.quote-form-wrap .request-panel [hidden] {
    display: none;
}

@media (max-width: 570px) {
    .quote-form-wrap .request-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .quote-form-wrap .request-panel {
        scroll-margin-top: 120px;
    }

    .quote-form-wrap .request-submit {
        width: 100%;
    }
}
