.bg-green {
    background: var(--main-color);
}

.hover-bg-green:hover {
    background: var(--main-color-hover);;
}

.text-green {
    color: var(--main-color);
}

.sidebar__nav ul li.active a {
    color: var(--main-color-active);
}

.sidebar__nav ul li.active a .icon svg path {
    stroke: var(--main-color-active);
    stroke-width: 2;
}

.page-item.active {
    color: white;
    background: var(--main-color-active);
    padding: 5px;
}

.popup.open {
    z-index: 1;
}

.popup__window {
    min-height: 100vh;
    overflow: auto;
}

.products__item-col {
    width: 100%;
}

.acceptshipment .input .input-wrap input {
    height: 2.125rem;
}

.wrapper .content__flex-wrap {
    margin-bottom: 100px;
}

.pagination {
    overflow: scroll;
}

.wrapper .content__flex-wrap {
    margin-top: 36px;
    margin-bottom: 10px;
}

.b-none {
    border: none;
}

@media (max-width: 767.98px) {
    .wrapper .content__flex-wrap {
        margin-top: 60px;
    }
}

.preloader {
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    align-items: center;
    background: #f8f7fa;
    bottom: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    display: none;
    height: 100%;
    justify-content: center;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 12;
    opacity: 63%;
}

.preloader .icon {
    -webkit-animation: rotate-animation 1s linear infinite;
    animation: rotate-animation 1s linear infinite;
    height: 3rem;
    min-width: 3rem
}

@-webkit-keyframes rotate-animation {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }
    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn)
    }
}

@keyframes rotate-animation {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }
    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn)
    }
}

.preloader__circle {
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    align-items: center;
    -webkit-animation: circular .5s ease-out infinite;
    animation: circular .5s ease-out infinite;
    background: var(--main-color);
    background-image: -webkit-gradient(linear, left top, right bottom, from(#f8dbe7), to(var(--main-color)));
    background-image: linear-gradient(to bottom right, #f8dbe7, var(--main-color));
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 2.25rem;
    justify-content: center;
    position: relative;
    width: 2.25rem
}

.preloader__inner-circle {
    background: #fff;
    border-radius: 100%;
    height: calc(100% - 4px);
    width: calc(100% - 4px);
    z-index: 10
}

.preloader__circle-gap {
    background: var(--main-color);
    height: .5rem;
    left: 50%;
    margin: 0 0 0 -.3125rem;
    position: absolute;
    top: 0;
    width: .625rem
}

.preloader_main {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: fixed
}

@-webkit-keyframes circular {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0)
    }
    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn)
    }
}

@keyframes circular {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0)
    }
    to {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn)
    }
}

.width100{
    width: 100%;
}

.d-none {
    display: none;
}

.select-css{
    width: 100%;
    background-color: #ecf3e5;
    border: none;
    border-radius: 10px;
    height: 45px;
    padding: 9px;
}
.text-center
{
    text-align: center;
}

@media (max-width: 991.98px) {
    .table tr {
        font-size: 14px;
        margin-bottom: 20px;
    }
    .table td {
        display: block;
        padding: 2px 3px !important;
    }
    .table td:first-child {
        text-align: right;
    }
}

.reg-log__window{
    margin-bottom: 100px;
}

.content__flex-col, .popup__window{
    margin-bottom: 100px;
}

.reg-log
{
    min-height: 1100px;
}

.required
{
    color: red;
}

.cc-close-preloader
{
    position: absolute;
    color: red;
    font-weight: 900;
    font-size: 30px;
    padding: 10px;
}

.cc-close-preloader:hover
{
    cursor: pointer;
}

.cc-paid-attention
{
    background-color: red;
    padding: 10px;
    border-radius: 5px;
    color: white;
    font-size: 1rem;
}

.input_quarter-20
{
    width: 20%;
}

@media (max-width: 991.98px) {
    .input_quarter-20 {
        width: 25%;
    }
}

@media (max-width: 767.98px) {
    .input_quarter-20 {
        width: 50%;
    }
}

/* Chrome, Safari, Edge, Opera */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

.bg-purple{
    background: #6000ff;
}

.table-list {
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

.table-list td, .table-list  th {
    border: 1px solid var(--main-color);
    padding: 8px;
}

.table-list  tr:nth-child(even){background-color: #f2f2f2;}
.table-list  tr{background-color: #f2f2f2;}

.table-list  tr:hover {background-color: #ddd;}

.table-list  th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: var(--main-color);
    color: white;
}

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

.bg-gray
{
    background-color: #ddd;
}
.min-width-150
{
    min-width: 150px;
}

.tabs__item.active
{
    background-color: var(--main-color);
    color: white;
    font-weight: 600;
}

@media (max-width: 575.98px) {
    .popup {
        padding: 20px !important;
    }
}

.min-width-300
{
    min-width: 300px;
}

.min-width-200
{
    min-width: 200px;
}

.min-width-80
{
    min-width: 80px;
}

.min-width-100
{
    min-width: 100px;
}

.tabs__item
{
    margin-left: 3px;
}

.text-container {
    --max-lines: 3;
    display: -webkit-box;
    -webkit-line-clamp: var(--max-lines);
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-container.expanded {
    -webkit-line-clamp: unset;
}

body
{
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: var(--main-color) #f1f1f1; /* ползунок и дорожка */
}

.c-admin .wrapper .content__flex-wrap
{
    height: 100%;
}

/* Полоса прокрутки */
::-webkit-scrollbar {
    width: 12px; /* ширина вертикального скроллбара */
    height: 12px; /* высота горизонтального скроллбара */
}

/* Дорожка (фон) */
::-webkit-scrollbar-track {
    background: #f1f1f1; /* цвет фона */
    border-radius: 6px;
}

/* Ползунок */
::-webkit-scrollbar-thumb {
    background: var(--main-color); /* цвет ползунка */
    border-radius: 6px;
}

.c-admin .wrapper .content {
    height: 100%;
}

.products__wrap
{
    padding-left: 20px;
    padding-right: 20px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.checkbox-container label {
    cursor: pointer;
}

.checkbox input[type="checkbox"] {
    display: none; /* Hide the default checkbox */
}
.checkbox {
    width: 2rem;
    height: 2rem;
    background-color: transparent;
    margin-right: 0.5rem;
    border-radius: 6px;
    border: 2px solid #555;
    position: relative;
    overflow: hidden;
    transition:
        all 0.3s ease,
        0.2s border cubic-bezier(0.26, 0.62, 0.43, 1.06);
    cursor: pointer;
}

.checkbox::before {
    content: "";
    position: absolute;
    top: 232%; /* Starts outside `.background` */
    left: 50%;
    transform: translate(-50%, -100%) scale(0.75); /* Scaled down initially */
    border-radius: 50% 20% / 30% 70%;
    width: 115%;
    height: 115%;
    filter: blur(4px);
    background: var(--main-color);
    z-index: 1; /* Places the pseudo-element behind `.download` */
    transition:
        transform 0.56s cubic-bezier(0.5, 0.26, 0.7, 1.8),
        top 0.38s ease,
        filter 0.48s ease; /* Smooth position and scaling transitions */
}
.checkbox::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    height: 75%;
    clip-path: polygon(
        41% 52%,
        26% 35%,
        10% 51%,
        37% 88%,
        37% 88%,
        37% 88%,
        37% 88%,
        91% 33%,
        78% 18%
    );
    background: white;
    z-index: 1;
    opacity: 0; /* Initially hidden */
    transition: all 0.3s cubic-bezier(0.93, 0.17, 0.43, 1.07);
}

/* Use :has selector to target the checkbox when it's checked */
.checkbox-container:has(.checkbox input[type="checkbox"]:checked)
.checkbox::before {
    top: 50%; /* Moves to the center of `` */
    transform: translate(-50%, -50%) scale(1); /* Fully fills the `.download` */
    filter: blur(0px);
}

/* Ensure the pseudo-element reacts to the checkbox state */
.checkbox-container:has(.checkbox input[type="checkbox"]:checked)
.checkbox::after {
    opacity: 1;
    transform: translate(-50%, -50%) perspective(70px) scale(1);
    animation: checkmarkAnimation 0.5s ease-in-out forwards;
}

.checkbox:has(input[type="checkbox"]:checked) {
    border: 0px solid; /* Border disappears when checked */
}

@keyframes checkmarkAnimation {
    0% {
        opacity: 0;
        transform: perspective(70px) translate(10%, -20%) rotate(43deg)
        rotateY(100deg) scale(0);
    }
    50% {
        opacity: 1;
        transform: perspective(70px) translate(-57%, -42%) rotate(32deg)
        rotateY(55deg) scale(1.32);
    }
    100% {
        opacity: 1;
        transform: perspective(70px) translate(-50%, -50%) rotate(0deg)
        rotateY(0deg) scale(1);
    }
}

.min100vh
{
    min-height: 100vh;
}

.products__info
{
    padding: 15px;
}
@media (max-width: 767.98px) {
    .cc-give-weight-total
    {
        font-size: 18px;
    }

    .cc-give-weight-total input
    {
        width: 100px;
        margin-left: 30px;
    }
    .cc-give-user
    {
        font-size: 14px;
        margin-left: 5px;
    }
    .products__item
    {
        margin-top: 5px;
    }
    .products__info
    {
        padding: 3px;
    }
    .cc-give-tracks
    {
        margin-bottom: 2px !important;
    }
}

.reg-log__window
{
    margin-bottom: 0px;
}

.cc-delivery-popup .products__info
{
    padding: 8px;
}

.color-red {
    color: red;
}

.cc-give-info input
{
    width: 80px;
}

.cc-give .products__info
{
    padding: 0;
}

@media (max-width: 1000px) {
    .header {
        display: block;
        left: 0;
        padding: .625rem .9375rem !important;
    }
    .title-mobile
    {
        display: block;
    }
}

.cc-yuan-sell-popup li
{
    margin-bottom: 10px;
}

.cc-yuan-sell-popup label
{
    padding-bottom: 0!important;
}

.cc-yuan-sell-popup li div
{
    margin-bottom: 0!important;
}

.cc-yuan-sell-popup .input .input-wrap input
{
    height: 30px;
}

.cc-yuan-sell-popup li
{
    border-bottom: none!important;
    list-style: none;
}

.popup__window-yuan
{
    height: 650px!important;
}

.width80 {
    width: 80px;
}

.width90 {
    width: 90px;
}

.popup-ul .input_quarter {
    margin-right: 10px;
    margin-bottom: 5px !important;
}

.popup-ul .input_quarter label{
    margin-bottom: 5px !important;
}

.header__logo img, .sidebar__logo img
{
    width: 60%;
}

.sidebar__nav ul li a .icon
{
    margin-bottom: 3px;
    width: 25px;
}

.sidebar__nav ul li
{
    border-bottom: .0625rem solid rgba(0, 0, 0, .15);
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.sidebar__nav ul li:hover a {
    color: var(--main-color-active);
}

.sidebar__nav ul li:hover a .icon svg path {
    stroke: var(--main-color-active);
    stroke-width: 2;
}

.auth-logo
{
    max-width: 50%;
    border-radius: 10px;
}

.typical-block-wrap{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:-.75rem;margin-right:-.75rem}@media (max-width:1600px){.typical-block-wrap{margin-left:-.375rem;margin-right:-.375rem}}.typical-block-wrap .typical-block-col{padding:.75rem;width:33.33%}@media (max-width:1600px){.typical-block-wrap .typical-block-col{padding:.375rem}}@media (max-width:767.98px){.typical-block-wrap .typical-block-col{width:100%}}.typical-block-wrap .typical-block-col .typical-block-black{margin:0;min-width:100%;padding:1.5rem 1.875rem .9375rem 1.5rem;width:100%}@media (max-width:1600px){.typical-block-wrap .typical-block-col .typical-block-black{padding:.9375rem}}.typical-block-wrap .typical-block-col .typical-block:after{display:none}.typical-block-wrap .typical-block-col .typical-block__val{font-size:2rem;font-weight:600}@media (max-width:1600px){.typical-block-wrap .typical-block-col .typical-block__val{font-size:1.5rem}}@media (max-width:1199.98px){.typical-block-wrap .typical-block-col .typical-block__val{font-size:1.25rem}}.typical-block-wrap .typical-block-col .typical-block__thematic-icon{position:absolute;right:1.875rem;top:1.25rem}@media (max-width:1199.98px){.typical-block-wrap .typical-block-col .typical-block__thematic-icon{right:.9375rem;top:.625rem}}.typical-block-wrap .typical-block-col .typical-block__thematic-icon .icon{height:2.1875rem;max-width:2.1875rem;min-width:2.1875rem}@media (max-width:1199.98px){.typical-block-wrap .typical-block-col .typical-block__thematic-icon .icon{height:1.375rem;max-width:1.375rem;min-width:1.375rem}}.typical-block-black{-webkit-box-orient:vertical;-webkit-box-direction:normal;background:#242424;border-radius:.625rem;color:#fff;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;min-height:6.25rem;min-width:21.25rem;overflow:hidden;padding:.625rem .9375rem;position:relative}.typical-block:after{background:#f5d8cb;border-radius:100%;bottom:-1.3125rem;content:"";height:2.875rem;position:absolute;right:-.75rem;width:2.875rem}.typical-block__desc{position:relative;z-index:1}.typical-block__label{font-size:.75rem;position:relative}.typical-block__val{color:#fff;font-size:1.125rem;font-weight:700;margin-top:.625rem}.typical-block__bottom{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:end;-ms-flex-pack:end;align-items:center;color:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;justify-content:flex-end;margin-top:.9375rem;position:relative;text-decoration:none;z-index:1}@media (max-width:1600px){.typical-block__bottom{font-size:.875rem}}.typical-block__bottom:hover .typical-block__icon{-webkit-transform:translateX(5px);-ms-transform:translateX(5px);transform:translateX(5px)}.typical-block__icon{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;background:#fff;border-radius:100%;display:-webkit-box;display:-ms-flexbox;display:flex;height:2rem;justify-content:center;margin-left:.9375rem;max-width:2rem;min-width:2rem;overflow:hidden;-webkit-transition:all .3s;transition:all .3s;width:100%}.typical-block__icon .icon{max-width:100%;min-width:100%}@media (max-width:1600px){.typical-block__icon{height:1.75rem;margin-left:.625rem;max-width:1.75rem;min-width:1.75rem}}@media (max-width:1199.98px){.typical-block__icon{height:1.25rem;margin-left:.3125rem;max-width:1.25rem;min-width:1.25rem}}.typical-block__thematic-icon .icon{margin-bottom:.3125rem}.typical-block__decor-element{height:6.25rem;position:absolute;right:0;top:-.5rem;width:6.25rem}@media (max-width:1199.98px){.typical-block__decor-element{height:3.125rem;width:3.125rem}}@media (max-width:575.98px){.typical-block__decor-element{height:6.25rem;width:6.25rem}}.typical-block__decor-element svg{height:100%;width:100%}.typical-block_paint{position:relative}.typical-block_paint:before{background:#469b88;border-radius:100%;bottom:-3.125rem;content:"";height:5.625rem;left:-2.1875rem;position:absolute;width:5.625rem}@media (max-width:1199.98px){.typical-block_paint:before{bottom:-1.5625rem;height:2.8125rem;left:-1.0625rem;width:2.8125rem}}.typical-block_paint:after{display:none}@media (max-width:575.98px){.main-page .typical-block-wrap .typical-block-col{width:50%}.main-page .typical-block-wrap .typical-block-col .typical-block__thematic-icon{left:auto;position:relative;right:auto;top:auto}.main-page .typical-block-wrap .typical-block-col .typical-block__bottom{margin:0;position:absolute;right:.9375rem;top:.9375rem}.main-page .typical-block-wrap .typical-block-col .typical-block__bottom span{display:none}.main-page .typical-block-wrap .typical-block-col:first-child{width:100%}.main-page .typical-block-wrap .typical-block-col:first-child .typical-block-black{min-height:8.75rem}.main-page .typical-block-wrap .typical-block-col:first-child .typical-block .typical-block__label{font-size:.875rem}.main-page .typical-block-wrap .typical-block-col:first-child .typical-block .typical-block__val{font-size:2rem;margin-bottom:.9375rem}.main-page .typical-block-wrap .typical-block-col:first-child .typical-block .typical-block__bottom{position:relative;right:auto;top:auto}.main-page .typical-block-wrap .typical-block-col:first-child .typical-block .typical-block__bottom span{display:block}.main-page .typical-block-wrap .typical-block-col:first-child .typical-block .typical-block__bottom .typical-block__icon{height:1.875rem;margin-left:.5rem;max-width:1.875rem;min-width:1.875rem}}

/* tree css */
.tree {
    overflow-x: auto;
}
.panel-default {
    border-color: #cccccc;
}
.panel {
    position: relative;
    border: 0 solid transparent;
}

.tree ul {
    padding-top: 20px;
    position: relative;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
}

.tree ul {
    list-style: none;
    padding-left: 0;
}
.tree li:only-child {
    padding-top: 0;
}
.tree li:only-child {
    padding-top: 0;
}
.tree li {
    list-style-type: none;
    position: relative;
    padding: 20px 5px 0 5px;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
}
.tree ul ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    border-left: 1px solid #26a17b;
    width: 0;
    height: 20px;
}
.tree ul li.left {
    width: 50%;
    display: inline-table;
    float: left;
}
.tree li:first-child::before, .tree li:last-child::after {
    border: 0 none;
}
.tree li:first-child::after {
    border-radius: 5px 0 0 0;
    -webkit-border-radius: 5px 0 0 0;
    -moz-border-radius: 5px 0 0 0;
}
.tree li::after {
    right: auto;
    left: 50%;
    border-left: 1px solid #26a17b;
}
.tree li::before, .tree li::after {
    content: '';
    position: absolute;
    top: 0;
    right: 50%;
    border-top: 1px solid #26a17b;
    width: 50%;
    height: 18px;
}
.tree li:last-child::before {
    border-right: 1px solid #26a17b;
    border-radius: 0 5px 0 0;
    -webkit-border-radius: 0 5px 0 0;
    -moz-border-radius: 0 5px 0 0;
}
.tree li:only-child::before {
    padding-top: 0;
    display: none;
}
/* tree css end*/

.white_person{
    display: none;
}

.command-tree {
    margin-top: 30px;
    min-height: 300px;
    background-color: white;
}
.command-tree img {
    width: 50px!important;
}

.text-center
{
    text-align: center;
}

.mobile-nav
{
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 9;
}

.mobile-nav ul {
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 0;
}
