/* A stable result slot: never collapse the form or jump to the next section. */
.wpcf7 form.cuscoride-form-enhanced { overflow-anchor: none; }
.wpcf7 form.cuscoride-form-enhanced .wpcf7-response-output { display: none !important; }
.wpcf7 form .wpcf7-submit { display: block; }
.cuscoride-feedback {
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 112px;
    margin: 18px 0 0;
    padding: 17px 18px;
    border: 1px solid #e1e7ef;
    border-radius: 10px;
    background: #f8fafc;
    text-align: left;
    font-family: inherit;
    overflow-wrap: anywhere;
}
.cuscoride-feedback[data-state="idle"] { visibility: hidden; }
.cuscoride-feedback-copy { min-width: 0; }
.cuscoride-feedback-copy strong { display: block; color: #062653; font-size: 14px; font-weight: 700; line-height: 1.5; margin: 0 0 3px; }
.cuscoride-feedback-copy p { color: #64748b; font-size: 13px; line-height: 1.65; margin: 0; }
.cuscoride-feedback-icon { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: #e7eef7; color: #062653; margin-top: 2px; }
.cuscoride-feedback-icon::before { content: 'i'; font-size: 17px; font-weight: 600; line-height: 1; }
.cuscoride-feedback[data-state="success"] { border-color: #d6e5dc; background: #fbfdfb; }
.cuscoride-feedback[data-state="success"] .cuscoride-feedback-icon { color: #247346; background: #e9f4ed; }
.cuscoride-feedback[data-state="success"] .cuscoride-feedback-icon::before { content: '✓'; font-size: 17px; }
.cuscoride-feedback[data-state="warning"] .cuscoride-feedback-icon { color: #966414; background: #fcf1dc; }
.cuscoride-feedback[data-state="error"] .cuscoride-feedback-icon { color: #a3433b; background: #fbece9; }
.cuscoride-feedback:is([data-state="warning"], [data-state="error"]) .cuscoride-feedback-icon::before { content: '!'; }
.cuscoride-feedback[data-state="loading"] .cuscoride-feedback-icon::before {
    content: '';
    box-sizing: border-box;
    width: 15px;
    height: 15px;
    border: 2px solid #bccde0;
    border-top-color: #062653;
    border-radius: 50%;
    animation: cuscoride-submit-spin .75s linear infinite;
}
.wpcf7 .wpcf7-not-valid-tip { display: block; margin-top: 7px; color: #a42f2a; font-size: 12px; line-height: 1.5; }
.wpcf7 .wpcf7-not-valid { border-color: #cf6962; }
.wpcf7 form:not(.submitting) .wpcf7-spinner { display: none; }
.cuscoride-is-submitting :is(button[type="submit"], button:not([type]), input[type="submit"], input[type="image"]) {
    opacity: 1;
    cursor: wait;
    pointer-events: none;
    transform: none;
    box-shadow: none;
}
.cuscoride-is-submitting .wpcf7-spinner { display: none !important; }
.cuscoride-submit-wrap { display: block; width: 100%; position: relative; cursor: wait; }
.cuscoride-submit-wrap > :is(button, input) { display: block; margin: 0 !important; color: transparent !important; }
.cuscoride-submit-progress { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; color: #fff; font-family: inherit; font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: .025em; text-transform: uppercase; pointer-events: none; }
@keyframes cuscoride-submit-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .cuscoride-feedback[data-state="loading"] .cuscoride-feedback-icon::before { animation: none; }
}
@media (max-width: 480px) {
    .cuscoride-feedback { min-height: 128px; padding: 14px; gap: 10px; }
    .cuscoride-feedback-copy strong { font-size: 13px; }
    .cuscoride-feedback-copy p { font-size: 12px; }
}
