.faq-container {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    background-color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}
.faq-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.faq-question {
    color: #007bff;
    cursor: pointer;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}
.faq-question:hover {
    background-color: #e9ecef;
}
.faq-question.active {
    background-color: #007bff;
    color: white;
}
.faq-answer {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
}
.faq-answer.show {
    display: block;
}
.faq-tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    margin-right: 5px;
    margin-bottom: 5px;
}
.faq-tag-bug {
    background-color: #dc3545;
    color: white;
}
.faq-tag-performance {
    background-color: #28a745;
    color: white;
}
.faq-tag-hook {
    background-color: #17a2b8;
    color: white;
}
.faq-tag-state {
    background-color: #ffc107;
    color: #212529;
}
.faq-tag-debug {
    background-color: #6f42c1;
    color: white;
}
.search-box {
    position: relative;
    margin-bottom: 30px;
}
.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}
.search-input {
    padding-left: 40px;
    border-radius: 25px;
}
.category-filter {
    margin-bottom: 20px;
}
.category-btn {
    margin-right: 10px;
    margin-bottom: 10px;
}
.difficulty-indicator {
    width: 60px;
    height: 6px;
    background-color: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
    margin-right: 10px;
}
.difficulty-fill {
    height: 100%;
    background-color: #28a745;
}
.difficulty-easy {
    width: 33%;
}
.difficulty-medium {
    width: 66%;
}
.difficulty-hard {
    width: 100%;
}
.solution-step {
    counter-increment: step-counter;
    margin-bottom: 15px;
    padding-left: 40px;
    position: relative;
}
.solution-step::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
.tooltip-box {
    background-color: #e7f3ff;
    border-left: 4px solid #007bff;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}
.warning-box {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}
.error-box {
    background-color: #f8d7da;
    border-left: 4px solid #dc3545;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}
.faq-stats {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #007bff;
}
.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
}
