.captcha-group {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}
.captcha-group .form-group {
    flex: 1;
    margin-bottom: 0;
}
.captcha-question {
    background: #f5f5f5;
    padding: 6px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    color: #667eea;
    text-align: center;
    min-width: 100px;
}
.refresh-captcha {
    padding: 6px 16px;
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s;
}
.refresh-captcha:hover {
    background: #e0e0e0;
}
.error {
    background: #fee;
    color: #c33;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}
.warning {
    background: #fff3cd;
    color: #856404;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
}
.attempts-info {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}
.attempts-info.warning-text {
    color: #c33;
    font-weight: bold;
}
.back-link {
    text-align: center;
    margin-top: 20px;
}
.back-link a {
    color: #667eea;
    text-decoration: none;
}
.back-link a:hover {
    text-decoration: underline;
}
.id-card-note {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

@media (max-width: 768px) {
    #captcha::placeholder {
        font-size:0.8rem;
    }
}

