.email-recaptcha-container {
    display: inline-block;
    position: relative;
}

.email-reveal-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.email-reveal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.email-recaptcha-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.recaptcha-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.recaptcha-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
}

.recaptcha-close:hover {
    color: #333;
}

.recaptcha-content h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 22px;
}

.recaptcha-content > p {
    color: #666;
    margin: 0 0 20px 0;
}

.recaptcha-widget-container {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.math-captcha {
    width: 100%;
}

.captcha-question {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    margin: 0 0 15px 0;
    border-radius: 8px;
    text-align: center;
    font-size: 24px;
}

.captcha-answer {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    transition: border-color 0.3s ease;
}

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

.recaptcha-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.recaptcha-submit, .recaptcha-cancel {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.recaptcha-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.recaptcha-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.recaptcha-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.recaptcha-cancel {
    background: #f5f5f5;
    color: #333;
}

.recaptcha-cancel:hover {
    background: #e0e0e0;
}

.recaptcha-error {
    color: #dc3545;
    background: #fee;
    padding: 10px;
    border-radius: 6px;
    margin-top: 15px;
    font-size: 14px;
    text-align: center;
}

.email-display {
    display: inline-flex;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.email-display a {
    text-decoration: none;
    transition: color 0.3s ease;
}

@media (max-width: 480px) {
    .recaptcha-content {
        padding: 20px;
    }
    
    .recaptcha-buttons {
        flex-direction: column;
    }
}