/**
 * HY Quiz SEO - Compatibility Fix CSS
 * Minimal changes to reduce conflicts with other plugins
 * Version 1.0 - Safe conflict prevention
 */

/* REDUCED AGGRESSION: Only target quiz-specific elements, not global */
.hy-quiz-seo-card {
    /* Keep essential styles but reduce global impact */
    margin-bottom: 18px !important;
    padding: 16px !important;
    border: 1px solid #e7e7e7 !important;
    border-radius: 12px !important;
    background: #fff !important;
    position: relative !important;
}

/* SAFER: Only affect quiz buttons, not all buttons */
.hy-quiz-seo-card .hy-quiz-seo-button,
.hy-quiz-seo-card .hy-quiz-seo-toggle-btn,
.hy-quiz-seo-card .hy-quiz-seo-mark-btn {
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-flex !important;
}

/* PREVENT CONFLICTS: More specific selectors for quiz content */
.hy-quiz-seo-card .hy-quiz-seo-question {
    color: #000000 !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    margin-bottom: 12px !important;
    line-height: 1.5 !important;
}

/* REDUCED HOVER EFFECTS: Only for quiz elements */
.hy-quiz-seo-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08) !important;
    border-color: #d1d1d1 !important;
}

/* SAFER TIMERS: Only quiz timers */
.hy-quiz-seo-card .hy-quiz-seo-timer {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 6px 10px !important;
    border-radius: 20px !important;
    background: #0b5ed7 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 14px !important;
}

/* MINIMAL TRANSITIONS: Only for quiz interactions */
.hy-quiz-seo-card .hy-quiz-seo-answer {
    transition: max-height 0.4s ease, opacity 0.3s ease !important;
}

/* SAFER RESPONSIVE: Only for quiz elements */
@media (max-width: 768px) {
    .hy-quiz-seo-card {
        padding: 12px !important;
        margin-bottom: 15px !important;
    }
    
    .hy-quiz-seo-card .hy-quiz-seo-question {
        font-size: 15px !important;
    }
}