/* CAPTCHA Styles */
.captcha-group {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.captcha-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    display: block;
}

.captcha-container {
    background: white;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.captcha-options {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.captcha-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
    margin-bottom: 0;
}

.captcha-option input[type="radio"] {
    margin-right: 8px;
    accent-color: #667eea;
}

.captcha-option span {
    color: #555;
    font-size: 14px;
}

.captcha-method {
    min-height: 60px;
}

/* Math CAPTCHA */
.captcha-question {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.captcha-question span {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    padding: 8px 12px;
    background: #f0f0f0;
    border-radius: 4px;
    min-width: 120px;
    text-align: center;
}

.btn-refresh {
    background: #667eea;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 10px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.3s;
}

.btn-refresh:hover {
    background: #5a67d8;
}

.btn-refresh i {
    font-size: 12px;
}

#captcha-answer {
    width: 100%;
    max-width: 150px;
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    text-align: center;
}

#captcha-answer:focus {
    border-color: #667eea;
    outline: none;
}

/* Image CAPTCHA */
.captcha-image-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

#captcha-image {
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.3s;
}

#captcha-image:hover {
    border-color: #667eea;
}

#captcha-text {
    width: 100%;
    max-width: 150px;
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#captcha-text:focus {
    border-color: #667eea;
    outline: none;
}

/* Responsive design */
@media (max-width: 480px) {
    .captcha-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .captcha-question {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .captcha-question span {
        min-width: auto;
        width: 100%;
    }
    
    .captcha-image-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    #captcha-image {
        width: 100%;
        max-width: 200px;
    }
}


