/* Knowledge Base Styles */

/* Table of Contents */
.fairy-kb-toc {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 30px;
    padding: 20px;
}

.fairy-kb-toc h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.fairy-kb-related ul li a{
    color: #100f1c
}

.fairy-kb-related ul {
    list-style-type: none;
    padding-left: 1em;
}

.fairy-kb-related ul li::before {
    content: "-";
    margin-right: 0.5em;
    color: #100f1c;   
}

.fairy-kb-toc li {
    margin-bottom: 8px;
}

/* Related Articles */
.fairy-kb-related {
}

.fairy-kb-related h3 {
    margin-top: 0;
    margin-bottom: 15px;
}


.fairy-kb-related li {
    margin-bottom: 8px;
}

/* Search */
.fairy-kb-search {
    margin-bottom: 30px;
    position: relative;
}

.fairy-kb-search-form {
    display: flex;
}

.fairy-kb-search-field {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
}

.fairy-kb-search-submit {
    padding: 10px 20px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.fairy-kb-search-submit:hover {
    background-color: #005a87;
}

.fairy-kb-search-results {
    position: absolute;
    width: 100%;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 5px;
    z-index: 999;
    display: none;
}

.fairy-kb-search-result-item {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}

.fairy-kb-search-result-item:last-child {
    border-bottom: none;
}

.fairy-kb-search-result-title {
    font-weight: bold;
}

.fairy-kb-search-result-excerpt {
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
}

/* Related articles hover effect */
.fairy-kb-related ul li a {
    text-decoration: none;
    transition: text-decoration 0.2s ease;
}
.fairy-kb-related ul li a:hover {
    text-decoration: underline;
} 