/* ==========================================================================
   Mi AntiSpam Pro v1.0.2 - Frontend Styles
   ========================================================================== */

.masp-quiz-group {
    margin-bottom: 15px;
}

.masp-quiz-group label {
    display: inline-block;
    margin-bottom: 5px;
    font-weight: 600;
}

.masp-quiz-group label .required {
    color: #dc3232;
}

.masp-quiz-group input[type="text"]#masp_quiz_answer {
    max-width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.masp-quiz-group input[type="text"]#masp_quiz_answer:focus {
    border-color: #0274be;
    outline: none;
}

/* Contact Form 7 Error Highlighting */
.wpcf7-form-control-wrap.masp_protection input.wpcf7-not-valid,
.wpcf7-form-control-wrap[data-name="masp_protection"] input.wpcf7-not-valid {
    border: 2px solid #dc3232 !important;
    background-color: #ffebe6 !important;
}

.wpcf7-form-control-wrap.masp_protection .wpcf7-not-valid-tip,
.wpcf7-form-control-wrap[data-name="masp_protection"] .wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 0.875em;
    font-weight: 600;
    display: block;
    margin-top: 5px;
}