
/* SERVER-SIDE FORM VALIDATION */
.form-error-summary {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0 0 30px;
    padding: 16px 18px;
    border-left: 4px solid #b42318;
    background: #fff4f2;
    color: #b42318;
    font-size: 13px;
    line-height: 1.4;
}

.form-error-summary strong {
    font-size: 14px;
}

.field-error {
    display: block;
    margin: 6px 4px 0;
    color: #b42318;
    font-size: 11px;
    line-height: 1.3;
    font-weight: 500;
}

.field-error-group {
    margin: 9px 0 0;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
    border-color: #b42318;
}

.has-error-group {
    padding: 13px 14px;
    margin-left: -14px;
    margin-right: -14px;
    border-radius: 12px;
    background: #fff8f7;
}

.privacy-choice-error {
    color: #b42318;
}

.form-success {
    max-width: 760px;
    padding: 20px 0 80px;
    color: #243f8f;
}

.form-success h1 {
    margin: 0 0 28px;
    font-size: 38px;
    line-height: 1.08;
    font-weight: 400;
    letter-spacing: -.03em;
}

.form-success p {
    max-width: 650px;
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.5;
}

.form-success-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    min-height: 46px;
    margin-top: 15px;
    padding: 0 24px;
    border-radius: 999px;
    background: #243f8f;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

@media (max-width: 600px) {
    .form-success h1 {
        font-size: 32px;
    }

    .form-success-button {
        width: 100%;
    }
}
