/* FAQ Frontend Styles - Plugin specific styles only */

/* Rich text formatting for FAQ answers */
.faq-answer strong,
.faq-answer b {
    font-weight: bold;
}

.faq-answer em,
.faq-answer i {
    font-style: italic;
}

.faq-answer a {
    color: #0073aa;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.faq-answer a:hover {
    color: #005177;
    text-decoration: none;
}

.faq-answer ul,
.faq-answer ol {
    margin: 1em 0;
    padding-left: 2em;
}

.faq-answer ul {
    list-style-type: disc;
}

.faq-answer ol {
    list-style-type: decimal;
}

.faq-answer li {
    margin-bottom: 0.5em;
    line-height: 1.5;
}

/* Search functionality for shortcode usage */
.faq-search-container {
    margin-bottom: 20px;
    position: relative;
}

.faq-search-input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.faq-search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #666;
}

.faq-no-results {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
}

/* Dark mode support for rich text content */
@media (prefers-color-scheme: dark) {
    .faq-answer strong,
    .faq-answer b {
        color: #000;
    }
    
    .faq-answer a {
        color: #64b5f6;
    }
    
    .faq-answer a:hover {
        color: #90caf9;
    }
    
    .faq-answer ul,
    .faq-answer ol {
        color: inherit;
    }
    
    .faq-answer li {
        color: inherit;
    }
} 