/* Spam Protection Styles */

/* Honeypot field - hidden from humans, visible to bots */
.de-honeypot {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
}

/* Math captcha container */
.de-math-captcha {
    margin: 25px 0 !important;
    padding: 20px 25px !important;
    background: #f0f0f0 !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.de-math-captcha-label {
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    color: #333;
    font-weight: 400;
}

.de-math-captcha-question {
    font-family: 'Marcellus', serif;
    font-size: 1.25rem;
    color: #3A63E2;
    font-weight: 600;
    background: white;
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

/* Math captcha input - override Elementor styles */
input.de-math-captcha-input,
input[name="math_answer"].de-math-captcha-input {
    width: 80px !important;
    min-width: 80px !important;
    max-width: 80px !important;
    padding: 12px 10px !important;
    font-size: 1.2rem !important;
    text-align: center !important;
    border: 2px solid #ccc !important;
    border-radius: 6px !important;
    font-family: 'Jost', sans-serif !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
    background: white !important;
    color: #000 !important;
    -moz-appearance: textfield !important;
}

input.de-math-captcha-input::-webkit-outer-spin-button,
input.de-math-captcha-input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

input.de-math-captcha-input:focus {
    outline: none !important;
    border-color: #3A63E2 !important;
    box-shadow: 0 0 0 3px rgba(58, 99, 226, 0.15) !important;
}

input.de-math-captcha-input::placeholder {
    color: #999 !important;
    font-size: 1.3rem !important;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .de-math-captcha {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    input.de-math-captcha-input {
        width: 100% !important;
        max-width: 100px !important;
    }
}
