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

.easyhelp-docs-doc-container {
    background: #fff;
}

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

#primary.easyhelp-docs-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.easyhelp-docs-doc {
    display: block;
    padding: 20px;
}
.mobile #primary.easyhelp-docs-doc .easyhelp-docs-doc-container {
    grid-template-columns: 1fr;
}
.mobile #easyhelp-docs-doc-sidebar {
    margin-bottom: 30px;
}

#easyhelp-docs-doc-content ul {
    margin: 0 0 24px 48px !important;
}

#easyhelp-docs-doc-content li {
    margin-bottom: 12px !important;
}

#easyhelp-docs-doc-content h2,
#easyhelp-docs-doc-content h3,
#easyhelp-docs-doc-content h4,
#easyhelp-docs-doc-content h5,
#easyhelp-docs-doc-content h6,
#easyhelp-docs-doc-content p {
    margin-bottom: 24px !important;
}

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

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

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

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

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

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

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

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

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

/* Pagination */
.easyhelp-docs-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.easyhelp-docs-pagination-prev,
.easyhelp-docs-pagination-next {
    flex: 1;
}

.easyhelp-docs-pagination-next {
    text-align: right;
}

.easyhelp-docs-prev-doc,
.easyhelp-docs-next-doc {
    display: inline-block;
    padding: 10px 20px;
    background: #046bd2;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.2s;
}

.easyhelp-docs-prev-doc:hover,
.easyhelp-docs-next-doc:hover {
    background: #0358a8;
    color: #fff;
}

.easyhelp-docs-prev-doc.disabled,
.easyhelp-docs-next-doc.disabled {
    display: inline-block;
    padding: 10px 20px;
    background: #e9ecef;
    color: #6c757d;
    border-radius: 4px;
    font-size: 14px;
    cursor: not-allowed;
}
