/**
 * CF7 Custom CAPTCHA Styles
 */

.wpcf7-captcha-container {
    margin: 10px 0;
}

.captcha-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.captcha-canvas {
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: white;
    cursor: default;
    user-select: none;
}

.captcha-refresh-btn {
    padding: 8px 12px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.captcha-refresh-btn:hover {
    background-color: #005a87;
}

.captcha-refresh-btn:active {
    transform: scale(0.98);
}

.captcha-input {
    margin-top: 10px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    font-family: monospace;
    letter-spacing: 2px;
}

.captcha-input::placeholder {
    letter-spacing: normal;
    font-family: inherit;
}

.captcha-input:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 3px rgba(0, 115, 170, 0.3);
}

/* Responsive design */
@media (max-width: 600px) {
    .captcha-box {
        flex-direction: column;
        align-items: stretch;
    }
    
    .captcha-canvas {
        width: 100%;
    }
    
    .captcha-refresh-btn {
        width: 100%;
    }
}
