.help-container {
    display: flex;
    min-height: calc(100vh - 60px);
    background: #f8f9fa;
}

.help-sidebar {
    width: 320px;
    min-width: 320px;
    background: #fff;
    border-right: 1px solid #dee2e6;
    overflow-y: auto;
    position: sticky;
    top: 60px;
    height: calc(100vh - 60px);
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #dee2e6;
}

.sidebar-header h3 {
    margin: 0 0 15px;
    font-size: 1.2rem;
    color: #2c3e50;
}

.search-box {
    position: relative;
}

.search-box input {
    padding-right: 40px;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    max-height: 400px;
    overflow-y: auto;
    padding: 5px 8px;
    max-width: 400px;
}

.search-results a{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none!important;
}

.search-results.active {
    display: block;
    background: #fff!important;
}

.search-result-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
}

.search-result-item:hover {
    background: #f8f9fa;
}

.search-result-item .result-kb {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 600;
}

.search-result-item .result-title {
    display: block;
    color: #2c3e50;
    font-weight: 500;
}

.search-result-item .result-category {
    font-size: 0.75rem;
    color: #95a5a6;
}

.sidebar-content {
    padding: 15px;
}

.sidebar-section {
    margin-bottom: 20px;
}

.sidebar-section h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #7f8c8d;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.category-tree, .quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-tree li {
    margin-bottom: 5px;
}

.category-tree a, .quick-links a {
    display: block;
    padding: 6px 10px;
    border-radius: 6px;
    color: #2c3e50;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.category-tree a:hover, .quick-links a:hover {
    background: #e9ecef;
    color: #495057;
}

.category-tree a.active, .quick-links a.active {
    background-color: #6c757d !important;
    color: #fff;
}

.sub-categories {
    list-style: none;
    padding-left: 20px;
    margin-top: 3px;
}

.count {
    font-size: 0.8rem;
    color: #95a5a6;
    margin-left: 5px;
}

.help-main {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.help-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dee2e6;
}

.help-header h1 {
    margin: 0 0 10px;
    color: #2c3e50;
}

.help-header p {
    color: #7f8c8d;
    margin: 0;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.article-card {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.article-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.kb-number,
.kb-number-link {
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    color: #6c757d;
    font-weight: 600;
    text-decoration: none;
}

.kb-number-link:hover {
    color: #343a40;
    text-decoration: underline;
}

.featured-badge {
    background: #ffd700;
    color: #856404;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
}

.featured-star {
    position: absolute;
    top: 10px;
    right: 12px;
    color: #ffc107;
    font-size: 1rem;
    line-height: 1;
}

.article-card h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
    color: #495057;
}

.card-meta {
    font-size: 0.85rem;
    color: #95a5a6;
    margin-bottom: 10px;
}

.card-meta span {
    margin-right: 15px;
}

.card-excerpt {
    color: #7f8c8d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.help-article {
    max-width: 900px;
}

.article-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #dee2e6;
}

.kb-badge {
    display: inline-block;
    background: #6c757d;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.article-header h1 {
    margin: 10px 0;
    color: #2c3e50;
    font-size: 2rem;
}

.article-meta {
    display: flex;
    gap: 20px;
    color: #95a5a6;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.category-tag {
    background: #e9ecef;
    color: #495057;
    padding: 2px 8px;
    border-radius: 50rem;
}

.article-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.article-content {
    line-height: 1.8;
    color: #34495e;
    font-size: 1rem;
}

.article-content h2 {
    margin-top: 30px;
    color: #2c3e50;
}

.article-content h3 {
    margin-top: 20px;
    color: #34495e;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.article-content pre {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 15px;
    overflow-x: auto;
}

.article-content code {
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9rem;
}

.article-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
}

.tag {
    display: inline-block;
    background: #e9ecef;
    color: #495057;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
    margin: 0 5px 5px 0;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #95a5a6;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 20px;
}

.empty-state h3 {
    color: #7f8c8d;
    margin-bottom: 10px;
}

.help-container-public {
    min-height: auto;
    background: transparent;
}

.help-container-public .help-sidebar {
    position: static;
    height: auto;
}

.faq-index-sidebar {
    background: #fff;
    color: #2c3e50;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
}

.faq-index-sidebar .faq-kb-search {
    max-width: none;
    margin: 0 0 20px;
}

.faq-index h3 {
    font-size: 1.1rem;
    margin: 0 0 12px;
    color: #2c3e50;
}

.faq-index-section {
    margin-bottom: 16px;
}

.faq-index-section h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #7f8c8d;
    margin: 0 0 8px;
}

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

.faq-index-list li {
    margin-bottom: 4px;
}

.faq-index-link {
    display: block;
    padding: 8px 10px;
    border-radius: 6px;
    text-decoration: none !important;
    color: #2c3e50;
}

.faq-index-link .faq-index-title {
    display: block;
    font-size: 0.95rem;
    line-height: 1.3;
}

.faq-index-link:hover {
    background: #d1e7dd;
    color: #157347;
}

.faq-index-link.active {
    background: #198754;
    color: #fff;
}

.faq-index-link.active .kb-number {
    color: #fff;
}

.faq-empty-read {
    background: #fff;
    color: #34495e;
    border-radius: 8px;
    padding: 32px 24px;
    margin-bottom: 24px;
}

.faq-kb-search {
    position: relative;
    max-width: 520px;
    margin: 0 auto 24px;
}

.faq-kb-search .search-results {
    max-width: 100%;
}

.faq-article-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-list-item {
    background: #fff;
    color: #34495e;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 24px;
}

.faq-list-header h3 {
    margin: 10px 0;
    font-size: 1.4rem;
}

.faq-list-header h3 a {
    color: #2c3e50;
    text-decoration: none;
}

.faq-list-header h3 a:hover {
    color: #157347;
}

.faq-list-item .article-content {
    margin-top: 16px;
}

.faq-article-panel {
    background: #fff;
    color: #34495e;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 28px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.faq-solutions-heading {
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.faq-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.faq-share-bar {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    align-items: center;
}

.faq-share-btn {
    border-radius: 50rem !important;
}

.faq-share-input {
    flex: 1;
    font-size: 0.85rem;
}

.faq-public-article .article-header h1 {
    color: #2c3e50;
}

.faq-index-sidebar .kb-number,
.faq-list-item .kb-badge,
.faq-article-panel .kb-badge,
.faq-index-sidebar .search-result-item .result-kb {
    color: #198754;
}

.faq-list-item .kb-badge,
.faq-article-panel .kb-badge {
    background: #198754;
    color: #fff;
    border-radius: 50rem;
}

.faq-index-sidebar .search-result-item:hover {
    background: #d1e7dd;
}

.faq-index-sidebar .search-results a,
.faq-index-sidebar .search-result-item .result-title,
.faq-index-link,
.faq-open-link,
.faq-list-header a,
.faq-list-header h3 a,
.faq-article-panel a,
.faq-list-item a,
.faq-featured-list a {
    color: #198754;
    text-decoration: none;
}

.faq-index-sidebar .search-results a:hover,
.faq-index-link:hover,
.faq-open-link:hover,
.faq-list-header a:hover,
.faq-list-header h3 a:hover,
.faq-article-panel a:hover,
.faq-list-item a:hover,
.faq-featured-list a:hover {
    color: #157347;
    background: #d1e7dd;
}

.faq-index-link:hover {
    background: #d1e7dd;
    color: #157347;
}

.faq-index-link.active,
.faq-index-link.active:hover {
    background: #198754;
    color: #fff;
}

.faq-index-link.active .kb-number,
.faq-index-link.active .faq-index-title,
.faq-index-link.active .featured-badge {
    color: #fff;
}

.faq-article-panel .tag,
.faq-list-item .tag,
.faq-featured-list .tag {
    background: #d1e7dd;
    color: #198754;
}

.faq-article-panel .category-tag,
.faq-list-item .category-tag,
.faq-featured-list .category-tag {
    background: #d1e7dd;
    color: #198754;
}

.help-container {
    background: #e9ecef;
}

.help-container .help-sidebar {
    background: #f8f9fa;
    border-right: 1px solid #ced4da;
}

.help-container .sidebar-header {
    background: #dee2e6;
    border-bottom: 1px solid #ced4da;
}

.help-container .sidebar-header h3 {
    color: #495057;
}

.help-container .help-main {
    background: #f4f6f9;
}

.help-container .search-result-item:hover {
    background: #e9ecef;
}

.help-container .search-results a:hover {
    color: #495057;
}

.help-container .article-card {
    border-color: #ced4da;
}

.help-container .article-card:hover {
    border-color: #adb5bd;
    box-shadow: 0 4px 12px rgba(73, 80, 87, 0.12);
}

.help-container .help-article a {
    color: #495057;
}

.help-container .help-article a:hover {
    color: #343a40;
}

@media (max-width: 768px) {
    .help-sidebar {
        display: none;
    }
    
    .help-sidebar.active {
        display: block;
        position: fixed;
        left: 0;
        top: 60px;
        width: 100%;
        height: calc(100vh - 60px);
        z-index: 1000;
    }

    .help-container-public .help-sidebar {
        display: block;
        position: static;
        width: 100%;
        height: auto;
    }
    
    .article-grid {
        grid-template-columns: 1fr;
    }
    
    .help-main {
        padding: 20px;
    }
}