.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: 80px;
    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: #f8f7fa;
    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;
}
