.simple-math-captcha {
    width: 30%;
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-family: 'Arial', sans-serif;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.simple-math-captcha:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-color: #adb5bd;
}

.simple-math-captcha:before {
    content: "✏️";
    margin-right: 8px;
    font-size: 1.2em;
    vertical-align: middle;
}

.simple-math-captcha .math-equation {
    display: inline-block;
    font-size: 1.4em;
    font-weight: bold;
    color: #2b2d42;
    padding: 5px 10px;
    background: #fff;
    border-radius: 5px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
    margin: 0 5px;
}

.captcha-error-message {
    color: #e63946;
    font-size: 0.9em;
    margin-top: 8px;
    font-weight: bold;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

@media (max-width: 576px) {
    .simple-math-captcha {
        width: 100%;
        padding: 10px;
        font-size: 0.9em;
    }

    .simple-math-captcha .math-equation {
        font-size: 1.2em;
        padding: 3px 8px;
    }
}