/**
 * Southeast Stoneworks Forms — Response State Styles
 * Version: 1.0.0
 *
 * These styles handle only the plugin-specific states:
 * loading, success message, and error message.
 * All form field styling remains in the site's Global CSS (WPCode).
 */

/* Response container — hidden by default */
.ses-form-response {
    display: none;
    padding: 16px 20px;
    border-radius: 4px;
    font-size: 15px;
    line-height: 1.5;
    margin-top: 16px;
    font-family: inherit;
}

/* Success state */
.ses-form-response.ses-form-success {
    display: block;
    background-color: #f0f7f0;
    border: 1px solid #4a7c59;
    color: #2d5a3d;
}

/* Error state */
.ses-form-response.ses-form-error {
    display: block;
    background-color: #fdf3f3;
    border: 1px solid #c0392b;
    color: #7b1a1a;
}

/* Loading state — reduce opacity on the form */
form.ses-loading {
    opacity: 0.65;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

/* Disabled submit button during submission */
form.ses-loading [type="submit"] {
    cursor: not-allowed;
}
