/* Simple Google-like Captcha Styles */
.captcha-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-family: 'Roboto', 'Arial', sans-serif;
    color: #333;
}

.captcha-header {
    text-align: center;
    margin-bottom: 25px;
}

.captcha-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.captcha-header h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 400;
    color: #333;
}

.captcha-header p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.captcha-challenge {
    margin: 20px 0;
    text-align: center;
}

.math-question {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #333;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #4285f4;
}

.captcha-input {
    width: 100%;
    max-width: 200px;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
    background: white;
}

.captcha-input:focus {
    outline: none;
    border-color: #4285f4;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

.captcha-input.correct {
    border-color: #4CAF50 !important;
    background-color: #e8f5e8 !important;
}

.captcha-input.incorrect {
    border-color: #f44336 !important;
    background-color: #ffebee !important;
}

.captcha-checkbox {
    margin: 25px 0;
    display: flex;
    justify-content: center;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.checkbox-container:hover {
    background: #e8f0fe;
    border-color: #4285f4;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkmark {
    position: relative;
    margin-right: 10px;
}

.checkbox-text {
    font-weight: 500;
}

.captcha-verify-btn {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    background: #ccc;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: not-allowed;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.captcha-verify-btn.enabled,
.captcha-verify-btn:not(:disabled) {
    background: #4285f4 !important;
    cursor: pointer !important;
    opacity: 1 !important;
}

.captcha-verify-btn.enabled:hover,
.captcha-verify-btn:hover:not(:disabled) {
    background: #3367d6 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.captcha-verify-btn.disabled,
.captcha-verify-btn:disabled {
    background: #ccc !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
    opacity: 0.6 !important;
}

/* Loading states */
.captcha-loading {
    display: none;
    text-align: center;
    padding: 40px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #4285f4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success/Error states */
.captcha-success {
    color: #0f9d58;
    text-align: center;
    padding: 20px;
}

.captcha-error {
    color: #d93025;
    text-align: center;
    padding: 20px;
}

/* Responsive */
@media (max-width: 480px) {
    .captcha-container {
        margin: 20px;
        padding: 20px;
    }
}

/* Anti-inspection styles */
.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

/* Hide from bots */
.honeypot {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}