@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'petrovsans', Helvetica, Arial, sans-serif;
}
body {
    background: none !important;
    background-image: none !important;
    background-color: #f3f5fa !important;
}
@font-face {
    font-family: 'petrovsans';
    src: url('../fonts/petrovsans-trial-bold.woff') format('woff'), url('../fonts/petrovsans-trial-bold.woff2') format('woff2');
    font-weight: bold; /* Жирное начертание */
    font-style: normal;
}
@font-face {
    font-family: 'petrovsans';
    src: url('../fonts/petrovsans-trial-regular.woff') format('woff'), url('../fonts/petrovsans-trial-regular.woff2') format('woff2');
    font-weight: normal; /* Обычное начертание */
    font-style: normal;
}
@font-face {
    font-family: 'petrovsans';
    src: url('../fonts/petrovsans-trial-semibold.woff') format('woff'), url('../fonts/petrovsans-trial-semibold.woff2') format('woff2');
    font-weight: 300; /* Легкое начертание (300 — это значение для light) */
    font-style: normal;
}
h1:focus {
    outline: none;
}
/* Добавьте этот CSS в ваш файл стилей */
.btn-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}
.twohhb {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    width: 100%
}

/* Убирает стандартную обводку фокуса для всех элементов */
*:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Для конкретных элементов, если нужно */
button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus,
.rz-button:focus,
.rz-dropdown:focus,
.rz-listbox:focus,
.rz-textbox:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Для Radzen компонентов */
.rz-state-focused {
    outline: none !important;
    box-shadow: none !important;
}

.rz-focus {
    outline: none !important;
    box-shadow: none !important;
}
.period-links {
    display: flex;
    gap: 12px;
    height: 10px;
    align-items: center;
}
.importexcel {
    display: flex;
    justify-content: start;
    gap: 10px;
}
.fontrem{
   font-size:0.8rem;
}
.tooltipp {
    font-size: 0.8rem;
    color: #6f6f6fee;
    margin-bottom: 0px;
}
.headp {
    font-weight: bold;
    margin-bottom:10px;
    color: #1b1464;
    font-size:1rem;
}
.whiteblock {
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
    flex-direction: column;
    background-color: white;
    padding: 12px;
    border-radius: 5px;
    overflow: auto;
}
.btn-primaryblack{
    background-color: #f9f9f9;
    color: #4f4f4f;
    border-color: #313131!important;
    display: flex;
    justify-content: initial;
    align-items: anchor-center;
    gap: 5px;
}
    
    .btn-primaryblack:hover {
        background-color: #efefef!important;
    }
.procblock {
    background-color: #f3f3f3ee;
    padding: 10px;
    margin-top: 10px;
    border-radius: 10px;
}

.navbar-toggler {
    text-decoration: none;
    color: #1b1464;
    border: 1px solid #1b1464;
}
.navbar-toggler span {
    font-size: 1rem;
}
/*Секция показатель продаж*/
.charts-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.chart-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.chart-header {
    margin-bottom: 15px;
    text-align: left;
}

    .chart-header h5 {
        margin: 0 0 5px 0;
        color: #495057;
    }

    .chart-header small {
        color: #6c757d;
    }

.chart-stats {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e9ecef;
}

/* Цвета для статусов */
.status-active {
    color: #28a745;
}

.status-canceled {
    color: #dc3545;
}

.status-warning {
    color: #ffc107;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .charts-container {
        flex-direction: column;
    }

    .chart-card {
        min-width: 100% !important;
    }
}
.procblock small{
    font-size:10px;
}
.headpblue {
    font-weight: bold;
    margin-bottom: 0px;
    color: #007bff;
    font-size: 1rem;
}
/* Конец Секция показатель продаж*/
.btnsmall {
    display: inline-flex; /* Меняем на inline-flex для лучшего выравнивания */
    align-items: center; /* Выравнивание по центру */
    justify-content: center;
    font-size: 0.8rem;
    text-decoration: none;
    -moz-user-select: none;
    /* width: 350px; Убираем фиксированную ширину */
    white-space: nowrap; /* Запрещаем перенос текста */
    border: none;
    height: 25px;
    background-color: white;
    padding: .2rem .29rem;
    border-radius: .25rem;
    border: 1px solid;
    padding-left: 8px;
    padding-right: 8px;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    gap: 4px; /* Добавляем отступ между иконкой и текстом */
}
.barbuttons {
    display: flex;
}
.barconteiner {
    display: flex;
}
.bluebs {
    color: #042ecfd6;
}
    .bluebs:hover {
        background-color: #2b4fd6; color: white;
    }
.redbs {
    color: red;
}

    .redbs:hover {
        background-color: red;
        color: white;
    }
.gridblock {
    margin-bottom: 5px;
    text-wrap: nowrap;
    overflow: auto;
    padding: 3px;
    border-bottom: 1px solid #d1d9ff;
    display: flex;
    gap: 7px;
    justify-content: space-between;
    align-items: center;
}
.importexcblock {
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 5px;
}
    .period-link {
    color: #1976d2;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    padding: 2px 4px;
    border-radius: 3px;
}
.tooltipinfo {
    background-color: #f8f9fa;
    border-left: 4px solid #4e73df;
    border-radius: 4px;
    padding: 12px 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.price-group {
    background: #f8f9fa;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius:6px;
}
.price-group label {
    font-size:0.9rem;
}
.price-group-title {
    color: #3b3b3b;
    padding: 5px 7px;
    margin: 0;
    font-size: 1rem;
    font-weight: bold;
}
.rz-multiselect, .rz-dropdown {
    height: 32px !important;
}

.price-group-content {
    padding: 7px;
    display: grid;
    gap: 5px;
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 0;
}

/* Адаптивность */
    @media (max-width: 768px) {
        .price-group-content {
            grid-template-columns: 1fr;
        }
    }

    .tooltipinfo p {
        margin: 0;
        color: #5a5c69;
        font-size: 14px;
        line-height: 1.5;
    }

    .period-link:hover {
        text-decoration: underline;
        background-color: rgba(25, 118, 210, 0.04);
    }

    .px-4 {
        padding-right: 0.5rem !important;
        padding-left: 0.5rem !important;
    }

    .period-link:active {
        color: #1565c0;
    }

    .clickable-stat {
        color: #007bff;
        cursor: pointer;
        text-decoration: underline;
    }

    .wecheck {
        font-size: 0.8rem;
        align-items: center;
    }

    .btn {
        font-size: 0.9rem;
    }

    .icobtn {
        height: 34px;
        font-size: 1rem;
    }

    .clickable-stat:hover {
        color: #0056b3;
        text-decoration: none;
    }

    .btn-link:hover {
        text-decoration: underline;
    }

    a, .btn-link {
        color: #0071c1;
    }

    .btn.disabled, .btn:disabled, fieldset:disabled .btn {
        color: gray !important;
        background-color: #c5c5c5 !important;
        border-color: #c5c5c5 !important;
    }
.logo {
    height: 48px;
 
}
    .logodiv {
        text-align: center;
    }

    .btn-primarywhite {
        color: #2b2b2b;
        height: 32px;
        background-color: white;
        border-color: #393939;
    }

        .btn-primarywhite:hover {
            background-color: #e3e3e3ee;
        }

    .twograyb {
        background-color: #f9f9f9ee;
        display: flex;
        justify-content: space-between;
        font-size: 0.8rem;
        padding: 10px;
    }

    .backarrowbtn {
        margin-right: 10px;
        color: #0b345d;
        cursor: pointer;
    }

    .imagei {
        color: #939393;
        font-size: 1.8rem;
    }

        .imagei:hover {
            color: #201a65;
        }

    .form-control {
        font-size: 0.9rem !important;
        line-height: 1.1 !important;
    }

    .btn-primarygreen {
        background-color: #f1ffef;
        color: #1b613e;
        height: 32px;
        border-color: #2eb772;
        display: flex;
        justify-content: initial;
        align-items: center;
        gap: 5px;
    }

        .btn-primarygreen:hover {
            background-color: #c8ffdeee;
            color: #193f25ee;
        }

    .btn-primaryred {
        background-color: #ffefef;
        color: red;
        height: 32px;
        border-color: #c42400;
        display: flex;
        justify-content: initial;
        align-items: anchor-center;
        gap: 5px;
    }

        .btn-primaryred:hover {
            background-color: #fff1f1;
            color: red;
        }

    .disabled {
        pointer-events: none; /* Отключает клики */
        opacity: 0.2;
        cursor: not-allowed; /* Меняет курсор на "недоступно" */
    }

    .btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
        box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
    }

    .content {
        padding-top: 1.1rem;
    }

    .valid.modified:not([type=checkbox]) {
        outline: 1px solid #26b050;
    }

    .invalid {
        outline: 1px solid red;
    }

    .validation-message {
        color: red;
    }

    .green {
        color: green;
    }

    .red {
        color: red;
    }

    .category-mapping-block {
        width: 30%;
        border-radius: 5px;
        border: 1px solid #d5d5d5;
        padding: 5px;
        margin-bottom: 20px;
    }

    .blockwithicon {
        display: flex;
        align-items: center;
        font-size: 1.4rem;
    }

    #blazor-error-ui {
        background: lightyellow;
        bottom: 0;
        box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
        display: none;
        left: 0;
        padding: 0.6rem 1.25rem 0.7rem 1.25rem;
        position: fixed;
        width: 100%;
        z-index: 1000;
    }

    .lnkgrid {
        font-size: 0.9rem;
        cursor: pointer;
        text-decoration: none;
    }

        .lnkgrid:hover {
            color: blue;
        }

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

    .form-groupcheck {
        display: flex;
        flex-direction: row-reverse;
        justify-content: left;
        gap: 5px;
        align-items: center;
    }

    .blazor-error-boundary {
        background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
        padding: 1rem 1rem 1rem 3.7rem;
        color: white;
    }

    .gabaritblock {
        background-color: white;
        padding: 5px;
    }

        .gabaritblock p {
            margin: 0px;
            font-size: 12px;
            color: black;
        }

    .twoinfo {
        display: flex;
        gap: 3px;
        flex-direction: column;
    }

        .twoinfo p {
            margin: 0;
        }

        .twoinfo span {
            color: #ff8400;
            font-size: 0.8rem;
            padding: 5px;
            border-radius: 3px;
        }

    .form-group {
        display: flex;
        flex-direction: column;
    }

    .dimensions-input {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

.form-group li label {
    cursor: pointer;
}

    .form-group:not(:first-child) {
        /*margin-top: 10px;*/
    }

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

    .top-row {
        background-color: unset !important;
    }

    .nav-link {
        color: black !important;
    }

        .nav-link .fas {
            margin-right: 10px;
            width: 30px;
        }

    .nav-item {
        font-size: 1.0rem !important;
    }

    .nav-link:hover {
        color: #0e0457 !important;
        background-color: #eff7ff !important;
    }

    .oneblock {
        flex: 1;
        max-width: 15%;
    }

    .twoblock {
        flex: 3;
        position: relative; /* Важно для sticky */
        height: 100vh; /* Или любая другая высота */
        overflow-y: auto; /* Включаем прокрутку внутри контейнера */
    }

    .twomainblock {
        display: flex;
        gap: 20px;
    }

    .prcancl ul li {
        font-size: 0.7rem;
        color: dimgrey
    }

    .sidebar {
        background: #ffffff !important;
    }

    .custom-button {
        background-color: #27bb7c !important;
        color: white !important;
        font-size: 1.1rem;
        font-weight: 300;
    }

    .prcancl {
        max-height: 300px;
        overflow: auto;
        color: gray;
        background-color: white;
    }

    .custom-button:hover {
        background-color: #1d6f4c !important;
    }

    .custom-buttonred {
        background-color: #fe5d5d !important;
        color: white !important;
        font-size: 1.1rem;
        font-weight: 300;
    }

        .custom-buttonred:hover {
            background-color: red !important;
        }

    .ozonstatfin {
        padding: 20px;
        border-radius: 8px;
        width: 20%;
        background-color: #edf7ff;
    }

        .ozonstatfin h2 {
            font-size: 1.3rem;
            margin-bottom: 10px;
        }

        .ozonstatfin .period {
            font-size: 14px;
            margin-bottom: 20px;
            color: #f19300ee;
        }

        .ozonstatfin .stat-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
        }

            .ozonstatfin .stat-item .label {
                font-size: 16px;
            }

            .ozonstatfin .stat-item .value {
                font-size: 16px;
                font-weight: bold;
            }

            .ozonstatfin .stat-item.total {
                border-top: 1px solid #ccc;
                padding-top: 10px;
                margin-top: 10px;
            }

                .ozonstatfin .stat-item.total .value {
                    font-size: 18px;
                }

    .ozontoday {
        padding: 20px;
        border-radius: 8px;
        display: flex;
        color: #000831;
        flex-direction: column;
        background: #ffffff;
    }

        .ozontoday .headboxstats {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
        }

        .ozontoday .header {
            font-size: 1.3rem;
            margin-bottom: 20px;
        }

        .ozontoday .stats-container {
            display: flex;
            flex-direction: row;
            gap: 15px;
        }

        .ozontoday .stat-block {
            display: flex;
            justify-content: space-between;
            align-items: end;
            flex-direction: column;
            padding: 10px;
            border-radius: 4px;
            background-color: #f3f8ff4f;
        }

            .ozontoday .stat-block.total {
            }

        .ozontoday .amount {
            font-size: 2rem;
            font-weight: bold;
        }

        .ozontoday .type {
            font-size: 1.5rem;
            font-weight: bold;
            color: #adbadfee;
        }

        .ozontoday .details {
            text-align: right;
        }

        .ozontoday .total-orders,
        .ozontoday .cancellations {
            font-size: 1rem;
        }

    .statblock {
        display: flex;
        gap: 20px;
        align-items: stretch;
        justify-content: start;
    }

        .statblock:not(:first-child) {
            margin-top: 20px;
        }

    .highlight-red {
        color: red;
    }

    .smalldop {
        padding: 7px;
        background-color: #fbffd6ee;
        border-radius: 5px;
        font-size: 0.8rem;
    }

    .funcbtn {
        display: flex;
        gap: 10px;
        margin-bottom: 10px;
    }

        .funcbtn button {
            background-color: white;
            align-items: center;
        }

    .scanner-container {
        position: relative;
        margin: 20px 0;
    }

    .zxing-button {
        background-color: #eff7ff;
        border-color: #009dff;
        display: flex;
        justify-content: initial;
        align-items: anchor-center;
        gap: 5px;
        color: #0085d8;
        border: 1px solid #0085d8;
        padding: .375rem .75rem;
        font-size: 1rem;
        border-radius: .25rem;
    }

    .zxing-container div {
        display: flex;
        gap: 10px;
        align-items: start;
        margin-bottom: 15px;
    }

    #scanner-area, #video {
        background-color: #f0f0f0;
        border: 2px dashed #ccc;
        margin-bottom: 10px;
    }

    .scanner-container {
        background: white !important;
    }

    .blockwithheader p {
        margin-bottom: 4px;
        font-size: 0.8rem;
    }

    .blockwithheader div {
        display: flex;
    }
    /* Стили для диалога привязки штрихкода */
    .bind-barcode-dialog {
        max-width: 600px;
        margin: 0 auto;
    }

        .bind-barcode-dialog .rz-card {
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .bind-barcode-dialog .form-group {
            margin-bottom: 20px;
        }

        .bind-barcode-dialog .form-buttons {
            display: flex;
            justify-content: flex-end;
            gap: 10px;
            margin-top: 20px;
        }

        .bind-barcode-dialog .rz-listbox {
            border: 1px solid #ddd;
            border-radius: 4px;
        }

        .bind-barcode-dialog .rz-checkbox {
            margin-right: 8px;
        }

        .bind-barcode-dialog h3 {
            color: #333;
            margin-bottom: 20px;
        }

    .blockwithheader:not(:first-child) {
        padding-left: 10px;
        border-left: 1px solid #e3e3e3ee;
    }

    .storageinfo {
        font-size: 0.9rem;
    }

    .blockwithheader {
        display: flex; /* Устанавливаем flex-контейнер */
        align-items: start; /* Выравниваем элементы по вертикали */
        gap: 10px; /* Отступ между элементами */
        flex-direction: column;
        white-space: nowrap; /* Запрещаем перенос текста */
    }

    .fp {
        background-color: #fdfdfdee;
        border-radius: 5px;
        padding: 10px;
        margin-bottom: 10px;
        margin-top: 10px;
        position: sticky;
        z-index: 999999;
        top: 0;
    }

    .bticon {
        background-color: #ffffffee;
        border: 0.1rem solid #f1f1f1;
        font-size: 0.8rem;
        padding: 6px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 5px;
        max-width: 30px;
    }

        .bticon:hover {
            color: #2668cf;
            /* opacity: 0.8; */
            -webkit-box-shadow: -1px -1px 21px -9px rgba(34, 60, 80, 0.2);
            -moz-box-shadow: -1px -1px 21px -9px rgba(34, 60, 80, 0.2);
            box-shadow: -1px -1px 21px -9px rgba(34, 60, 80, 0.2);
        }

.cardmarket {
    max-width: 200px;
    align-items: center;
    flex-direction: column;
    display: flex;
    border: 1px solid #1b1464;
    border-radius: 10px;
    text-align: center;
}

        .cardmarket:hover {
            box-shadow: 0 4px 14px rgba(59, 130, 246, 0.15);
            cursor: pointer;
        }

.newcard {
    background-color: #1b1464;
    border-radius: 10px;
    margin: 10px;
    width: 50px;
    height: 70px;
}

.marketcardsblock {
    display: flex;
    gap: 20px;
    width: 100%;
    margin-bottom: 10px;
    align-items: center;
}

.copycard {
    background-color: #f693ff;
    border-radius: 10px;
    margin: 10px;
    width: 50px;
    height: 70px;
    box-shadow: -10px 0 0 #1b1464, 0 2px 8px rgba(0, 0, 0, 0.1);
}

    .checkbox-group {
        display: flex;
        gap: 5px;
        align-items: center;
    }

        .checkbox-group label {
            margin-left: 8px;
            cursor: pointer;
        }

            .checkbox-group label:hover {
                color: #205cf4;
            }

    .gridblist {
        display: flex;
        margin-right: 5px;
        gap: 3px;
        align-items: center;
    }

    .settings-section {
        margin: 1rem 0;
        padding: 1rem;
        background-color: #f8f9fa;
        border-radius: 4px;
        border-left: 4px solid #007bff;
    }

    .bticonred {
        color: #ff4141;
    }

    .lockblock {
        display: flex;
        align-items: anchor-center;
        gap: 20px;
        width: 350px;
        justify-content: space-evenly;
        font-size: 20px;
        padding: 10px;
        border-radius: 10px;
        margin: 0 auto;
        color: #ff0000;
        background-color: #ffdadaee;
        border: 1px solid;
    }

    .toggle-button {
        margin-top: 15px;
        padding: 10px 15px;
        background-color: #acd6ff;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

    .btnseemore {
        border: none;
        background: none;
        color: blue;
        text-align: left;
    }

    .btn-check:active + .btn-secondary, .btn-check:checked + .btn-secondary, .btn-secondary.active, .btn-secondary:active, .show > .btn-secondary.dropdown-toggle {
        color: #7b3f00;
        background-color: #ffb637;
        border-color: #bb7c00;
        font-size: 0.8rem;
    }

    .nav-scrollable {
        overflow-y: auto;
        max-height: calc(100vh - 60px); /* Ограничиваем высоту навигации */
    }

    .loggedinfo {
        padding: 10px;
        margin: 10px;
        margin-top: auto;
        border: 1px solid #e5e5e5ee;
        border-radius: 10px;
        color: #3E397E;
    }

        .loggedinfo .user-info {
            font-size: 14px;
        }

    .form-buttons {
        margin-top: 20px;
        text-align: center;
        align-items: center;
        justify-content: space-between;
        display: flex;
    }

    .loggedinfo p {
        margin: 0;
        font-weight: 500;
        font-size: 0.8rem;
    }

    .me-2 {
        margin-right: 0.5rem !important;
    }

    .loggedinfo button {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        padding: 8px;
        color: #0058ff;
        border-color: #e0d2ffee;
    }

        .loggedinfo button:hover {
            color: #212529;
            background-color: #edefffee;
        }

    .loggedinfo .fa-solid {
        font-size: 16px;
    }

    .toolbar {
        display: flex;
        gap: 10px;
        margin-bottom: 20px;
    }

    .cardsblock {
        display: flex;
        gap: 7px;
    }

    .marketpanels {
        gap: 7px;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    .market {
        padding: 5px;
        border-radius: 3px;
        background-color: #fbfbfbee;
    }

        .market p {
            margin: 0px;
        }

    .rz-radiobutton-label {
        font-size: 1rem;
    }

    .btnblue {
        background-color: #0100ffee;
        color: white;
        display: flex;
        justify-content: initial;
        align-items: center;
        gap: 5px;
    }

    .btn-primary {
        background-color: #eff7ff;
        border-color: #009dff;
        display: flex;
        justify-content: initial;
        align-items: center;
        gap: 5px;
        height: 32px;
        color: #007bff;
    }

    .statlogowb {
        height: 80px;
        margin-top: 30px;
    }

    .control-block {
        display: flex;
        gap: 20px;
        margin-bottom: 20px;
    }

    .search-block {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .mainphoto {
        text-align: center;
        display: flex;
        flex-direction: row;
        width: 100%;
        justify-content: start;
        padding: 10px;
        background-color: #f9f9f9ee;
        border-radius: 10px;
        align-items: start;
    }

    .search-input {
        width: 200px; /* Уменьшенная ширина поля поиска */
        height: 36px;
    }

    .search-button {
        white-space: nowrap; /* Чтобы текст не переносился */
    }

.nav-item a.active {
    background-color: #eff0ff !important;
    border-color: #1b1464 !important;
    color: #1b1464 !important;
    border: 1px solid;
}

    .rtabitem {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 0.9rem;
        text-wrap: nowrap;
    }

    .ozoncardmain {
        display: flex;
        gap: 2rem;
    }

    .rtabitem i {
        font-size: 1rem;
    }

    .date-block {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .date-button {
        white-space: nowrap;
    }

    .action-block {
        margin-bottom: 10px;
        display: flex;
        gap: 10px;
        align-items: center;
        clip-path: none;
        background-color: white;
        padding: 7px;
        padding-left: 0px;
        border-radius: 5px;
        overflow: auto;
    }

    .highlighted {
        background-color: #f8fcff;
        transition: all 0.3s ease;
    }

    .btn-secondary {
        color: #f15b00;
        background-color: #fff3e4;
        border-color: #d57000;
        height: 32px;
    }

        .btn-secondary:hover {
            background-color: #ffca9e;
            border-color: #b30000;
            color: #854500;
        }

    .selection-actions {
        display: flex;
        gap: 10px;
        overflow: auto;
        height: 26px;
    }

    .statsblock {
        padding-left: 7px;
        padding-right: 15px;
    }

    .btn-primary:hover {
        background-color: #e8f3ff;
        border-color: #0056b3;
        color: #0d22c7;
    }

    .skladlist {
        padding: 10px;
        background-color: #f9f9f9ee;
        border-radius: 3px;
    }

    .order-stats {
        margin-top: 20px;
        padding: 10px;
        /*background-color: #f9f9f9;*/
        border: 1px solid #ddd;
        border-radius: 5px;
        display: flex;
        margin-bottom: 10px;
        gap: 15px;
        overflow: auto;
    }

    .fawdiv {
        padding: 5px;
        background-color: #fdffeeee;
        border-radius: 5px;
        font-size: 0.9rem;
        color: #875800ee;
    }

    .order-stats p {
        margin: 5px 0;
        font-size: 14px;
    }
    /* wwwroot/css/site.css */
    .page {
        display: flex;
        min-height: 100vh;
        width: 100%;
    }

    .sidebar {
        flex-shrink: 0;
        background-color: #f8f9fa;
        margin: 0px !important;
        border-radius: 0px !important;
        border-right: 1px solid #dee2e6;
    }

    main {
        flex: 1;
        padding: 0;
        overflow-x: hidden;
    }

    .content {
        padding-top: 0.5rem;
        max-width: 100vw;
        width: 100%;
        overflow-x: hidden;
    }

    .table-container {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        margin: 0;
        padding: 0;
        background: white;
        border: 1px solid #dee2e6;
        border-radius: 4px;
    }
    /* Ограничиваем таблицу */
    .rz-datatable {
        table-layout: fixed;
        width: 100% !important;
        min-width: 800px; /* минимальная ширина, чтобы скроллилась */
        border-collapse: collapse;
    }
        /* Ячейки — не растягиваются */
        .rz-datatable th,
        .rz-datatable td {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 300px;
        }

    .statlogo {
        height: 50px;
    }

    .skladlist:not(:first-child) {
        margin-top: 10px;
    }

    .rz-tabview-top > .rz-tabview-nav .rz-tabview-selected {
    }
    /* Стили для li с role="presentation" */
    li[role="presentation"] {
        text-wrap: nowrap;
        display: flex;
        margin-bottom: 0;
    }

    .infoprodhead {
        display: flex;
        gap: 2rem;
    }

    .infohelp {
        background-color: white;
        border-radius: 5px;
        padding: 5px;
        font-size: 0.9rem;
    }

    .faqp {
        background-color: #feffe4;
        border-radius: 5px;
        padding: 5px;
        font-size: 0.8rem;
        color: #9d7b2bee;
    }


    @media (max-width: 700px) {
        .ozoncardmain {
            flex-direction: column;
        }
        .product-counter {
            flex-direction: column;
        }
        .text-muted {
            font-size: 0.7rem;
        }
        .logo {
            height: 35px;
        }
        .step-label {
            display: none;
        }

        .marketcardsblock {
            flex-direction: column;
        }

        .importexcel {
            flex-direction: column;
        }

        .barconteiner {
            flex-direction: column;
            gap: 10px;
        }

        .barbuttons button:first-child {
            margin-left: 0px !important;
        }

        .rz-fileupload {
            display: flex;
            flex-direction: column;
        }

        .cardsblock {
            padding: 10px;
            overflow: auto;
            box-shadow: inset 0 4px 6px -2px rgba(0, 0, 0, 0.1), /* Внутренняя тень сверху */
            inset 0 -4px 6px -2px rgba(0, 0, 0, 0.1); /* Внутренняя тень снизу */
        }

        .infoprodhead {
            flex-direction: column;
        }

        .cardsblock .info-card {
            margin-bottom: 0px;
        }

        .ozontoday .stat-block {
            flex-direction: column;
            align-items: flex-start;
        }

        .twomainblock {
            display: flex;
            gap: 20px;
            flex-direction: column;
        }

        .oneblock {
            flex: 1;
            max-width: 100%;
        }

        .category-mapping-block {
            width: 100%;
        }

        .rz-tabview-top > .rz-tabview-nav {
            overflow: auto;
        }

        .action-block {
            overflow: auto;
            box-shadow: inset 0 0 11px rgb(149 149 149 / 50%);
            padding: 10px;
            border-radius: 3px;
            text-wrap: nowrap;
        }

        .ozontoday .details {
            text-align: left;
            margin-top: 10px;
        }

        .statblock {
            flex-direction: column;
        }

        .ozonstatfin {
            width: 100%;
        }

        .ozontoday .stats-container {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .control-block {
            overflow: auto;
            box-shadow: inset 0 0 11px rgb(149 149 149 / 50%);
            padding: 10px;
            border-radius: 3px;
        }

        .fp {
            overflow: auto;
            box-shadow: inset 0 0 11px rgb(149 149 149 / 50%);
        }

        .funcbtn button {
            max-height: 40px;
            white-space: nowrap;
        }
    }

    .rz-pager-element, .rz-button-md {
        font-weight: 300;
    }

    .barcode-preview {
        margin: 20px 0;
        padding: 15px;
        margin: 0 auto;
        border: 1px solid #ddd;
        border-radius: 5px;
        text-align: center;
    }

    .product-name {
        font-weight: bold;
        margin-bottom: 10px;
    }

    .barcode-image {
        max-width: 100%;
        height: auto;
    }

    .form-group {
        /* margin-bottom: 15px; */
        gap: 3px;
        margin-bottom: 10px;
    }

    .form-control {
        width: 100%;
        padding: 8px;
    }

    .form-buttons {
        margin-top: 20px;
        display: flex;
        gap: 10px;
    }