.easykb-doc-wrapper {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 20px 0;
}

.easykb-doc-container {
    background: #fff;
}

.easykb-doc-container:not(:has(.easykb-lists)) {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

#primary.easykb-doc {
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}
.mobile #primary.easykb-doc {
    display: block;
    padding: 20px;
}
.mobile #primary.easykb-doc .easykb-doc-container {
    grid-template-columns: 1fr;
}
.mobile #easykb-doc-sidebar {
    margin-bottom: 30px;
}

/* Responsive container */
@media (max-width: 768px) {
    .easykb-doc-wrapper {
        padding: 10px 0;
    }

    .easykb-doc-container {
        margin: 0 10px;
        border-radius: 4px;
    }

    #primary.easykb-doc {
        padding: 20px;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .easykb-doc-container .easykb-lists {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
.easykb-docs {
    list-style: none;
    padding-left: 0 !important;
}
.easykb-docs > li:not(:last-child) {
    padding-bottom: 12px;
}
.easykb-docs-list,
.easykb-docs-result {
    margin: auto;
    list-style: none;
}
.easykb-docs-category {
    margin-bottom: 5px;
}
.easykb-docs-category-title {
    cursor: pointer;
    background: #f3f3f3;
    padding: 15px 20px;
    border-radius: 4px;
    font-size: 16px;
}
.easykb-doc-single {
    border-bottom: 1px solid #f3f3f3;
    padding: 10px 15px;
}
.easykb-doc-single:last-child {
    border-bottom: 0px solid #f3f3f3;
    padding-bottom: 10px;
}
#easykb-doc-title {
    margin-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 15px;
    margin-top: 0;
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
}
.easykb-doc-single.active {
    font-weight: 600;
}
#easykb-doc-search {
    margin-bottom: 20px;
}
#search-wrapper {
    position: relative;
    width: 100%;
}
#easykb-search-input {
    width: 100%;
    padding-right: 30px;
    box-sizing: border-box;
}
#easykb-search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #999;
    cursor: pointer;
}
#easykb-rating-wrap {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}
#easykb-rating-wrap p {
    margin-bottom: inherit;
    font-weight: 600;
}

#easykb-breadcrump {
    margin-bottom: 20px;
    font-size: 14px;
    color: #6c757d;
}

#easykb-breadcrump a {
    color: #007bff;
    text-decoration: none;
}

#easykb-breadcrump a:hover {
    text-decoration: underline;
}

/* SHORTCODE */
.easykb-doc-container .easykb-lists {
    display: grid;
    grid-template-columns: repeat(3, 1fr);;
    gap: 30px;
}
.easykb-topic {
    border: 1px solid #dedede75;
    border-radius: 6px;
    position: relative;
    transition: all 0.2s;
}
.easykb-topic:hover {
    box-shadow: 0px 4px 16px 2px #00000012;
}
.easykb-topic h3 {
    font-size: 1.05rem;
    font-weight: 400;
    border-bottom: 1px solid #0000000a;
    padding: 10px;
    margin-bottom: 0;
    background: #0000000a;
}
.easykb-topic-docs {
    padding: 15px 20px;
}

.easykb-more {
    text-align: right;
    padding-right: 10px;
}
.easykb-more > a {
    border: 1px solid #046bd200;
    text-decoration: none !important;
    background: #046bd2;
    padding: 4px 10px;
    color: #fff;
    border-radius: 5px;
    font-size: 14px;
}
.easykb-more > a:hover {
    border: 1px solid #046bd2;
    background: #ffffff;
    color: #046bd2;
}
