/**
 * ENUR Frontend Turnstile Styles
 *
 * Minimal styles for the Cloudflare Turnstile widget container.
 *
 * @package ENUR\Assets\CSS
 * @version 1.0.0
 */

.enur-turnstile-container.form-row {
    /* Add some vertical margin to space it out from other fields */
    margin-top: 1em;
    margin-bottom: 1.5em;
    /* Clear floats if necessary, though WC form-row usually handles this */
    clear: both;
}

/* The .cf-turnstile class is applied by Cloudflare's script */
.enur-turnstile-widget {
    /* Ensure it doesn't cause overflow if container is narrow */
    max-width: 100%;
}

/* Add margin below the Turnstile widget itself if needed */
.enur-turnstile-widget iframe {
   margin-bottom: 0.5em; /* Space between widget and potential error message below */
}

/* Style the error placeholder specifically for Turnstile if needed */
.enur-turnstile-container .enur-error-placeholder[data-field="turnstile"] {
    /* Inherits general error styles, add specifics if required */
    margin-top: 0; /* Adjust if needed based on iframe margin */
}

