/* Dark Mode Colors Only */

[data-theme="dark"] body #sidebar {
    background-color: #1a1a1a;
}

[data-theme="dark"] body .sidebar-widget {
    border-bottom: 1px solid #333;
}

[data-theme="dark"] body .widget-title {
    color: #e0e0e0;
}

[data-theme="dark"] body .content-section {
    background: #2a2a2a;
}

@media (max-width: 768px) {
    [data-theme="dark"] body #sidebar {
        background-color: #1a1a1a;
    }
}

[data-theme="dark"] body #toc-menu {
    background: #2a2a2a;
    border: 1px solid #404040;
}

[data-theme="dark"] body .toc-header {
    border-bottom: 1px solid #404040;
    background: #333333;
}

[data-theme="dark"] body .toc-header h4 {
    color: #e0e0e0;
}

[data-theme="dark"] body .toc-link {
    color: #b0b0b0;
}

[data-theme="dark"] body .toc-link:hover {
    background-color: rgba(100, 149, 237, 0.15);
    color: #e0e0e0;
}

[data-theme="dark"] body .toc-link.active {
    background-color: rgba(100, 149, 237, 0.15);
    color: #6495ed !important;
    border-left-color: #6495ed;
}

[data-theme="dark"] body .toc-nav::-webkit-scrollbar-track {
    background: #404040;
}

[data-theme="dark"] body .toc-nav::-webkit-scrollbar-thumb {
    background: #666666;
}

[data-theme="dark"] body .toc-nav::-webkit-scrollbar-thumb:hover {
    background: #808080;
}

@media (max-width: 992px) {
    [data-theme="dark"] body #core {
        background-color: #1a1a1a !important;
    }
}

/* Dark Mode Styles - Complete Theme Coverage */

/* Base elements */
[data-theme="dark"] body {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

[data-theme="dark"] body html {
    background-color: #1a1a1a !important;
}

/* Typography */
[data-theme="dark"] body h1, 
[data-theme="dark"] body h2, 
[data-theme="dark"] body h3, 
[data-theme="dark"] body h4, 
[data-theme="dark"] body h5, 
[data-theme="dark"] body h6 {
    color: #ffffff;
}

[data-theme="dark"] body p {
    color: #e0e0e0;
}

[data-theme="dark"] body strong {
    color: #ffffff;
}

[data-theme="dark"] body a {
    color: #4da6ff;
}

[data-theme="dark"] body a:hover {
    color: #66b3ff;
}

[data-theme="dark"] body .docs-fb a { color: #fff; }

/* Code elements */
[data-theme="dark"] body kbd, 
[data-theme="dark"] body code, 
[data-theme="dark"] body pre {
    color: #87ceeb;
    background-color: #1e2a3a;
}

/* Tables */
[data-theme="dark"] body table {
    border-color: #333333;
}

[data-theme="dark"] body table th {
    background-color: #2a2a2a;
    color: #ffffff;
    border-color: #333333;
}

[data-theme="dark"] body table td {
    background-color: #1a1a1a;
    color: #e0e0e0;
    border-color: #333333;
}

/* Blockquotes */
[data-theme="dark"] body blockquote {
    color: #e0e0e0;
}

[data-theme="dark"] body blockquote:before {
    background-color: #0060ff;
    color: #ffffff;
}

/* Forms */
[data-theme="dark"] body input,
[data-theme="dark"] body textarea,
[data-theme="dark"] body select {
    background-color: #2a2a2a;
    color: #ffffff;
    border-color: #333333;
}

[data-theme="dark"] body input::placeholder,
[data-theme="dark"] body textarea::placeholder {
    color: #888888;
}

[data-theme="dark"] body label {
    color: #e0e0e0;
}

/* Header */
[data-theme="dark"] body .header-bg { 
    background-image: none; 
    background: linear-gradient(359deg, #1a1a1a, #0d1929) !important; 
}

[data-theme="dark"] body .header-navbar {
    background-color: transparent;
    border-bottom-color: transparent;
}

[data-theme="dark"] body .header-branding h1 {
    color: #ffffff;
}

[data-theme="dark"] body .header-search {
    padding: 70px 0 10px 0;
}

[data-theme="dark"] body .page-kb-post-archive-category-view .child-list-title:after { background-color: #444;}
[data-theme="dark"] body .page-kb-post-archive-category-view .child-list-title span {
    background-color: #1f1f1f;
}

[data-theme="dark"] body .header-inner { 
    padding-bottom: 0;
}

[data-theme="dark"] body .search-header-headline h3 { 
    margin-bottom: 0; 
    color: #ffffff;
}

[data-theme="dark"] body .search-header-headline h3 strong {
    font-weight: 500 !important;  
    color: #ffffff !important; 
    padding: 0 !important; 
    background: transparent !important; 
    box-shadow: none !important;
}

[data-theme="dark"] body .search-header-headline p { 
    color: #b0b0b0;
}

/* Navigation */
[data-theme="dark"] body .header-menu>ul>li>a { 
    color: #ffffff;
}

[data-theme="dark"] body .header-search-results .more-link { border-color: #444}

[data-theme="dark"] body .header-menu li:last-of-type a:not(.sub-menu a),
[data-theme="dark"] body .header-menu > ul > li > a:hover, 
[data-theme="dark"] body .header-menu > ul > li.m-hover > a,
[data-theme="dark"] body .header-menu li:last-of-type a:not(.sub-menu a) {
    background-color: #0060ff !important;
}

[data-theme="dark"] body .header-menu ul ul {
    background-color: transparent;
}

[data-theme="dark"] body .header-menu ul ul li {
    background-color: #2a2a2a !important;
    border-top-color: #333333;
}

[data-theme="dark"] body .widget.lsvr-kb-categories .m-current-cat>.item-link, 
[data-theme="dark"] body .widget.lsvr-kb-categories .m-current-post>.item-link {
    background: #6495ed20 !important;
	
}

[data-theme="dark"] body .header-menu ul ul a {
    color: #e0e0e0;
}

[data-theme="dark"] body kbd, [data-theme="dark"] body code, [data-theme="dark"] body pre {border: none}

[data-theme="dark"] body tr, [data-theme="dark"] body th, [data-theme="dark"] body td, [data-theme="dark"] body table, [data-theme="dark"] body thead {
    border-color: #444 !important;
}

[data-theme="dark"] body .header-menu ul ul a:hover {
    background-color: #333333;
    color: #ffffff;
}
[data-theme="dark"] body div b,
[data-theme="dark"] body div strong { color: #fff !important; }
[data-theme="dark"] body .post-content div { border-color: #444 !important; }

[data-theme="dark"] body #sidebar .widget.lsvr-kb-categories .m-current-post i, 
[data-theme="dark"] body  #sidebar .widget.lsvr-kb-categories .m-current-post a, 
[data-theme="dark"] body  #sidebar .widget.lsvr-kb-categories .m-current-cat a, 
[data-theme="dark"] body  .c-post-list .post-title a, [data-theme="dark"] body .post-related h6 { color: #fff; }

/* Search */
[data-theme="dark"] body .header-search-form .text-input { 
    background-color: #2a2a2a;
    color: #ffffff !important;
    border: 1px solid #333333 !important;
}

[data-theme="dark"] body .header-search-form .text-input::placeholder {
    color: #888888;
}

[data-theme="dark"] body .header-search-form .submit-btn {
    color: #e0e0e0;
}

[data-theme="dark"] body .header-search-form .submit-btn:hover {
    color: #0060ff;
}

[data-theme="dark"] body .header-search-options {
    background-color: #2a2a2a;
    border-color: #333333;
}

[data-theme="dark"] body .header-search-results {
    background-color: #2a2a2a;
    border-color: #333333 !important;
}

[data-theme="dark"] body .header-search-results ul a {
    color: #e0e0e0;
}

[data-theme="dark"] body .header-search-results ul a:hover,
[data-theme="dark"] body .header-search-results ul .m-active {
    background-color: #404040;
}

[data-theme="dark"] body .header-search-results .results-message {
    color: #b0b0b0;
}

[data-theme="dark"] body .header-search-results .more-link a {
    color: #e0e0e0;
}

[data-theme="dark"] body .header-search-filter label {
    background-color: #333333;
    color: #e0e0e0;
    border-color: #404040;
}

/* Main content */
[data-theme="dark"] body #core {
    background-color: #1a1a1a !important;
}

[data-theme="dark"] body .page-wrapper.m-layout-boxed{
    margin: 40px 0 60px 0;
    box-shadow: none;
    background-color: #1a1a1a;
}

[data-theme="dark"] body .main-header { 
    color: #ffffff;
}

[data-theme="dark"] body .breadcrumbs { 
    color: #b0b0b0;
}

[data-theme="dark"] body .breadcrumbs a {
    color: #b0b0b0;
}

/* Buttons */
[data-theme="dark"] body .c-button {
    background-color: #0060ff;
    color: #ffffff;
    border-color: #0060ff;
}

[data-theme="dark"] body .c-button:hover {
    background-color: #0557df;
}

/* Content grids and cards */
[data-theme="dark"] body .c-content-grid .brick-list>.widget>.widget-inner,
[data-theme="dark"] body .c-content-grid .brick-item-inner {
    background-color: #2a2a2a;
    border-color: #333333 !important;
}

[data-theme="dark"] body .page-kb-post-archive-category-view .category-item-inner {
    background-color: #1f1f1f;
    border-color: #333333 !important;
}

[data-theme="dark"] body .c-content-grid .folder-title {
    color: #ffffff;
}

[data-theme="dark"] body .c-content-grid .folder-text {
    color: #e0e0e0;
}

[data-theme="dark"] body .c-content-grid .folder-links a {
    color: #b0b0b0;
}

[data-theme="dark"] body .c-content-grid .folder-links a:hover {
    color: #0060ff;
}

[data-theme="dark"] body .c-content-grid .cta-brick .brick-item-inner {
    background-color: #2a2a2a !important;
}

/* Alert messages */
[data-theme="dark"] body .c-alert-message {
    background-color: #1e3a5f;
    color: #87ceeb;
}

[data-theme="dark"] body .c-alert-message a {
    color: #87ceeb;
}

[data-theme="dark"] body .c-alert-message strong {
    color: #87ceeb;
}

[data-theme="dark"] body .c-alert-message.m-type-success {
    background-color: #1e3d1e;
    color: #90ee90;
}

[data-theme="dark"] body .c-alert-message.m-type-success a {
    color: #90ee90;
}

[data-theme="dark"] body .c-alert-message.m-type-success strong {
    color: #90ee90;
}

[data-theme="dark"] body .c-alert-message.m-type-warning {
    background-color: #3d3d1e;
    color: #ffd700;
}

[data-theme="dark"] body .c-alert-message.m-type-warning a {
    color: #ffd700;
}

[data-theme="dark"] body .c-alert-message.m-type-warning strong {
    color: #ffd700;
}

/* FAQ and accordion elements */
[data-theme="dark"] body .c-accordion .accordion-item {
    background-color: #2a2a2a;
    border-color: #333333;
}

[data-theme="dark"] body .c-accordion .accordion-item-title {
    color: #ffffff;
}

[data-theme="dark"] body .c-accordion .accordion-item-content {
    color: #e0e0e0;
}

[data-theme="dark"] body .faq-post-list-accordion .post-item {
    background-color: #2a2a2a;
    border-color: #333333;
}

[data-theme="dark"] body .faq-post-list-accordion .post-title {
    color: #ffffff;
}

[data-theme="dark"] body .faq-post-list-accordion .post-content {
    color: #e0e0e0;
}

/* Post lists */
[data-theme="dark"] body .c-post-list {
    background-color: #1a1a1a;
}

[data-theme="dark"] body .c-post-list .post-item:hover {
    background-color: #2a2a2a;
}

[data-theme="dark"] body .c-post-list .post-title a {
    color: #ffffff;
}

[data-theme="dark"] body .c-post-list .post-title a:hover {
    color: #0060ff;
}

[data-theme="dark"] body .c-post-list .post-content {
    color: #e0e0e0;
}

/* Sidebar */
[data-theme="dark"] body #sidebar {
    background-color: #1a1a1a;
}

[data-theme="dark"] body #sidebar .widget {
    border-top-color: #333333;
    background-color: transparent;
}

[data-theme="dark"] body #sidebar .widget-title {
    color: #ffffff;
}

[data-theme="dark"] body #sidebar a {
    color: #b0b0b0;
}

[data-theme="dark"] body #sidebar a:hover {
    color: #0060ff;
}

[data-theme="dark"] body .widget.lsvr-kb-categories .m-current-post a,
[data-theme="dark"] body .widget.lsvr-kb-categories .m-current-cat a {
    color: #ffffff;
}

/* Pagination */
[data-theme="dark"] body #main .navigation.pagination {
    background-color: #2a2a2a;
    border-top-color: #333333;
}

[data-theme="dark"] body #main .navigation.pagination .page-numbers {
    color: #e0e0e0;
    background-color: #333333;
}

[data-theme="dark"] body #main .navigation.pagination .current {
    background-color: #0060ff;
    color: #ffffff;
}

/* Comments */
[data-theme="dark"] body .c-post-comments .comment-body {
    background-color: #2a2a2a;
    border-color: #333333;
}

[data-theme="dark"] body .c-post-comments .comment-author {
    color: #ffffff;
}

[data-theme="dark"] body .c-post-comments .comment-content {
    color: #e0e0e0;
}

[data-theme="dark"] body .c-post-comments .comment-notes {
    background-color: #1e3a5f;
    color: #87ceeb;
}

/* Footer */
[data-theme="dark"] body #footer {
    background-color: #1a1a1a;
}

[data-theme="dark"] body .footer-bottom {
    background-color: transparent;;
    border-top-color: #333333;
}

[data-theme="dark"] body.post-type-archive-lsvr_lore_faq .footer-bottom, 
[data-theme="dark"] body.lsvr_lore_kb-template-default .footer-bottom, 
[data-theme="dark"] body.tax-lsvr_lore_kb_cat .footer-bottom { 
    background-color: transparent;
}

[data-theme="dark"] body .footer-text {
    color: #b0b0b0;
    border-top-color: #333333;
}

[data-theme="dark"] body .footer-menu a {
    color: #b0b0b0;
}

[data-theme="dark"] body .footer-menu a:hover {
    color: #0060ff;
}

[data-theme="dark"] body .footer-social a {
    color: #b0b0b0;
}

[data-theme="dark"] body .footer-widgets {
    background-color: #1a1a1a;
}

[data-theme="dark"] body .footer-widgets .widget-title {
    color: #ffffff;
}

/* Separators */
[data-theme="dark"] body .c-separator {
    border-color: #333333;
}

/* Special elements */
[data-theme="dark"] body .page-kb-post-archive-category-view .category-icon {
    background-color: #1e3a5f;
    color: #0060ff;
}

[data-theme="dark"] body .update-title {
    background-color: #2a2a2a;
    color: #e0e0e0;
    border-left-color: #0060ff;
}

[data-theme="dark"] body .update-title span {
    color: #b0b0b0;
}

/* Changelog badges */
[data-theme="dark"] body ul.changelog .badge.fix {
    color: #ffd700;
    background-color: #3d3d1e;
}

[data-theme="dark"] body ul.changelog .badge.new {
    color: #90ee90;
    background-color: #1e3d1e;
}

[data-theme="dark"] body ul.changelog .badge.update {
    color: #87ceeb;
    background-color: #1e3a5f;
}

/* Mobile toggle */
[data-theme="dark"] body .header-mobile-toggle {
    color: #ffffff;
    border-color: #333333;
}

/* Tabs */
[data-theme="dark"] body .c-tabs .tabs-title-list li {
    color: #e0e0e0;
    border-bottom-color: #333333;
}

[data-theme="dark"] body .c-tabs .tabs-title-list li.m-active {
    color: #ffffff;
    border-bottom-color: #0060ff;
}

[data-theme="dark"] body .c-tabs .tabs-content-list {
    background-color: #2a2a2a;
}

/* Gallery */
[data-theme="dark"] body .gallery-item a:hover {
    opacity: 0.8;
}

/* Mailchimp bar */
[data-theme="dark"] body #mailchimp-top-bar.mctb-medium .mctb-bar {
    background-color: #0060ff;
}
[data-theme="dark"] .c-accordion .accordion-item:before, [data-theme="dark"] .c-accordion .accordion-item-title { color: #fff; }
[data-theme="dark"] body .header-menu > ul > li > ul::before { border-bottom-color: #444; }

[data-theme="dark"] .category-title a { color: #fff; }
[data-theme="dark"] body .c-content-grid .folder-links a, [data-theme="dark"]  .page-kb-post-archive-category-view .child-list a { color: #aeaeae }

[data-theme="dark"] body #mailchimp-top-bar.mctb-medium input {
    background-color: #2a2a2a;
    color: #ffffff;
    border-color: #333333;
}

[data-theme="dark"] body #mailchimp-top-bar.mctb-medium label {
    color: #ffffff;
}

[data-theme="dark"] body .page-wrapper-inner { background: transparent;}
[data-theme="dark"] body .page-kb-post-single .post-related, 
[data-theme="dark"] body .page-kb-post-single .post-related.m-bottom-border,
[data-theme="dark"] body .page-kb-post-single img { border-color: #444; }
[data-theme="dark"] body .column-content:before, [data-theme="dark"] body .column-sidebar:before { background-color: #444; }