/**
 * Inline form styles — only for [rsra_form] shortcode output.
 * The form carries the existing .rsra-contractor-form class so all field-level
 * styles (labels, inputs, select, button, privacy notice, fieldset, form-step,
 * spinner) are already covered by rsra-contractors-form-public.css.
 * Only the outer wrapper and the inline message box need to be defined here.
 */

/* Outer wrapper ----------------------------------------------------------- */
.rsra-inline-form-wrap {
    position: relative;
    width: 100%;
}

/* Navigation — stack Turnstile above the button, button centered ---------- */
.rsra-inline-form-wrap .rsra-form-navigation {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.rsra-inline-form-wrap .cf-turnstile-inline-widget {
    width: 100%;
}

/* Inline message box — mirrors .rsra-message-box from the modal ----------- */
.rsra-inline-message {
    margin-top: 20px;
}

.rsra-inline-message-box {
    background: #fff;
    padding: 30px 40px;
    border-radius: 8px;
    text-align: center;
    width: 100%;
    -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.rsra-inline-message-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.rsra-inline-message-title {
    margin: 0 0 10px;
    color: #333;
    font-size: 20px;
    font-family: Roboto, sans-serif;
}

.rsra-inline-message-text {
    color: #666;
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Status colours — mirrors .rsra-msg-* from the modal -------------------- */
.rsra-inline-message-box.rsra-msg-error   .rsra-inline-message-icon { color: #dc3232; }
.rsra-inline-message-box.rsra-msg-success .rsra-inline-message-icon { color: #46b450; }
