.aibd-captcha-container {
    margin: 15px 0;
    padding: 20px;
    background: #f0f8ff;
    border: 2px solid #2271b1;
    border-radius: 8px;
    clear: both;
}

.aibd-captcha-challenge {
    margin-bottom: 15px;
    font-weight: bold;
    color: #333;
}

.aibd-captcha-loaded {
    padding: 10px;
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    color: #2e7d32;
    font-size: 16px;
}

.aibd-captcha-loading {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 15px;
}

.aibd-captcha-error {
    padding: 10px;
    background: #ffebee;
    border-left: 4px solid #f44336;
    color: #c62828;
}

.aibd-captcha-input-group {
    margin-top: 15px;
}

.aibd-captcha-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333 !important;
    font-size: 15px;
}

.aibd-captcha-question {
    color: #2271b1 !important;
    font-weight: bold;
}

.aibd-captcha-answer {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px !important;
    border: 2px solid #ddd !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    transition: border-color 0.3s !important;
    box-sizing: border-box !important;
    background-color: #ffffff !important;
    color: #333 !important;
}

.aibd-captcha-answer:focus {
    outline: none !important;
    border-color: #2271b1 !important;
    box-shadow: 0 0 0 1px #2271b1 !important;
    background-color: #ffffff !important;
    color: #000 !important;
}

.aibd-captcha-regenerate {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}

.aibd-captcha-regenerate:hover {
    background: #e0e0e0;
    border-color: #ccc;
}

/* Login form specific */
#loginform .aibd-captcha-container {
    margin-bottom: 20px;
}

#loginform .aibd-captcha-answer {
    width: 100% !important;
    background-color: #ffffff !important;
    color: #333 !important;
}

/* Comment form specific */
#commentform .aibd-captcha-container {
    margin: 20px 0;
}

#commentform .aibd-captcha-answer {
    background-color: #ffffff !important;
    color: #333 !important;
}

/* CF7 form specific */
.wpcf7 .aibd-captcha-container {
    margin: 20px 0;
}

.wpcf7 .aibd-captcha-answer {
    background-color: #ffffff !important;
    color: #333 !important;
}
