/*== Items Dark Mode ==*/
html[data-theme="dark"] .item-detail-page .table-responsive,
.dark .item-detail-page .table-responsive {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

html[data-theme="dark"] .item-detail-page .table-responsive table,
.dark .item-detail-page .table-responsive table {
    background: #111827;
    color: #e5e7eb;
}

html[data-theme="dark"] .item-detail-page .table-responsive thead th,
.dark .item-detail-page .table-responsive thead th {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

html[data-theme="dark"] .item-detail-page .table-responsive td,
html[data-theme="dark"] .item-detail-page .table-responsive th,
.dark .item-detail-page .table-responsive td,
.dark .item-detail-page .table-responsive th {
    background: transparent;
    color: #e5e7eb;
}

/*== Sidebar ==*/
html[data-theme="dark"] .items-sidebar-inner {
    border-color: rgba(255, 255, 255, 0.08);
    background:
            linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    box-shadow:
            0 18px 40px rgba(0, 0, 0, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .items-sidebar-title {
    border-color: rgba(255, 122, 24, 0.22);
    background: rgba(229, 57, 53, 0.14);
    color: #ff9c8f;
}

html[data-theme="dark"] .items-sidebar-link {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
    color: #f3f4f6;
    box-shadow: none;
}

html[data-theme="dark"] .items-sidebar-link::after {
    background:
            linear-gradient(135deg, rgba(229, 57, 53, 0.1), rgba(255, 122, 24, 0.1));
}

html[data-theme="dark"] .items-sidebar-link:hover {
    border-color: rgba(255, 122, 24, 0.24);
    background:
            linear-gradient(135deg, rgba(229, 57, 53, 0.1), rgba(255, 122, 24, 0.12));
    color: #fff;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .items-sidebar-link.active {
    border-color: transparent;
    background: linear-gradient(135deg, #ff8a2a 0%, #ff5b0a 100%);
    color: #fff;
    box-shadow:
            0 16px 32px rgba(255, 91, 10, 0.3),
            0 8px 24px rgba(229, 57, 53, 0.2);
}

/*== Forms ==*/
html[data-theme="dark"] .form-control-custom {
    border-color: rgba(255, 255, 255, 0.1);
    background: #0f172a;
    color: #fff;
}

/*== Item Detail ==*/
html[data-theme="dark"] .item-detail-description-card {
    border-color: rgba(255, 255, 255, 0.08);
    background: #111827;
}

html[data-theme="dark"] .items-category-card,
html[data-theme="dark"] .items-product-card {
    border-color: rgba(255, 255, 255, 0.08);
    background: #111827;
}

html[data-theme="dark"] .items-product-info {
    background: #0f172a;
}

html[data-theme="dark"] .items-category-image,
html[data-theme="dark"] .items-product-image-wrap,
html[data-theme="dark"] .item-detail-image {
    background: #1f2937;
}
/*== Sidebar Scrollbar - Dark ==*/
html[data-theme="dark"] .items-sidebar-inner {
    scrollbar-color: #475569 #1e293b;
}

html[data-theme="dark"] .items-sidebar-inner::-webkit-scrollbar-track {
    background: #1e293b;
}

html[data-theme="dark"] .items-sidebar-inner::-webkit-scrollbar-thumb {
    background: #475569;
    border: 2px solid #1e293b;
}

html[data-theme="dark"] .items-sidebar-inner::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}