/**
 * Docs CSS Fixes
 */

/* Hide the broken Pe-icon pseudo-element */
.code-highlight .copy-code:before {
    display: none !important;
}

/* Style copy button */
.copy-code,
.js-copy-to-clipboard {
    cursor: pointer;
}

/* File tree styling */
.file-tree-list li {
    list-style: none;
}

.file-tree-list li.is-folder {
    cursor: pointer;
}

.file-tree-list li.is-folder > ul {
    margin-left: 20px;
}

/* FAQ styling */
.faq-question {
    cursor: pointer;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: #01a9ac;
}

.faq-question i {
    margin-right: 10px;
    transition: transform 0.2s ease;
    color: #01a9ac;
}

.faq-item.is-open .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 15px 0 15px 28px;
    border-left: 3px solid #01a9ac;
    margin-left: 8px;
    margin-top: 10px;
}

.faq-answer code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 13px;
}

/* Changelog styling */
.changelog-container {
    max-height: 600px;
    overflow-y: auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.changelog-container h1 {
    font-size: 24px;
    border-bottom: 2px solid #01a9ac;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.changelog-container h2 {
    font-size: 20px;
    color: #01a9ac;
    margin-top: 25px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.changelog-container h3 {
    font-size: 16px;
    color: #333;
    margin-top: 15px;
    margin-bottom: 10px;
}

.changelog-container ul {
    padding-left: 25px;
    margin-bottom: 15px;
}

.changelog-container li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.changelog-container code {
    background: #e8e8e8;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 13px;
}

.changelog-container pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

.changelog-container table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.changelog-container th,
.changelog-container td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.changelog-container th {
    background: #01a9ac;
    color: #fff;
}

.changelog-container hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 25px 0;
}
