.faq-container {
    display: flex;
    min-height: 80vh;
    gap: 20px;
}

.category-sidebar {
    width: 250px;
    /*background: #f8f9fa;*/
    border-radius: 8px;
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    margin-bottom: 8px;
}

.category-link {
    display: block;
    padding: 12px 16px;
    /*color: #495057;*/
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.category-link:hover {
    /*background-color: #e9ecef;*/
    /*color: #212529;*/
    text-decoration: none;
}

.category-link.active {
    /*background-color: #007bff;*/
    /*color: white;*/
    border-color: #007bff;
}

.faq-content {
    flex: 1;
    max-width: calc(100% - 270px);
}

.category-section {
    margin-bottom: 40px;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    /*color: #212529;*/
    margin-bottom: 20px;
    padding-bottom: 10px;
    /*border-bottom: 2px solid #007bff;*/
}

.question-item {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.question-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.question-header {
    /*background: #f8f9fa;*/
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    /*color: #212529;*/
    transition: background-color 0.2s ease;
}

.question-header:hover {
    /*background-color: #e9ecef;*/
}

.question-header.active {
    background-color: #007bff;
    color: white;
}

.toggle-icon {
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.toggle-icon.rotated {
    transform: rotate(180deg);
}

.answer-content {
    padding: 20px;
    /*background: white;*/
    border-top: 1px solid #dee2e6;
    display: none;
}

.answer-content.show {
    display: block;
}

.no-questions {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 40px 20px;
}

@media (max-width: 768px) {
    .faq-container {
        flex-direction: column;
    }

    .category-sidebar {
        width: 100%;
        position: static;
    }

    .faq-content {
        max-width: 100%;
    }
}