/* reCAPTCHA styling for clean-security-check */

.recaptcha-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.recaptcha-container .g-recaptcha {
    margin-bottom: 15px;
}

.recaptcha-status {
    font-size: 14px;
    color: #333333;
    text-align: center;
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    transition: color 0.3s ease;
    font-weight: 500;
}

.recaptcha-status.success {
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.recaptcha-status.error {
    color: #f44336;
    background: rgba(244, 67, 54, 0.1);
}

/* Ensure reCAPTCHA widget is properly centered and styled */
.g-recaptcha {
    transform: scale(1);
    transform-origin: 0 0;
}

/* Download button styling */
.security-verify-success .download-btn {
    margin-top: 20px;
    background: #0066FF;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.security-verify-success .download-btn:hover {
    background: #0052cc;
}

.security-verify-success .download-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .recaptcha-container {
        padding: 15px;
        margin: 15px 0;
    }
    
    .g-recaptcha {
        transform: scale(0.9);
        transform-origin: 0 0;
    }
}

@media (max-width: 480px) {
    .g-recaptcha {
        transform: scale(0.8);
        transform-origin: 0 0;
    }
}
