/* Woo Math CAPTCHA — wmc.css */

.wmc-captcha-wrap {
    margin-bottom: 16px;
}

.wmc-captcha-wrap label,
.wmc-captcha-wrap .elementor-field-label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
}

.wmc-question {
    color: #c0392b;
    font-weight: 700;
    font-size: 15px;
}

/* Buton de refresh întrebare */
.wmc-refresh-btn {
    background: transparent !important;
    border: none !important;
    color: #888 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    padding: 0 4px !important;
    margin-left: 4px !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    box-shadow: none !important;
    transition: color 0.2s ease, transform 0.3s ease !important;
    display: inline-block !important;
}

.wmc-refresh-btn:hover {
    color: #c0392b !important;
    transform: rotate(45deg);
}

.wmc-refresh-btn.wmc-spinning {
    animation: wmc-spin 0.6s linear infinite !important;
}

@keyframes wmc-spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Input answer style */
.wmc-captcha-wrap input[type="number"].wmc-answer-input,
.wmc-captcha-wrap input[type="number"] {
    width: 110px !important;
    max-width: 100%;
    display: inline-block;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
}

.wmc-captcha-wrap input[type="number"]:focus {
    border-color: #96588a;
    outline: none;
    box-shadow: 0 0 0 2px rgba(150, 88, 138, 0.2);
}

/* Ascunde săgețile din input number */
.wmc-captcha-wrap input[type="number"]::-webkit-inner-spin-button,
.wmc-captcha-wrap input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.wmc-captcha-wrap input[type="number"] {
    -moz-appearance: textfield;
}

/* Contact Form 7 specific */
.wpcf7-form-control-wrap.wmc_captcha .wmc-captcha-wrap {
    margin-bottom: 8px;
}

.wpcf7-not-valid input[type="number"] {
    border-color: #dc3232 !important;
}

/* Elementor Form specific */
.elementor-field-type-wmc_math_captcha.wmc-captcha-wrap {
    margin-bottom: 15px;
}

