.prod-sidebar {
    --sidebar-bg-start: #0b2a5b;
    --sidebar-bg-end: #071c3d;
    --accent-primary: #2563eb;
    --accent-secondary: #1e40af;
    --accent-light: #60a5fa;
    --accent-text: #1348aa;
    --accent-shadow: rgba(37, 99, 235, 0.35);
}

.dev-sidebar {
    --sidebar-bg-start: #4a0f1f;
    --sidebar-bg-end: #2a0811;
    --accent-primary: #7f1d1d;
    --accent-secondary: #5b1111;
    --accent-light: #ef4444;
    --accent-text: #991b1b;
    --accent-shadow: rgba(127, 29, 29, 0.35);
}

.prod-sidebar,
.dev-sidebar {
    position: sticky;
    background: linear-gradient(180deg, var(--sidebar-bg-start) 0%, var(--sidebar-bg-end) 100%);
    backdrop-filter: blur(14px);
    border-right: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset -1px 0 0 rgba(255,255,255,0.04);
    flex-shrink: 0;
}

.prod-sidebar::after,
.dev-sidebar::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.25), transparent);
}

.custom-sidebar-header {
    padding: 16px 14px;
}

.custom-sidebar-header .brand-text {
    transition: all .2s ease;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    background: linear-gradient(90deg, #ffffff, var(--accent-light), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* .prod-sidebar.hx-sidebar-collapsed .brand-text,
.dev-sidebar.hx-sidebar-collapsed .brand-text {
    font-size: 1rem;
    letter-spacing: 1px;
} */

.hx-sidebar-collapse.overflow-auto.d-md-flex.collapse {
    /* overflow-y: hidden !important; */
    overflow-y: auto !important;

    scrollbar-width: none;
    -ms-overflow-style: none;
}

.hx-sidebar-collapse.overflow-auto.d-md-flex.collapse::-webkit-scrollbar {
    display: none;
}

.hx-sidebar-item.active,
.hx-sidebar-item.hx-active {
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    box-shadow:
        0 6px 18px var(--accent-shadow),
        inset 0 0 0 1px rgba(255,255,255,0.08);
}

.hx-sidebar-item.active::before,
.hx-sidebar-item.hx-active::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 8px;
    bottom: 8px;
    width: 4px;
    border-radius: 10px;
    background: linear-gradient(to bottom, var(--accent-light), var(--accent-primary));
    box-shadow: 0 0 14px var(--accent-light);
}

.hx-sidebar-item-icon,
.expand-icon {
    color: var(--accent-light) !important;
}
/* 
div.stretched-link.collapsed,
div.stretched-link.collapsed::after {
    color: var(--accent-light);
} */

ul.dropdown-menu.hx-sidebar-subitems.show {
    background: linear-gradient(90deg, var(--sidebar-bg-end) 0%, var(--accent-secondary) 100%);
    padding: .8rem;
    display: grid;
    gap: 10px;
}

/* NavTab */
.nav {
    --bs-nav-link-padding-x: 1.4rem;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.nav-pills .nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-weight: 500;
    border: 1px solid #b0b3b8;
    padding: 1.1rem 1.1rem 1.4rem 1.1rem;
    background-color: #ffffff;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    border-bottom: 5px solid;
    width: 250px;
}

.nav-pills .nav-link:hover {
    background: #f7f7f7;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: #1348aa !important;
    background: white;
    border: 1px solid #1348aa;
    border-bottom: 5px solid;
    box-shadow: 0 4px 10px rgb(0 112 224 / 35%);
    transform: translateY(-1px);
}

.nav-pills .nav-link i {
    font-size: 1.5rem;
}

.nav-pills .nav-link.active i {
    color: #1348aa;
}

.nav-group {
    display: flex;
    gap: 5px;
    align-items: center;
}

.nav-title-menu {
    font-size: 14pt;
    color: #3b3b3b;
    font-weight: 500;
}

.nav-link.active .nav-title-menu {
    font-size: 14pt;
    color: #1348aa;
    font-weight: 500;
}

.nav-desc {
    font-size: 11pt;
    color: #7b8290;
    font-weight: 400;
}