#kt_aside {
    background: #fff;
}

.l-section {
    overflow: auto;
}

:root {
    --primary: #1776EB;
    --warning: #ff8330;
    --hover-primary: #014dab;
    --sec-primary: #DDF3FF;
    --trans-primary: rgba(160, 122, 201, 0.1);
}

/* Site header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #ffffff;
}

.header-main {
    --header-control-height: 36px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    align-items: center;
    padding: 0 0.5rem;
}

.header-main .brand-link {
    display: flex;
    align-items: center;
    height: var(--header-control-height);
    flex-shrink: 0;
    margin-inline-end: 3 rem;
}

.header-main .nav-menu {
    margin-inline-start: 0;
    gap: 1rem;
}

.header-main .nav-menu .nav-link {
    font-size: 1.15rem;
    padding: 0 1.25rem;
}

.header-main .brand-link img {
    height: var(--header-control-height);
    max-height: var(--header-control-height);
    width: auto;
    object-fit: contain;
}

.header-main .nav-menu .nav-item {
    display: flex;
    align-items: center;
}

.header-main .nav-link {
    color: #3f4254;
    font-weight: 400;
    padding: 0 0.95rem;
    font-size: 1rem;
    line-height: var(--header-control-height);
    height: var(--header-control-height);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease, background 0.2s ease;
}

.header-main .nav-link:hover {
    color: #ff8330;
    background: rgba(255, 131, 48, 0.08);
}

.header-main .nav-link.active {
    color: #ff8330;
    background: rgba(255, 131, 48, 0.12);
}

.header-main .nav-menu .menu-item-active .nav-link {
    color: #ff8330;
    background: rgba(255, 131, 48, 0.12);
    font-weight: 400;
    padding-right: 1.10rem;
    padding-left: 1.10rem;
}

.header-main .nav-link.active,
.header-main .nav-item.menu-item-active .nav-link {
    font-weight: 400;
}

.header-main .nav-menu .menu-item-active .nav-link:after {
    display: none;
}

.header-desktop {
    flex-grow: 1;
    height: 100%;
}

.header-desktop .desktop-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.header-main .nav-menu,
.header-main .nav-actions {
    flex-direction: row;
    align-items: center;
    margin: 0;
}

.header-main .nav-actions {
    gap: 0.5rem;
}

.header-main .nav-actions .nav-item {
    display: flex;
    align-items: center;
}

.header-main .nav-actions .nav-item + .nav-item {
    margin-right: 0;
}

.header-main .btn-login,
.header-main .btn-search {
    border-radius: 12px;
    min-height: var(--header-control-height);
    height: var(--header-control-height);
    padding: 0 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.header-main .lang-select {
    min-width: 61px;
    min-height: var(--header-control-height);
    height: var(--header-control-height);
    padding: 0 6px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #f7f8fb;
    display: flex;
    align-items: center;
}

.header-main .lang-select select {
    border: none;
    background: transparent;
    font-size: 0.85rem;
    font-weight: 500;
    color: #3f4254;
    padding: 0 0.25rem;
    cursor: pointer;
    min-height: auto;
    height: 100%;
    line-height: var(--header-control-height);
}

.header-main .lang-select select:focus {
    box-shadow: none;
    outline: none;
}

@media (max-width: 991.98px) {
    .header-main {
        --header-control-height: 32px;
    }
}

@media (max-width: 991.98px) {
    #kt_content {
        padding-top: 1rem !important;
    }
}

.trans {
    transition: 0.5s ease-in-out !important;
}

.w-30px {
    width: 30px !important;
}

.hr-comment {
    border-top: 2px solid rgba(0, 0, 0, .1);
    border-style: dashed;
}

.border-setter .nav-item {
    display: flex;
    align-items: center;
    border-top: 2px solid transparent;
    border-bottom: 2px solid transparent;
}

.border-setter .nav-item>a,
.border-setter .nav-item a.nav-link {
    display: flex;
    align-items: center;
    padding: 10px 8px;
    margin: 0 15px;
    border-radius: 10px;
    font-size: 1.4rem;
    color: #3f4254;
}

@media screen and (min-width: 1200px) and (max-width: 1400px) {

    .border-setter .nav-item>a,
    .border-setter .nav-item a.nav-link {
        padding: 10px 5px;
        font-size: 1.4rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 1400px) {

    .border-setter .nav-item>a,
    .border-setter .nav-item a.nav-link {
        padding: 10px 0px;
        white-space: nowrap;
        font-size: 1.2rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 900px) {

    .border-setter .nav-item>a,
    .border-setter .nav-item a.nav-link {
        padding: 10px 0px;
        white-space: nowrap;
        font-size: 1rem;
    }
}

.popular-tag {
    position: absolute;
    top: 20px;
    left: -30px;
    background: #ff8330;
    color: white;
    padding: 5px 40px;
    transform: rotate(-45deg);
    font-weight: bold;
}

.features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features li {
    font-size: 14px;
    margin-bottom: 5px;
}

.border-setter .nav-item a.nav-link {
    position: relative;
}

.navbar-dark .navbar-nav .show>.nav-link {
    padding-left: 0.7rem !important;
    padding-right: 0.7rem !important;
}

.menu-item-active a.nav-link {
    position: relative;
    padding-right: 10px;
    font-weight: bolder;
}

.text-default {
    color: #3f4254 !important;
}

.navbar-nav .nav-item i {
    color: #3f4254
}

.menu-item-active a.nav-link:after {
    width: 7px;
    background: var(--primary);
    height: 7px;
    border-radius: 50%;
    position: absolute;
    content: "";
    right: -5px;
}

table.custom-table thead tr th:first-child {
    border-right: 2px solid #eee;
    border-radius: 0 5px 5px 0;
    background: var(--primary);
    color: #fff
}

table.custom-table thead tr th {
    border-radius: 0;
    background: var(--primary);
    color: #fff
}

table.custom-table thead tr th:last-child {
    border-left: 2px solid #eee;
    border-radius: 5px 0 0 5px;
    background: var(--primary);
    color: #fff
}

table.custom-table tbody tr {
    border: 5px solid #eee;
}

table.custom-table tr td {
    background: #fff;
    padding: 0.5rem;
}

table.custom-table tr td:first-child {
    background: #fff;
    border-radius: 0 10px 10px 0;
}

table.custom-table tr td:last-child {
    background: #fff;
    border-radius: 10px 0 0 10px;
}

.card.card-custom {
    background: #fff;
    border: 1px solid #ebedf3;
    box-shadow: none;
}


.card.card-custom>.card-header {
    min-height: 55px;
}

.nav-item a i {
    color: #fff;
}

.dropdown-menu {
    left: auto !important;
    right: 0 !important;
}

.nav-item .dropdown-item i {
    width: 28px;
}

.nav-item .dropdown-item:not(.active) i {
    color: #181c32;
}

.menu-item-active .dropdown a.nav-link {
    padding: 10px 0.7rem;
    margin: 0 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
}

.menu-item-active .dropdown a.nav-link i {
    margin-left: 5px;
}

.bg-black {
    background: #2b2b2b !important;
}

.border-dashed {
    border-style: dashed !important;
}

.footer-picture {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    opacity: 0.1;
}

.bg-000 {
    background: #000 !important;
}

.modal-footer {
    flex-direction: row-reverse;
    justify-content: end;
}

.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show>.nav-link {
    background: transparent !important;
}

.hovereffect {
    float: left;
    overflow: hidden;
    position: relative;
    text-align: center;
}

.hovereffect .overlay {
    position: absolute;
    overflow: hidden;
    width: 80%;
    height: 80%;
    left: 10%;
    top: 10%;
    border-bottom: 1px solid #FFF;
    border-top: 1px solid #FFF;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: scale(0, 1);
    -ms-transform: scale(0, 1);
    transform: scale(0, 1);
}

.hovereffect:hover .overlay {
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.hovereffect img {
    display: block;
    position: relative;
    -webkit-transition: all 0.35s;
    transition: all 0.35s;
}

.hovereffect:hover img {
    filter: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="filter"><feComponentTransfer color-interpolation-filters="sRGB"><feFuncR type="linear" slope="0.6" /><feFuncG type="linear" slope="0.6" /><feFuncB type="linear" slope="0.6" /></feComponentTransfer></filter></svg>#filter');
    filter: brightness(0.6);
    -webkit-filter: brightness(0.6);
}

.hovereffect h2 {
    text-transform: uppercase;
    text-align: center;
    position: relative;
    font-size: 17px;
    background-color: transparent;
    color: #FFF;
    padding: 1em 0;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
}

.hovereffect a,
.hovereffect p {
    color: #FFF;
    padding: 1em 0;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
}

.hovereffect:hover a,
.hovereffect:hover p,
.hovereffect:hover h2 {
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.navbar-toggler {
    background: transparent;
}

.site-header .navbar-toggler {
    padding: 0;
}

@media (min-width: 992px) {
    .navbar-collapse {
        height: 100% !important;
    }
}

.mobile-menu .menu-item-active {
    border-right: 2px solid var(--primary);
}

.mobile-menu .menu-item-active a,
.mobile-menu .nav-item:hover a {
    color: var(--primary) !important;
    display: flex;
    align-items: center;
    background: transparent;
}

.mobile-menu .menu-item-active a,
.mobile-menu .nav-item:hover a i {
    color: var(--primary) !important;
}

.mobile-menu a.nav-link {
    display: flex;
    align-items: center;
    background: transparent;
    color: #707070;
}

.navbar-dark .navbar-nav.mobile-menu .nav-link {
    color: #707070;
}

.mobile-menu a.nav-link i {
    color: #707070;
}

.mobile-menu .menu-item-active i {
    color: var(--primary) !important;
}

.tooltip.show {
    opacity: 1;
}

.bs-tooltip-auto[x-placement^=top],
.bs-tooltip-top {
    padding: 0.4rem 0;
}

.tooltip {
    position: absolute;
    z-index: 1070;
    display: block;
    margin: 0;
    font-family: IRANSans, Helvetica, sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    text-align: right;
    text-align: start;
    text-decoration: none;
    text-shadow: none;
    text-transform: none;
    letter-spacing: normal;
    word-break: normal;
    word-spacing: normal;
    white-space: normal;
    line-break: auto;
    font-size: .9rem;
    word-wrap: break-word;
    opacity: 0;
}

.fade {
    -webkit-transition: opacity .15s linear;
    transition: opacity .15s linear;
}

*,
::after,
::before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

a.item-custom-color {
    position: relative;
    border: 2px solid #fff;
}

a.item-custom-color:hover {
    border: 2px solid #000;
}

.item-custom-color.success {
    background: #39a951;
    color: #fff;
}

.item-custom-color.danger {
    background: #dc5563;
    color: #fff;
}

.item-custom-color.success-s {
    background: #007c22;
    color: #fff;
}

.item-custom-color.danger-s {
    background: #94000f;
    color: #fff;
}

.item-custom-color.secondary {
    background: #eee;
    color: #2d2d2d;
}

.overflow-visible {
    overflow: visible !important;
}

#tree-chart tspan {
    font-family: IRANSans, Sans-serif;
    font-weight: 300 !important;
}

.apexcharts-tooltip .fa {
    font-family: "Font Awesome 5 Free", Sans-serif !important;
}

.scroll-sm::-webkit-scrollbar {
    height: 5px !important;
    width: 5px !important;
}

.filter-gray {
    filter: grayscale(1) !important;
}

.gap-1 {
    gap: .25rem !important
}

.gap-2 {
    gap: .5rem !important
}

.gap-3 {
    gap: 1rem !important
}

.gap-4 {
    gap: 1.5rem !important
}

.gap-5 {
    gap: 3rem !important
}

.table.first-freeze {
    position: relative;
}

.table.first-freeze tr th:first-child {
    background: #1776EB;
}

.table.first-freeze tr td:first-child {
    background: #fff;
}

.table.first-freeze tr:nth-of-type(even) td:first-child {
    background: #f9f9f9;
}

.table.tr-hover tbody tr:hover,
.table.tr-hover.first-freeze tbody tr:hover td:first-child {
    background: #DDF3FF !important;
}

.table.first-freeze tr td:first-child,
.table.first-freeze tr th:first-child {
    position: sticky;
    right: 0;
    top: auto;
}

.floating-holder {
    position: fixed;
    right: 20px;
    bottom: 20px;
}

.floating-container {
    display: flex;
    align-items: center;
    position: relative;
}

#floating-toggle {
    -webkit-appearance: none;
}

.floating-button {
    box-shadow: 2px 2px 7px rgb(81 81 81 / 29%);
    position: absolute;
    z-index: 999;
    width: 55px;
    height: 55px;
    background: var(--primary);
    border-radius: 100%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 0px;
}

.floating-nav {
    z-index: -999;
    opacity: 0;
    transition: all 0.4s ease-in-out;
    background: #fff;
    width: 100%;
    border-radius: 5px;
    transform: translateY(0%);
    box-shadow: 2px 2px 7px rgb(81 81 81 / 29%);
    border: 1px solid #e4e4e4;
    padding: 5px 10px;
}

.floating-nav ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.floating-nav a {
    padding: 12px 0;
    text-decoration: none;
    font-size: 14px;
    padding-left: 20px;
}

.floating-nav a {
    /*color: var(--dark);*/
}

#floating-toggle:checked~.floating-nav {
    z-index: 9999;
    opacity: 1;
    transform: translateY(-30%);
}

#floating-toggle:checked~.floating-button:before {
    transform: rotate(225deg);
}

#floating-toggle:checked~.floating-button:after {
    transform: rotate(135deg);
}

.overflow-x-auto {
    overflow-x: auto;
}

.bg-bronze {
    background: #a24400;
}

.bg-silver {
    background: rgb(104, 144, 162);
}

.bg-gold {
    background: #ecb500;
}

.bg-primary-hover {
    background: var(--hover-primary) !important;
}

.bg-black-hover {
    background: #000;
}

.text-primary-hover {
    color: var(--hover-primary) !important;
}

.text-muted-black {
    color: #9E9E9E !important;
}

.rotate-180 {
    transform: rotate(180deg) !important;
}

.border-10 {
    border-width: 12px !important;
}

@media (min-width: 1000px) {
    .mt-sm-n20 {
        margin-top: -50px !important;
    }
}

@media (max-width: 1000px) {
    .mt-sm-n20 {
        margin-top: 0 !important;
    }
}

svg.apexcharts-svg {
    background-image: url(/static/assets/media/damirco-chart.png) !important;
    background-position: top center !important;
    background-repeat: no-repeat !important;
}

.apexcharts-tooltip {
    direction: rtl;
    font-family: IRANSans, Arial, sans-serif;
}

.apexcharts-tooltip-marker {
    margin-right: 0 !important;
    margin-left: 10px;
}

.overflow-y-auto {
    overflow-y: auto !important;
    overflow-x: hidden;
}

.show-icon-on-hover>div.hider {
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.show-icon-on-hover:hover>div.hider {
    opacity: 1;
    pointer-events: auto;
    transition: 0.3s;
}

.datepicker-plot-area * {
    font-family: 'IRANSans', Sans-serif !important;
}

.toast-top-right {
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
}

#toast-container>div {
    opacity: .95;
    width: 450px !important;
}

#toast-container .toast-message {
    font-size: 15px;
}

.bg-gradient {
    background: linear-gradient(226deg, #c8b2fb, #f2caff, #f7dfff, #f7e5fe) !important
}

.text-black {
    color: #212121
}

body {
    background: #FBFBFB !important;
}

.owl-nav {
    display: none !important
}

@media (max-width: 992px) {
    .absolute-owl-nav .item {
        margin: 0 20px !important;
    }

    .absolute-owl-nav .owl-nav {
        width: 106% !important;
        left: -3% !important;
    }

    .owl-theme .owl-nav [class*=owl-] {
        margin: 0 !important;
        padding: 0 !important;
    }

    #toast-container>div {
        max-width: 80vw !important;
    }
}

.absolute-owl-nav .owl-nav {
    display: flex !important;
    z-index: -1;
    position: absolute;
    width: 108%;
    justify-content: space-between;
    top: calc(50% - 60px);
    left: -4%;
}

.absolute-owl-nav .owl-nav button {
    font-size: 4rem !important;
    padding: 1rem !important;
    background-color: transparent !important;
    color: var(--primary) !important
}

.absolute-owl-nav .owl-nav button:hover {
    background-color: transparent !important;
    color: var(--hover-primary) !important
}

.owl-dots {
    display: none !important;
    margin-top: 10px;
}

.select2-selection__clear {
    border: 2px solid transparent !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__clear {
    float: left
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
    float: right;
}

.images-max-100 img {
    height: fit-content !important;
    max-width: 100% !important;
    object-fit: contain !important;
}

.btn-warning {
    color: #fff !important;
}

.font-size-16 {
    font-size: 16px;
}

@media (max-width: 991.98px) {
    .font-size-16 {
        font-size: 13px !important;
    }
}

@media (max-width: 1199.98px) {
    .font-size-16 {
        font-size: 14px !important;
    }
}

html[dir="ltr"] .ml-0 {
    margin-left: 0 !important
}

html[dir="ltr"] .mr-0 {
    margin-left: 0 !important
}

html[dir="ltr"] .mr-1 {
    margin-right: .25rem !important
}

html[dir="ltr"] .ml-1 {
    margin-left: .25rem !important
}

html[dir="ltr"] .mr-2 {
    margin-right: .5rem !important
}

html[dir="ltr"] .ml-2 {
    margin-left: .5rem !important
}

html[dir="ltr"] .mr-3 {
    margin-right: .75rem !important
}

html[dir="ltr"] .ml-3 {
    margin-left: .75rem !important
}

html[dir="ltr"] .mr-4 {
    margin-right: 1rem !important
}

html[dir="ltr"] .ml-4 {
    margin-left: 1rem !important
}

html[dir="ltr"] .mr-5 {
    margin-right: 1.25rem !important
}

html[dir="ltr"] .ml-5 {
    margin-left: 1.25rem !important
}

html[dir="ltr"] .ml-auto {
    margin-left: auto !important;
}

html[dir="ltr"] .mr-auto {
    margin-right: auto !important;
}

html[dir="ltr"] body {
    text-align: left
}

html[dir="ltr"] .fa-angle-left:before {
    content: "";
}

html[dir="ltr"] .fa-angle-right:before {
    content: "";
}

@media (min-width: 576px) {
    html[dir="ltr"] .text-sm-left {
        text-align: left !important;
    }
}

html[dir="ltr"] .pl-0 {
    padding-left: 0 !important
}

html[dir="ltr"] .pl-1 {
    padding-left: .25rem !important
}

html[dir="ltr"] .pl-2 {
    padding-left: .5rem !important
}

html[dir="ltr"] .pl-3 {
    padding-left: .75rem !important
}

html[dir="ltr"] .pl-4 {
    padding-left: 1rem !important
}

html[dir="ltr"] .pl-5 {
    padding-left: 1.25rem !important
}

html[dir="ltr"] .pl-6 {
    padding-left: 1.5rem !important
}

html[dir="ltr"] .pl-7 {
    padding-left: 1.75rem !important
}

html[dir="ltr"] .pl-8 {
    padding-left: 2rem !important
}

html[dir="ltr"] .pl-9 {
    padding-left: 2.25rem !important
}

html[dir="ltr"] .pl-10 {
    padding-left: 2.5rem !important
}

html[dir="ltr"] .pr-0 {
    padding-right: 0 !important
}

html[dir="ltr"] .pr-1 {
    padding-right: .25rem !important
}

html[dir="ltr"] .pr-2 {
    padding-right: .5rem !important
}

html[dir="ltr"] .pr-3 {
    padding-right: .75rem !important
}

html[dir="ltr"] .pr-4 {
    padding-right: 1rem !important
}

html[dir="ltr"] .pr-5 {
    padding-right: 1.25rem !important
}

html[dir="ltr"] .pr-6 {
    padding-right: 1.5rem !important
}

html[dir="ltr"] .pr-7 {
    padding-right: 1.75rem !important
}

html[dir="ltr"] .pr-8 {
    padding-right: 2rem !important
}

html[dir="ltr"] .pr-9 {
    padding-right: 2.25rem !important
}

html[dir="ltr"] .pr-10 {
    padding-right: 2.5rem !important
}

html[dir="ltr"] .text-left {
    text-align: left !important
}

html[dir="ltr"] body {
    font-family: Tahoma, Sans-serif, monospace;
}

.m-n5px {
    margin: -5px !important;
}

.right-auto {
    right: auto !important;
}

.dropdown-menu.dropdown-menu-left-0 {
    left: 0 !important;
}

.with-table table {
    border: 1px solid #ebedf3;
    width: 100%;
    margin-bottom: 1rem;
    color: #3f4254;
    background-color: transparent;
    border-collapse: collapse;
    text-align: center !important;
}

@media (max-width: 991.98px) {
    .with-table table {
        margin: 1rem -2.25rem !important;
        width: calc(100% + 4.5rem) !important;
    }
}

.with-table table th,
.with-table table td {
    vertical-align: middle !important;
    border: 1px solid #ebedf3 !important;
    padding: .3rem !important;
    font-size: 1rem;
    text-align: center !important;
}

.with-table table thead {
    background: #f5f5f5 !important;
    font-weight: bold !important;
}

.with-table table p {
    margin: 3px 0 !important;
}

.ratio-1x1 {
    aspect-ratio: 1 / 1 !important;
}

.with-table {
    line-height: 2.2;
    text-align: justify;
}

.with-table h1,
.with-table h2,
.with-table h3,
.with-table h4,
.with-table h5,
.with-table h6 {
    margin-bottom: 1rem;
    margin-top: 1rem;
    font-weight: bold;
}

.with-table p,
.with-table ol,
.with-table ul {
    margin-bottom: 1.2rem;
    margin-top: -0.5rem;
}


.with-table li p {
    margin-bottom: 0.3rem;
}


.with-table tbody tr:nth-child(even) {
    background: #f7f7f7;
}

.with-table thead {
    background: #353535 !important;
    color: #fff !important;
}

.with-table thead th,
.with-table thead td {
    background: #353535 !important;
    color: #fff !important;
}

.with-table img {
    border-radius: 1rem;
    margin: auto;
    display: flex;
    margin-bottom: 3rem;
}

/* Virgool-inspired article typography for product descriptions */
.with-table.product-prose {
    color: #323232;
    font-family: IRANSans, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 2;
    text-align: right;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.with-table.product-prose p {
    margin-top: 16px;
    margin-bottom: 20px;
}

.with-table.product-prose h1 {
    font-size: 24px;
    line-height: 2;
    font-weight: 900;
    color: #323232;
    margin-top: 0;
    margin-bottom: 20px;
}

.with-table.product-prose h2,
.with-table.product-prose h3 {
    font-size: 26px;
    line-height: 2;
    font-weight: 700;
    color: #323232;
    margin-top: 0;
    margin-bottom: 20px;
}

.with-table.product-prose h4 {
    font-size: 22px;
    line-height: 2;
    font-weight: 700;
    color: #323232;
    margin-top: 0;
    margin-bottom: 20px;
}

.with-table.product-prose h5 {
    font-size: 18px;
    line-height: 1.8;
    font-weight: 700;
    color: #323232;
    margin-top: 0;
    margin-bottom: 16px;
}

.with-table.product-prose h6 {
    font-size: 16px;
    line-height: 1.8;
    font-weight: 700;
    color: #323232;
    margin-top: 0;
    margin-bottom: 16px;
}

.with-table.product-prose a {
    color: #107abe;
    text-decoration: none;
}

.with-table.product-prose a:hover {
    text-decoration: underline;
}

.with-table.product-prose strong,
.with-table.product-prose b {
    font-weight: 700;
    color: #323232;
}

.with-table.product-prose ul,
.with-table.product-prose ol {
    margin-top: 16px;
    margin-bottom: 20px;
    padding-right: 1.5rem;
    padding-left: 0;
}

.with-table.product-prose li {
    margin-bottom: 8px;
    line-height: 2;
}

.with-table.product-prose li p {
    margin-top: 0;
    margin-bottom: 8px;
}

.with-table.product-prose img {
    border-radius: 8px;
    margin: 24px auto;
    display: block;
    max-width: 100%;
}

.with-table.product-prose blockquote {
    border-right: 4px solid #107abe;
    border-left: none;
    padding: 12px 20px;
    margin: 20px 0;
    color: #6e6e6e;
    background: #f8f9fa;
    border-radius: 4px;
}

.with-table.product-prose hr {
    border: 0;
    border-top: 1px solid #e9ecef;
    margin: 28px 0;
}

@media (max-width: 991.98px) {
    .with-table.product-prose {
        font-size: 15px;
        line-height: 1.9;
    }

    .with-table.product-prose h1 {
        font-size: 22px;
    }

    .with-table.product-prose h2,
    .with-table.product-prose h3 {
        font-size: 22px;
    }

    .with-table.product-prose h4 {
        font-size: 19px;
    }
}

.owl-stage-outer,
.owl-carousel {
    direction: rtl !important;
}

.form-control-sm {
    padding: 0.25rem .75rem;
}

.business-card {
    display: block;
    height: 100%;
    overflow: hidden;
    text-decoration: none !important;
}

.business-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0.85rem;
}

.business-card-img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin-bottom: 0.85rem;
    background: #f3f6f9;
}

.business-card-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1 1 auto;
}

.business-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.45;
    color: #181c32;
    margin: 0;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.business-card-summary {
    margin-top: 0.35rem;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.5;
    color: #7e8299;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.business-card-price {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #3f4254;
}

.business-card-cta {
    align-self: flex-start;
    margin-top: auto;
    padding-top: 0.75rem;
}

@media (max-width: 991.98px) {
    .business-card-inner {
        flex-direction: row;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.75rem;
    }

    .business-card-img {
        width: 84px;
        min-width: 84px;
        height: 84px;
        aspect-ratio: auto;
        margin-bottom: 0;
    }

    .business-card-title {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .business-card-summary {
        font-size: 0.75rem;
        -webkit-line-clamp: 2;
    }

    .business-card-price {
        font-size: 0.75rem;
    }

    .business-card-cta {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .owl-carousel .business-card-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .owl-carousel .business-card-img {
        width: 100%;
        min-width: 0;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .owl-carousel .business-card-title {
        font-size: 0.9rem;
    }

    .owl-carousel .business-card-cta {
        display: inline-flex;
        align-items: center;
    }
}

 /* اگر نمی‌خواهی فایل جدا بسازی، می‌تونی این CSS را همین‌جا نگه داری */
 .chat-container {
     height: 75vh;
     max-height: 75vh;
     display: flex;
     flex-direction: column;
     border-radius: 0.5rem;
     overflow: hidden;
     background: #f6f6f6;
 }

 .chat-header {
     background: #075e54;
     color: #fff;
     padding: 0.75rem 1rem;
     display: flex;
     align-items: center;
     justify-content: space-between;
 }

 .chat-header .title {
     font-weight: 600;
 }

 .chat-body {
     flex: 1 1 auto;
     overflow-y: auto;
     padding: 1rem;
     background-image: linear-gradient(180deg,
             rgba(0, 0, 0, 0.01),
             rgba(0, 0, 0, 0.01));
 }

 .messages-list {
     list-style: none;
     padding: 0;
     margin: 0;
 }

 .message-row {
     display: flex;
     margin-bottom: 0.6rem;
     align-items: flex-end;
 }

 .message-row.left {
     justify-content: flex-end;
 }

 .bubble {
     max-width: 72%;
     padding: 0.6rem 0.8rem;
     border-radius: 1rem;
     line-height: 1.2;
     position: relative;
     word-wrap: break-word;
     font-size: 0.95rem;
 }

 .bubble.left {
     background: #fff;
     color: #111;
     border-top-left-radius: 0.25rem;
 }

 .bubble.right {
     background: #dcf8c6;
     color: #111;
     border-top-right-radius: 0.25rem;
 }

 .bubble .meta {
     display: block;
     font-size: 0.72rem;
     opacity: 0.7;
     margin-top: 0.35rem;
     text-align: right;
 }

 .chat-footer {
     padding: 0.5rem;
     border-top: 1px solid rgba(0, 0, 0, 0.06);
     background: #fff;
 }

 .input-row {
     display: flex;
     align-items: center;
     gap: 0.5rem;
 }

 .input-row .form-control {
     height: calc(2rem + 1rem);
     resize: none;
 }

 .btn-send {
     min-width: 48px;
 }

 /* small helper for timestamp */
 .timestamp {
     font-size: 0.7rem;
     opacity: 0.6;
     margin-left: 0.5rem;
 }

 /* responsive */
 @media (max-width: 576px) {
     .bubble {
         max-width: 86%;
     }
 }

/* Temporary: hide float chat buttons site-wide (chat still opens from other entry points) */
 .chat-float-btn {
     display: none !important;
     position: fixed;
     bottom: 70px;
     right: 10px;
     z-index: 1000;
     width: 60px;
     height: 60px;
     animation: wiggle 2s ease-in-out infinite;
     border: 4px solid white !important;
 }
  .chat-float-btn i {
 animation: wiggle 2s ease-in-out infinite;
  }
@media (min-width: 768px) {
    .chat-float-btn {
    bottom: 30px !important;
    right: 30px !important;
    width: 70px !important;
        height: 70px !important;
    }
}
 .chat-float-btn:hover {
     background-color: #007bff;
 }

@keyframes wiggle {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    10% {
        transform: translate(0, 0) rotate(-3deg)scale(1.02);
    }

    20% {
        transform: translate(0, 0);
    }

    30% {
        transform: translate(0, 0) scale(1.05)rotate(5deg);
    }

    40% {
        transform: translate(0, 0);
    }

}
 .modal-bottom {
     overflow: hidden !important;
     padding: 0 !important;
 }

 .modal-bottom .modal-dialog {
     max-width: 600px !important;
 }

 .modal-bottom .modal-dialog {
     position: fixed;
     top: auto;
     right: auto;
     left: auto;
     bottom: 0;
     margin: 0;
 }

 .modal-bottom .modal-header {
     text-align: center;
     display: flex;
     justify-content: center;
     border: none;
     padding-bottom: 0;
 }

 .modal-bottom.modal.fade .modal-dialog {
     transform: translateY(30vh)
 }

 .modal-bottom.modal {
     backdrop-filter: blur(2px);
 }

 .modal-bottom.modal.show .modal-dialog {
     transform: translateY(0)
 }

 .modal-bottom .modal-dialog {
     margin-bottom: 0;
 }

 .modal-bottom .modal-content {
     border-radius: 1.5rem;
     -moz-border-radius-bottomleft: 0;
     -moz-border-radius-bottomright: 0;
     border-bottom-left-radius: 0;
     border-bottom-right-radius: 0;
     overflow: auto;
     max-height: 99vh;
 }

.category-suppliers-section__shell {
    border: 1px solid #ebedf3;
    background: #fff;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

.category-suppliers-section__shell--empty {
    border-color: #ffe6b3;
    background: linear-gradient(180deg, #fff8eb 0%, #ffffff 42%);
    box-shadow: 0 8px 24px rgba(255, 168, 0, 0.08);
}

.category-suppliers-section__header {
    border-bottom: 1px solid #f1f5f9;
    background: #f8fafc;
}

.category-suppliers-section__shell--empty .category-suppliers-section__header {
    border-bottom-color: rgba(255, 168, 0, 0.12);
    background: transparent;
}

.category-suppliers-section__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(23, 118, 235, 0.1);
    color: var(--primary);
    font-size: 1.1rem;
}

.category-suppliers-section__shell--empty .category-suppliers-section__icon {
    background: rgba(255, 168, 0, 0.14);
    color: #d97706;
}

.category-suppliers-section__title {
    font-size: 1.25rem;
    color: #1e293b;
}

.category-suppliers-section__subtitle {
    max-width: 42rem;
}

.category-suppliers-section__footer {
    border-top: 1px solid #f1f5f9;
    background: #fafbfc;
}

.category-suppliers-section__cta {
    box-shadow: none;
}

.category-suppliers-section__body {
    background: #fff;
}

.category-suppliers-section__body--empty {
    background: transparent;
}

.category-suppliers-section__carousel {
    margin-top: 0;
}

.category-suppliers-section__carousel.absolute-owl-nav .owl-nav,
.category-suppliers-section__carousel .absolute-owl-nav .owl-nav {
    z-index: 2;
}

.supplier-carousel-card {
    border-color: #e2e8f0 !important;
    border-radius: 1rem !important;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.supplier-carousel-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
}

.supplier-carousel-card__image-wrap {
    height: 200px;
    background: linear-gradient(135deg, #ffffff 0%, #DDF3FF 100%);
}

.supplier-carousel-card__image {
    height: 200px;
    object-fit: cover;
}

.supplier-carousel-card--join .supplier-carousel-card__image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff8eb 0%, rgba(255, 168, 0, 0.12) 100%);
}

.supplier-carousel-card--join .supplier-carousel-card__illustration {
    width: auto;
    max-width: calc(100% - 2rem);
    height: auto;
    max-height: 160px;
    object-fit: contain;
    padding: 1rem;
}

.supplier-carousel-card--join .supplier-carousel-card__title {
    min-height: 1.5em;
}

.supplier-carousel-card--join .supplier-carousel-card__meta {
    min-height: 1.5rem;
}

.supplier-carousel-card--join .supplier-carousel-card__desc {
    min-height: 2.75rem;
}

.category-thumb-img {
    object-fit: contain;
    background: linear-gradient(135deg, #ffffff 0%, #DDF3FF 100%);
}

.card.bg-hover-light img {
    background: linear-gradient(135deg, #ffffff 0%, #DDF3FF 100%);
}

.card.card-custom .hovereffect img {
    background: linear-gradient(135deg, #ffffff 0%, #DDF3FF 100%);
    object-fit: cover;
    min-height: 200px;
}

@media (max-width: 991px) {
    .category-suppliers-section__title {
        font-size: 1.125rem;
    }
}

/* Business roadmap tree graph (brg) */
.brg {
    position: relative;
    padding: 2rem 1.25rem 2.5rem;
    margin: 0 auto 2rem;
    max-width: 100%;
    background: #ffffff;
    border-radius: 0.85rem;
}

.brg__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.brg__title {
    font-size: 2.475rem;
    font-weight: 800;
    color: #181c32;
    margin-bottom: 0.35rem;
}

.brg__subtitle {
    color: #7e8299;
    font-size: 1.425rem;
    margin: 0;
}

.brg__flow,
.brg-toggles {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    max-width: 920px;
    margin: 0 auto;
}

.brg-toggle {
    position: relative;
}

.brg-toggle--phase {
    margin-bottom: 1.3rem;
}

.brg-toggle--phase:last-child {
    margin-bottom: 0;
}

.brg-toggle__row {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    min-height: 4.25rem;
    padding: 0.4rem 0.7rem;
    border-radius: 0.7rem;
    transition: background-color 0.12s ease;
}

.brg-toggle--phase > .brg-toggle__row,
.brg-toggle--branch > .brg-toggle__row {
    align-items: center;
    min-height: 0;
    padding: 0.35rem 0.5rem;
}

.brg-toggle--phase > .brg-toggle__row > .brg-toggle__chevron,
.brg-toggle--phase > .brg-toggle__row > .brg-toggle__chevron--spacer,
.brg-toggle--branch > .brg-toggle__row > .brg-toggle__chevron,
.brg-toggle--branch > .brg-toggle__row > .brg-toggle__chevron--spacer {
    margin-top: 0;
}

.brg-toggle--phase > .brg-toggle__row .brg-toggle__text,
.brg-toggle--branch > .brg-toggle__row .brg-toggle__text {
    padding-top: 0;
}

.brg-toggle--phase > .brg-toggle__row .brg-toggle__link,
.brg-toggle--branch > .brg-toggle__row .brg-toggle__link {
    gap: 0;
}

.brg-toggle__row:hover {
    background: rgba(15, 23, 42, 0.04);
}

.brg-toggle__chevron {
    flex: 0 0 3rem;
    width: 3rem;
    height: 3rem;
    margin-top: 0.7rem;
    border: none;
    border-radius: 0.5rem;
    background: transparent;
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.12s ease, color 0.12s ease;
}

.brg-toggle__chevron:hover {
    background: rgba(15, 23, 42, 0.06);
    color: #6b7280;
}

.brg-toggle__chevron--spacer {
    flex: 0 0 3rem;
    width: 3rem;
    height: 3rem;
    margin-top: 0.7rem;
}

.brg-toggle__chevron svg {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.15s ease;
    transform: rotate(0deg);
    transform-origin: center;
}

.brg-toggle--open > .brg-toggle__row > .brg-toggle__chevron svg {
    transform: rotate(90deg);
}

[dir="rtl"] .brg-toggle__chevron svg {
    transform: rotate(180deg);
}

[dir="rtl"] .brg-toggle--open > .brg-toggle__row > .brg-toggle__chevron svg {
    transform: rotate(270deg);
}

.brg-toggle--closed > .brg-toggle__children {
    display: none;
}

.brg-toggle__main {
    flex: 1 1 auto;
    min-width: 0;
}

.brg-toggle__link {
    display: flex;
    align-items: flex-start;
    gap: 1.3rem;
    min-width: 0;
    color: inherit;
    text-decoration: none !important;
}

.brg-toggle__link:hover {
    color: inherit;
}

.brg-toggle__thumb {
    flex: 0 0 auto;
    width: 4rem;
    height: 4rem;
    margin-top: 0.3rem;
    border-radius: 0.7rem;
    object-fit: cover;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
}

.brg-toggle__thumb--icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    color: #9ca3af;
    font-size: 1.2rem;
}

.brg-toggle__text {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-top: 0.4rem;
}

.brg-toggle__title {
    font-size: 1.40625rem;
    font-weight: 600;
    line-height: 1.45;
    color: #181c32;
}

.brg-toggle--phase > .brg-toggle__row .brg-toggle__title {
    font-size: 1.5rem;
    font-weight: 700;
}

.brg-toggle__desc {
    font-size: 1.21875rem;
    line-height: 1.5;
    color: #7e8299;
}

.brg-toggle__arrow {
    flex: 0 0 auto;
    align-self: center;
    color: #c4c8d4;
    font-size: 1.425rem;
    opacity: 0;
    transition: opacity 0.12s ease, color 0.12s ease;
}

.brg-toggle__row:hover .brg-toggle__arrow {
    opacity: 1;
}

.brg-toggle__link:hover .brg-toggle__arrow {
    color: #3699ff;
}

.brg-toggle__children {
    margin-inline-start: 0;
    padding-inline-start: 3.7rem;
    border-inline-start: 1px solid rgba(15, 23, 42, 0.08);
}

.brg-toggle--phase > .brg-toggle__children {
    margin-top: 0.2rem;
    padding-inline-start: 3.7rem;
}

.brg-toggle--branch > .brg-toggle__children {
    margin-top: 0.15rem;
    padding-inline-start: 0;
    border-inline-start: none;
}

.brg-toggle--branch:nth-child(8n + 1) { --brg-branch-color: #93c5fd; }
.brg-toggle--branch:nth-child(8n + 2) { --brg-branch-color: #6ee7b7; }
.brg-toggle--branch:nth-child(8n + 3) { --brg-branch-color: #fcd34d; }
.brg-toggle--branch:nth-child(8n + 4) { --brg-branch-color: #c4b5fd; }
.brg-toggle--branch:nth-child(8n + 5) { --brg-branch-color: #f9a8d4; }
.brg-toggle--branch:nth-child(8n + 6) { --brg-branch-color: #5eead4; }
.brg-toggle--branch:nth-child(8n + 7) { --brg-branch-color: #fdba74; }
.brg-toggle--branch:nth-child(8n + 8) { --brg-branch-color: #a5b4fc; }

.brg-toggle--branch > .brg-toggle__row .brg-toggle__link {
    gap: 0;
}

.brg-toggle--branch > .brg-toggle__row .brg-toggle__title {
    color: color-mix(in srgb, var(--brg-branch-color) 58%, #181c32);
}

.brg-toggle--branch > .brg-toggle__children {
    border-inline-start-color: color-mix(in srgb, var(--brg-branch-color) 45%, rgba(15, 23, 42, 0.08));
}

@media (max-width: 767px) {
    .brg {
        padding: 1.5rem 0.75rem 2rem;
    }

    .brg-toggles {
        max-width: 100%;
    }

    .brg-toggle__title {
        font-size: 1.3125rem;
    }

    .brg-toggle--phase > .brg-toggle__row .brg-toggle__title {
        font-size: 1.40625rem;
    }

    .brg-toggle__desc {
        font-size: 1.125rem;
    }

    .brg-toggle__arrow {
        opacity: 1;
    }
}

/* Admin roadmap editor */
.roadmap-admin-tabs .nav-link.active {
    font-weight: 600;
}

.roadmap-title-input {
    font-size: 1.15rem !important;
    font-weight: 600;
    min-height: 3rem;
    line-height: 1.5;
}

.roadmap-card {
    border: 1px solid #e4e6ef;
    border-radius: 0.85rem;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(24, 28, 50, 0.04);
}

.roadmap-card--root {
    border-color: #c9e0ff;
    background: #fff;
}

.roadmap-card--section {
    border-color: #dde3f0;
    background: #f8fafc;
    box-shadow: none;
}

.roadmap-card--item {
    border-color: #e8ebf1;
    background: #fff;
    box-shadow: none;
}

.roadmap-card__header {
    background: linear-gradient(180deg, #f4f8ff 0%, #eef4ff 100%);
    border-bottom: 1px solid #e1e9f5;
    padding: 1rem 1.25rem;
}

.roadmap-card__header--section {
    background: linear-gradient(180deg, #f7f8fb 0%, #f1f3f8 100%);
    border-bottom: 1px solid #e4e6ef;
}

.roadmap-card__level {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #3699ff;
    letter-spacing: 0.02em;
    margin-bottom: 0.25rem;
}

.roadmap-card--section .roadmap-card__level {
    color: #5e6278;
}

.roadmap-card--item .roadmap-card__level {
    color: #7e8299;
}

.roadmap-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #181c32;
    line-height: 1.45;
    word-break: break-word;
}

.roadmap-card__title--item {
    font-size: 1.05rem;
    font-weight: 600;
}

.roadmap-card__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.roadmap-card__nested {
    margin-top: 0.5rem;
    padding: 1rem;
    border-radius: 0.75rem;
    background: rgba(54, 153, 255, 0.04);
    border: 1px dashed rgba(54, 153, 255, 0.2);
}

.roadmap-card--section .roadmap-card__nested {
    background: rgba(24, 28, 50, 0.03);
    border-color: rgba(24, 28, 50, 0.08);
}

.roadmap-json-textarea {
    font-family: monospace;
    direction: ltr;
    text-align: left;
    min-height: 220px;
}

/* Nested roadmap tree editor — compact VS Code-style tree */
.roadmap-tree-preview {
    border-top: 1px solid #eef0f8;
    padding-top: 1rem;
}

.roadmap-tree-toolbar h5 {
    font-weight: 700;
    font-size: 1rem;
    color: #181c32;
}

.roadmap-tree {
    border: 1px solid #dfe3eb;
    border-radius: 0.5rem;
    background: #f6f8fa;
    padding: 0.35rem 0.25rem;
    font-size: 0.8125rem;
}

.roadmap-tree-empty {
    border: 1px dashed #d1d3e0;
    border-radius: 0.5rem;
    background: #f6f8fa;
}

.rt-node {
    position: relative;
}

.rt-node + .rt-node {
    margin-top: 0.125rem;
}

.rt-node__row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 2.5rem;
    padding: 0.2rem 0.45rem;
    border: 1px solid transparent;
    border-radius: 0.35rem;
    background: transparent;
    transition: background-color 0.12s ease, border-color 0.12s ease;
}

.rt-node__row:hover {
    background: rgba(54, 153, 255, 0.06);
    border-color: rgba(54, 153, 255, 0.18);
}

.rt-node__row--active {
    background: rgba(54, 153, 255, 0.1);
    border-color: rgba(54, 153, 255, 0.35);
}

.rt-node--depth-0 > .rt-node__row .rt-node__title {
    font-weight: 700;
    font-size: 0.875rem;
}

.rt-node--depth-1 > .rt-node__row .rt-node__title {
    font-weight: 600;
    font-size: 0.8125rem;
}

.rt-node--depth-2 > .rt-node__row .rt-node__title {
    font-weight: 500;
    font-size: 0.8125rem;
    color: #3f4254;
}

.rt-node__toggle {
    flex: 0 0 1.35rem;
    width: 1.35rem;
    height: 1.35rem;
    border: none;
    border-radius: 0.25rem;
    background: transparent;
    color: #7e8299;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    font-size: 0.65rem;
}

.rt-node__toggle:hover {
    background: rgba(54, 153, 255, 0.12);
    color: #3699ff;
}

.rt-node__toggle--leaf {
    visibility: hidden;
}

.rt-node__summary {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

.rt-node__level {
    flex: 0 0 auto;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #3699ff;
    background: rgba(54, 153, 255, 0.1);
    border-radius: 0.2rem;
    padding: 0.1rem 0.35rem;
    white-space: nowrap;
    line-height: 1.3;
}

.rt-node--depth-1 .rt-node__level {
    color: #5e6278;
    background: rgba(94, 98, 120, 0.1);
}

.rt-node--depth-2 .rt-node__level {
    color: #7e8299;
    background: rgba(126, 130, 153, 0.12);
}

.rt-node__title {
    flex: 1 1 auto;
    min-width: 0;
    color: #181c32;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.35;
}

.rt-node__child-count {
    flex: 0 0 auto;
    font-size: 0.625rem;
    font-weight: 600;
    color: #7e8299;
    background: #eef0f5;
    border-radius: 999px;
    padding: 0.05rem 0.35rem;
    min-width: 1.1rem;
    text-align: center;
}

.rt-node__badges {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
}

.rt-node__badges .badge {
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.15rem 0.35rem;
    line-height: 1.2;
}

.rt-node__actions {
    flex: 0 0 auto;
    display: flex;
    gap: 0.15rem;
    opacity: 0.85;
}

.rt-node__actions .btn-xs {
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
}

.rt-node__field-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #7e8299;
    margin-bottom: 0.2rem;
}

.rt-node__panel {
    margin: 0.15rem 0 0.35rem 1.65rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid #e4e6ef;
    border-right: 3px solid rgba(54, 153, 255, 0.35);
    border-radius: 0.35rem;
    background: #fff;
}

.rt-node--depth-1 > .rt-node__panel {
    border-right-color: rgba(94, 98, 120, 0.35);
}

.rt-node--depth-2 > .rt-node__panel {
    border-right-color: rgba(126, 130, 153, 0.35);
}

.rt-node__panel .alert {
    font-size: 0.75rem;
    padding: 0.35rem 0.5rem;
    margin-bottom: 0.35rem;
}

.rt-node__children {
    position: relative;
    margin-right: 0.5rem;
    padding-right: 1.1rem;
    border-right: 1px solid #c8cdd8;
}

.rt-node__children::before {
    content: "";
    position: absolute;
    top: 0;
    right: -1px;
    width: 1px;
    height: 0.5rem;
    background: #f6f8fa;
}

.rt-node__children > .rt-node {
    position: relative;
}

.rt-node__children > .rt-node::before {
    content: "";
    position: absolute;
    top: 1.25rem;
    right: -1.1rem;
    width: 1.1rem;
    height: 1px;
    background: #c8cdd8;
}

.rt-node__children > .rt-node:last-child::after {
    content: "";
    position: absolute;
    top: 1.25rem;
    bottom: 0;
    right: -1.12rem;
    width: 3px;
    background: #f6f8fa;
}

/* Depth accent on nested guides */
.rt-node--depth-0 > .rt-node__children {
    border-right-color: #3699ff;
    border-right-width: 2px;
}

.rt-node--depth-1 > .rt-node__children {
    border-right-color: #a1a5b7;
}

.rt-node--depth-0 > .rt-node__children > .rt-node::before {
    background: #3699ff;
    height: 2px;
}

.rt-node--depth-1 > .rt-node__children > .rt-node::before {
    background: #a1a5b7;
}
