/* Keep the viewport width stable while SPA routes replace their content. */
html {
    height: 100%;
    overflow: hidden;
    scrollbar-gutter: stable;
}

body[data-kt-app-layout="light-sidebar"] {
    height: 100vh;
    min-height: 0;
    overflow: hidden !important;
}

body[data-kt-app-layout="light-sidebar"] #kt_app_root {
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

body[data-kt-app-layout="light-sidebar"] #kt_app_page,
body[data-kt-app-layout="light-sidebar"] #kt_app_wrapper,
body[data-kt-app-layout="light-sidebar"] #kt_app_main,
body[data-kt-app-layout="light-sidebar"] #kt_app_main > .d-flex.flex-column.flex-column-fluid {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

body[data-kt-app-layout="light-sidebar"] .gomrok-global-topbar {
    flex: 0 0 auto;
}

body[data-kt-app-layout="light-sidebar"] #kt_app_content {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

body.modal-open[data-kt-app-layout="light-sidebar"] #kt_app_content,
body[data-kt-drawer="on"][data-kt-app-layout="light-sidebar"] #kt_app_content {
    overflow-y: hidden !important;
}

@supports (height: 100dvh) {
    body[data-kt-app-layout="light-sidebar"] {
        height: 100dvh;
    }
}

#kt_app_sidebar.app-sidebar {
    --gomrok-sidebar-width: 324px;
    --gomrok-sidebar-mini: 78px;
    --gomrok-sidebar-gap: 8px;
    --gomrok-sidebar-radius: 24px;
    --gomrok-sidebar-pad: 12px;
    --gomrok-sidebar-ink: #142033;
    --gomrok-sidebar-muted: #6b7b91;
    --gomrok-sidebar-border: rgba(203, 213, 225, .72);
    --gomrok-sidebar-border-soft: rgba(226, 232, 240, .82);
    --gomrok-sidebar-surface: rgba(255, 255, 255, .93);
    --gomrok-sidebar-surface-soft: rgba(248, 251, 255, .86);
    --gomrok-sidebar-hover: rgba(239, 246, 255, .84);
    --gomrok-sidebar-open: rgba(232, 241, 255, .88);
    --gomrok-sidebar-active: linear-gradient(135deg, #5956f5 0%, #2e86f3 58%, #0fb7cf 100%);
    --gomrok-sidebar-shadow: 0 18px 42px rgba(15, 23, 42, .10), inset 0 1px 0 rgba(255, 255, 255, .78);
    width: var(--gomrok-sidebar-width) !important;
    min-width: var(--gomrok-sidebar-width) !important;
    max-width: var(--gomrok-sidebar-width) !important;
    position: fixed !important;
    top: 8px !important;
    right: var(--gomrok-sidebar-gap) !important;
    bottom: 8px !important;
    left: auto !important;
    height: calc(100vh - 16px) !important;
    overflow: hidden !important;
    isolation: isolate;
    color: var(--gomrok-sidebar-ink);
    background:
        linear-gradient(180deg, var(--gomrok-sidebar-surface), var(--gomrok-sidebar-surface-soft));
    border: 1px solid var(--gomrok-sidebar-border) !important;
    border-radius: var(--gomrok-sidebar-radius) !important;
    box-shadow: var(--gomrok-sidebar-shadow) !important;
    transform: translate3d(0, 0, 0);
    transition:
        width 120ms ease,
        min-width 120ms ease,
        max-width 120ms ease,
        transform 120ms ease !important;
    z-index: 107;
}

#kt_app_sidebar::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 84% 4%, rgba(14, 165, 233, .16), transparent 30%),
        radial-gradient(circle at 16% 12%, rgba(124, 58, 237, .11), transparent 28%);
}

#kt_app_sidebar::after {
    content: "";
    position: absolute;
    inset-inline: 20px;
    top: 86px;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, .36), rgba(14, 165, 233, .34), transparent);
}

body[data-kt-app-layout="light-sidebar"] #kt_app_wrapper {
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-right: calc(var(--gomrok-sidebar-width, 324px) + 22px) !important;
    padding-left: 0 !important;
    transition: padding-right 120ms ease !important;
}

/*
 * Route loading placeholders live below the persistent topbar, page title and
 * action bar. Giving them another near-viewport height makes the document
 * overflow only while data is loading, which flashes the browser scrollbar
 * and shifts the SPA shell horizontally.
 */
.pact-route-loading-state {
    min-height: clamp(240px, 52dvh, 600px);
}

@supports not (height: 1dvh) {
    .pact-route-loading-state {
        min-height: clamp(240px, 52vh, 600px);
    }
}

.gomrok-sidebar-brand {
    height: 88px !important;
    min-height: 88px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 14px 14px 10px !important;
}

.gomrok-sidebar-brand-link {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--gomrok-sidebar-ink);
    text-decoration: none;
}

.gomrok-sidebar-brand-mark {
    width: 50px;
    height: 50px;
    border-radius: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(219, 234, 254, .95);
    box-shadow: 0 10px 22px rgba(37, 99, 235, .10);
}

.gomrok-sidebar-brand-mark img {
    width: 43px;
    height: 43px;
    object-fit: contain;
}

.gomrok-sidebar-brand-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.gomrok-sidebar-brand-copy strong {
    color: #0ea5e9;
    font-size: 1.08rem;
    font-weight: 950;
    line-height: 1.1;
    letter-spacing: 0;
}

.gomrok-sidebar-brand-copy small {
    max-width: 168px;
    color: #f59e0b;
    font-size: .72rem;
    font-weight: 850;
    line-height: 1.45;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gomrok-sidebar-collapse,
.gomrok-mobile-menu-toggle {
    border: 1px solid rgba(191, 219, 254, .82);
    color: #2563eb;
    background: rgba(255, 255, 255, .88);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background-color 120ms ease,
        color 120ms ease,
        border-color 120ms ease,
        transform 120ms ease;
}

.gomrok-sidebar-collapse {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    flex: 0 0 auto;
}

.gomrok-sidebar-collapse svg,
.gomrok-mobile-menu-toggle svg,
.gomrok-sidebar-shell .lucide {
    width: 19px;
    height: 19px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gomrok-sidebar-collapse:hover,
.gomrok-sidebar-collapse:focus-visible,
.gomrok-mobile-menu-toggle:hover,
.gomrok-mobile-menu-toggle:focus-visible {
    background: #fff;
    color: #6d28d9;
    border-color: rgba(124, 58, 237, .32);
    outline: 3px solid rgba(99, 102, 241, .16);
    outline-offset: 2px;
    transform: translateY(-1px);
}

.gomrok-sidebar-shell {
    height: calc(100% - 88px);
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 0 var(--gomrok-sidebar-pad) var(--gomrok-sidebar-pad);
}

.gomrok-sidebar-profile {
    min-height: 72px;
    margin-bottom: 12px;
    padding: 11px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid var(--gomrok-sidebar-border-soft);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .86);
}

.gomrok-sidebar-avatar {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--gomrok-sidebar-active);
    box-shadow: 0 10px 22px rgba(79, 70, 229, .18);
    font-size: 1.1rem;
    font-weight: 950;
}

.gomrok-sidebar-profile-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gomrok-sidebar-user-name {
    color: var(--gomrok-sidebar-ink);
    font-size: .94rem;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gomrok-sidebar-user-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #059669;
    font-size: .75rem;
    font-weight: 850;
}

.gomrok-sidebar-online-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .13);
}

.gomrok-sidebar-scroll {
    min-height: 0;
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1px 0 12px 2px;
    scrollbar-width: thin;
    scrollbar-color: rgba(99, 102, 241, .24) transparent;
}

.gomrok-sidebar-scroll::-webkit-scrollbar {
    width: 6px;
}

.gomrok-sidebar-scroll::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, .24);
    border-radius: 999px;
}

.gomrok-sidebar-section {
    margin: 0 0 9px;
}

.gomrok-sidebar-heading {
    padding: 6px 10px 6px;
    color: var(--gomrok-sidebar-muted);
    font-size: .73rem;
    font-weight: 900;
    line-height: 1.5;
}

.gomrok-sidebar-node {
    margin: 3px 0;
}

.gomrok-sidebar-parent,
.gomrok-sidebar-link,
.gomrok-sidebar-footer-link {
    width: 100%;
    min-height: 36px;
    position: relative;
    border: 1px solid transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 7px;
    color: var(--gomrok-sidebar-ink);
    background: transparent;
    text-decoration: none;
    text-align: right;
    cursor: pointer;
    overflow: hidden;
    transition:
        background-color 120ms ease,
        color 120ms ease,
        border-color 120ms ease,
        transform 120ms ease;
}

.gomrok-sidebar-parent::after,
.gomrok-sidebar-link::after,
.gomrok-sidebar-footer-link::after {
    content: "";
    position: absolute;
    inset-block: 10px;
    right: 0;
    width: 3px;
    border-radius: 999px;
    opacity: 0;
    background: linear-gradient(180deg, #7c3aed, #06b6d4);
    transition: opacity 120ms ease;
}

.gomrok-sidebar-parent:hover,
.gomrok-sidebar-parent:focus-visible,
.gomrok-sidebar-link:hover,
.gomrok-sidebar-link:focus-visible,
.gomrok-sidebar-footer-link:hover,
.gomrok-sidebar-footer-link:focus-visible {
    color: #1d4ed8;
    background: var(--gomrok-sidebar-hover);
    border-color: rgba(191, 219, 254, .72);
    outline: none;
}

.gomrok-sidebar-parent.open {
    color: #1d4ed8;
    background: rgba(248, 251, 255, .56);
    border-color: rgba(191, 219, 254, .34);
    box-shadow: none;
}

.gomrok-sidebar-parent.active-parent {
    color: #1d4ed8;
    background: var(--gomrok-sidebar-open);
    border-color: rgba(147, 197, 253, .62);
    box-shadow: inset 2px 0 0 rgba(99, 102, 241, .68);
}

.gomrok-sidebar-parent.open::after {
    opacity: .26;
}

.gomrok-sidebar-parent.active-parent::after {
    opacity: 1;
}

.gomrok-sidebar-parent.open .gomrok-sidebar-icon {
    color: #2563eb;
    background: rgba(255, 255, 255, .72);
    border-color: rgba(219, 234, 254, .9);
}

.gomrok-sidebar-parent.active-parent .gomrok-sidebar-icon {
    color: #2563eb;
    background: #fff;
    border-color: rgba(191, 219, 254, .95);
}

.gomrok-sidebar-link.active,
.gomrok-sidebar-footer-link.active {
    color: #fff;
    background: var(--gomrok-sidebar-active);
    border-color: rgba(255, 255, 255, .46);
    box-shadow: 0 10px 20px rgba(37, 99, 235, .18), inset 0 1px 0 rgba(255, 255, 255, .34);
}

.gomrok-sidebar-link.active::after,
.gomrok-sidebar-footer-link.active::after {
    opacity: 1;
}

.gomrok-sidebar-icon,
.gomrok-sidebar-leaf-icon {
    width: 30px;
    height: 30px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #2563eb;
    background: rgba(255, 255, 255, .76);
    border: 1px solid rgba(219, 234, 254, .9);
    transition:
        transform 120ms ease,
        background-color 120ms ease,
        color 120ms ease;
}

.gomrok-sidebar-link.active .gomrok-sidebar-leaf-icon,
.gomrok-sidebar-footer-link.active .gomrok-sidebar-icon {
    color: #fff;
    background: rgba(255, 255, 255, .2);
    border-color: rgba(255, 255, 255, .3);
}

.gomrok-sidebar-title {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: .9rem;
    font-weight: 850;
    line-height: 1.45;
}

.gomrok-sidebar-chevron {
    width: 20px;
    height: 20px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: currentColor;
    opacity: .7;
    transition:
        transform 120ms ease,
        opacity 120ms ease;
}

.gomrok-sidebar-parent.open .gomrok-sidebar-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.gomrok-sidebar-children {
    margin: 3px 13px 6px 0;
    padding: 3px 8px 3px 0;
    border-right: 1px solid rgba(99, 102, 241, .16);
    animation: gomrokSidebarReveal 120ms ease both;
}

.gomrok-sidebar-link {
    min-height: 34px;
    border-radius: 12px;
}

.gomrok-sidebar-footer {
    flex: 0 0 auto;
    padding-top: 11px;
    border-top: 1px solid rgba(226, 232, 240, .86);
    display: grid;
    gap: 7px;
}

.gomrok-sidebar-footer-link {
    min-height: 42px;
}

.gomrok-sidebar-logout {
    color: #be123c;
}

.gomrok-sidebar-logout:hover,
.gomrok-sidebar-logout:focus-visible {
    color: #e11d48;
}

.gomrok-sidebar-loading {
    margin: 14px 6px;
    padding: 13px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--gomrok-sidebar-muted);
    background: rgba(255, 255, 255, .72);
    border: 1px dashed rgba(99, 102, 241, .24);
    font-size: .8rem;
    font-weight: 850;
}

.gomrok-mobile-menu-toggle {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    position: relative;
    z-index: 112;
}

@keyframes gomrokSidebarReveal {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 992px) {
    body[data-kt-app-sidebar-minimize="on"] {
        --bs-app-sidebar-width: 78px !important;
        --bs-app-sidebar-width-actual: 78px !important;
    }

    body[data-kt-app-sidebar-minimize="on"] #kt_app_sidebar,
    body[data-kt-app-sidebar-minimize="on"] #kt_app_sidebar:hover {
        width: var(--gomrok-sidebar-mini) !important;
        min-width: var(--gomrok-sidebar-mini) !important;
        max-width: var(--gomrok-sidebar-mini) !important;
    }

    body[data-kt-app-sidebar-minimize="on"] #kt_app_wrapper {
        padding-right: calc(var(--gomrok-sidebar-mini, 78px) + 18px) !important;
        padding-left: 0 !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    body[data-kt-app-sidebar-minimize="on"] .gomrok-sidebar-brand {
        height: 106px !important;
        min-height: 106px !important;
        flex-direction: column !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 10px !important;
    }

    body[data-kt-app-sidebar-minimize="on"] .gomrok-sidebar-brand-link {
        justify-content: center;
    }

    body[data-kt-app-sidebar-minimize="on"] .gomrok-sidebar-brand-mark {
        width: 44px;
        height: 44px;
        border-radius: 15px;
    }

    body[data-kt-app-sidebar-minimize="on"] .gomrok-sidebar-brand-mark img {
        width: 38px;
        height: 38px;
    }

    body[data-kt-app-sidebar-minimize="on"] .gomrok-sidebar-brand-copy,
    body[data-kt-app-sidebar-minimize="on"] .gomrok-sidebar-profile-copy,
    body[data-kt-app-sidebar-minimize="on"] .gomrok-sidebar-heading,
    body[data-kt-app-sidebar-minimize="on"] .gomrok-sidebar-title,
    body[data-kt-app-sidebar-minimize="on"] .gomrok-sidebar-chevron,
    body[data-kt-app-sidebar-minimize="on"] .gomrok-sidebar-children {
        display: none !important;
    }

    body[data-kt-app-sidebar-minimize="on"] .gomrok-sidebar-collapse {
        display: inline-flex !important;
        width: 34px;
        height: 34px;
        border-radius: 12px;
    }

    body[data-kt-app-sidebar-minimize="on"] .gomrok-sidebar-collapse svg {
        transform: rotate(180deg);
    }

    body[data-kt-app-sidebar-minimize="on"] .gomrok-sidebar-shell {
        height: calc(100% - 106px);
        padding-inline: 9px;
    }

    body[data-kt-app-sidebar-minimize="on"] .gomrok-sidebar-profile {
        min-height: 52px;
        justify-content: center;
        padding: 6px;
        border-radius: 18px;
    }

    body[data-kt-app-sidebar-minimize="on"] .gomrok-sidebar-avatar {
        width: 40px;
        height: 40px;
        border-radius: 14px;
    }

    body[data-kt-app-sidebar-minimize="on"] .gomrok-sidebar-section {
        margin-block: 7px;
    }

    body[data-kt-app-sidebar-minimize="on"] .gomrok-sidebar-parent,
    body[data-kt-app-sidebar-minimize="on"] .gomrok-sidebar-link,
    body[data-kt-app-sidebar-minimize="on"] .gomrok-sidebar-footer-link {
        width: 48px;
        min-width: 48px;
        height: 48px;
        min-height: 48px;
        margin-inline: auto;
        padding: 0;
        justify-content: center;
        background: rgba(255, 255, 255, .58);
        color: #2563eb;
        box-shadow: none;
    }

    body[data-kt-app-sidebar-minimize="on"] .gomrok-sidebar-parent.open,
    body[data-kt-app-sidebar-minimize="on"] .gomrok-sidebar-parent.active-parent,
    body[data-kt-app-sidebar-minimize="on"] .gomrok-sidebar-link.active,
    body[data-kt-app-sidebar-minimize="on"] .gomrok-sidebar-footer-link.active {
        background: rgba(255, 255, 255, .9);
        color: #2563eb;
        border-color: rgba(99, 102, 241, .28);
        box-shadow: inset 3px 0 0 #6366f1, 0 8px 18px rgba(37, 99, 235, .08);
    }

    body[data-kt-app-sidebar-minimize="on"] .gomrok-sidebar-icon,
    body[data-kt-app-sidebar-minimize="on"] .gomrok-sidebar-leaf-icon,
    body[data-kt-app-sidebar-minimize="on"] .gomrok-sidebar-parent.open .gomrok-sidebar-icon,
    body[data-kt-app-sidebar-minimize="on"] .gomrok-sidebar-parent.active-parent .gomrok-sidebar-icon,
    body[data-kt-app-sidebar-minimize="on"] .gomrok-sidebar-link.active .gomrok-sidebar-leaf-icon,
    body[data-kt-app-sidebar-minimize="on"] .gomrok-sidebar-footer-link.active .gomrok-sidebar-icon {
        width: 36px;
        height: 36px;
        border-radius: 14px;
        color: currentColor;
        background: rgba(255, 255, 255, .78);
        border-color: rgba(219, 234, 254, .86);
    }

    body[data-kt-app-sidebar-minimize="on"] .gomrok-sidebar-scroll {
        padding-left: 0;
    }

    body[data-kt-app-sidebar-minimize="on"] .gomrok-sidebar-footer {
        padding-top: 9px;
    }
}

@media (max-width: 991.98px) {
    #kt_app_sidebar.app-sidebar {
        width: min(360px, calc(100vw - 12px)) !important;
        min-width: 0 !important;
        max-width: min(360px, calc(100vw - 12px)) !important;
        top: 6px !important;
        right: 6px !important;
        bottom: 6px !important;
        left: auto !important;
        height: calc(100dvh - 12px) !important;
        border-radius: 24px !important;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, .985), rgba(247, 251, 255, .965)) !important;
        z-index: 110 !important;
        box-shadow: 0 18px 42px rgba(15, 23, 42, .18), inset 0 1px 0 rgba(255, 255, 255, .86) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        transform: translate3d(calc(100% + 16px), 0, 0) !important;
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        transition:
            transform 120ms ease,
            opacity 120ms ease,
            visibility 120ms ease !important;
    }

    #kt_app_sidebar.app-sidebar.drawer-on {
        transform: translate3d(0, 0, 0) !important;
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
    }

    body[data-kt-app-layout="light-sidebar"] #kt_app_wrapper {
        padding-right: 0 !important;
        padding-left: 0 !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    .gomrok-sidebar-shell {
        height: calc(100% - 88px);
        padding-inline: 10px;
    }

    .gomrok-sidebar-brand {
        padding-inline: 12px !important;
    }

    .gomrok-sidebar-brand-copy,
    .gomrok-sidebar-profile-copy,
    .gomrok-sidebar-title,
    .gomrok-sidebar-chevron,
    .gomrok-sidebar-children {
        display: flex !important;
    }

    .gomrok-sidebar-title,
    .gomrok-sidebar-brand-copy {
        display: inline-flex !important;
    }

    .gomrok-sidebar-collapse {
        display: none !important;
    }

    .gomrok-sidebar-scroll {
        padding-left: 0;
    }

    .gomrok-sidebar-section {
        margin-bottom: 7px;
    }

    .gomrok-sidebar-parent,
    .gomrok-sidebar-link,
    .gomrok-sidebar-footer-link {
        min-width: 0;
        min-height: 34px;
        padding: 4px 6px;
        gap: 7px;
        border-radius: 11px;
    }

    .gomrok-sidebar-icon,
    .gomrok-sidebar-leaf-icon {
        width: 28px;
        height: 28px;
        border-radius: 11px;
    }

    .gomrok-sidebar-title {
        font-size: .86rem;
        line-height: 1.35;
    }

    .gomrok-sidebar-chevron {
        width: 18px;
        height: 18px;
    }

    .gomrok-sidebar-children {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        min-width: 0;
        margin: 2px 6px 5px 0;
        padding: 2px 6px 2px 0;
        border-right-color: rgba(99, 102, 241, .12);
    }

    .gomrok-sidebar-children > .gomrok-sidebar-node,
    .gomrok-sidebar-children > .gomrok-sidebar-link {
        width: 100%;
        min-width: 0;
    }

    .gomrok-sidebar-children .gomrok-sidebar-children {
        margin-right: 4px;
        padding-right: 5px;
    }

    .gomrok-sidebar-parent.active-parent {
        box-shadow: inset 2px 0 0 rgba(99, 102, 241, .62);
    }

    .gomrok-sidebar-link.active {
        box-shadow: 0 8px 16px rgba(37, 99, 235, .14), inset 0 1px 0 rgba(255, 255, 255, .3);
    }
}

html[data-bs-theme="dark"] #kt_app_sidebar.app-sidebar,
[data-bs-theme="dark"] #kt_app_sidebar.app-sidebar {
    --gomrok-sidebar-ink: #edf3ff;
    --gomrok-sidebar-muted: #a7b4c8;
    --gomrok-sidebar-border: rgba(148, 163, 184, .24);
    --gomrok-sidebar-border-soft: rgba(148, 163, 184, .16);
    --gomrok-sidebar-surface: rgba(15, 23, 42, .94);
    --gomrok-sidebar-surface-soft: rgba(15, 23, 42, .88);
    --gomrok-sidebar-hover: rgba(255, 255, 255, .08);
    --gomrok-sidebar-shadow: 0 20px 52px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .10);
}

[data-bs-theme="dark"] .gomrok-sidebar-brand-mark,
[data-bs-theme="dark"] .gomrok-sidebar-collapse,
[data-bs-theme="dark"] .gomrok-mobile-menu-toggle,
[data-bs-theme="dark"] .gomrok-sidebar-profile,
[data-bs-theme="dark"] .gomrok-sidebar-icon,
[data-bs-theme="dark"] .gomrok-sidebar-leaf-icon,
[data-bs-theme="dark"] .gomrok-sidebar-loading {
    background: rgba(15, 23, 42, .64);
    border-color: rgba(148, 163, 184, .18);
}

[data-bs-theme="dark"] .gomrok-sidebar-user-name,
[data-bs-theme="dark"] .gomrok-sidebar-title {
    color: inherit;
}

@media (prefers-reduced-motion: reduce) {
    #kt_app_sidebar.app-sidebar,
    body[data-kt-app-layout="light-sidebar"] #kt_app_wrapper,
    .gomrok-sidebar-parent,
    .gomrok-sidebar-link,
    .gomrok-sidebar-footer-link,
    .gomrok-sidebar-icon,
    .gomrok-sidebar-leaf-icon,
    .gomrok-sidebar-chevron,
    .gomrok-sidebar-collapse,
    .gomrok-mobile-menu-toggle {
        transition: none !important;
    }

    .gomrok-sidebar-children {
        animation: none !important;
    }
}
