/**
 * Simple Bot Protection Styles
 * Version: 1.0.0
 */

/* Main container for the protection field */
.sbp-protection-field {
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    clear: both;
}

/* Math captcha specific styles */
.sbp-protection-field .sbp-math-captcha {
    margin: 0;
    padding: 0;
}

.sbp-protection-field .sbp-math-captcha label {
    font-weight: bold;
    color: #333;
    display: block;
    margin-bottom: 8px;
}

.sbp-protection-field .sbp-math-captcha input[type="number"] {
    width: 100px;
    padding: 8px;
    font-size: 16px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 3px;
    -moz-appearance: textfield; /* Firefox */
}

/* Hide spin buttons on number input for Chrome, Safari, Edge, Opera */
.sbp-protection-field .sbp-math-captcha input::-webkit-outer-spin-button,
.sbp-protection-field .sbp-math-captcha input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* WooCommerce specific adjustments */
.woocommerce form .sbp-protection-field {
    grid-column: 1 / -1; /* Make it full-width in grid layouts */
}