

/* Start:/local/templates/renna/css/style.css?17700189045509*/
@font-face {
    font-family: "Calibri";
    src: url('/local/templates/renna/css/../fonts/calibri.ttf');
    font-weight: 400;
}
@font-face {
    font-family: "Calibri";
    src: url('/local/templates/renna/css/../fonts/calibri_bold.ttf');
    font-weight: 700;
}

html {
   /* font-size: calc(100vw / 1920 * 10);*/
}
body {
    font-family: 'Calibri';
    font-weight: 400;
    transition: all .2s linear !important;
    min-height: 100vh;

    color: #000;
    background: #FAF0E1;
}
a, h1, h2, h3, h4, h5, p, span, button, ul, li {
    padding: 0;
    margin: 0;
    background: transparent;
    text-decoration: none;
    border: none;
    transition: all .2s linear;
}
input, textarea, select {

}
.container {
    max-width: 153.5rem;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

main {
    overflow: hidden;
    min-height: calc(100vh - 26.2rem);
}

/* header */

header {
    border-bottom: 0.1rem solid #FA0;
    background: #FFF;
    padding: 12px 0;
}
.header-container {
    display: flex;
    align-items: center;
    gap: 6.7rem;
}
.header-container nav ul {
    display: flex;
    align-items: center;
    gap: 4rem;
}
.header-container nav ul li {
    display: flex;
    list-style: none;
}
.header-container nav ul li a {
    color: #000;
    font-size: 1.8rem;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    text-transform: uppercase;
}
.logo {
    display: flex;
}
.logo img {
    width: 19.6rem;
}
.header-row {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 2rem;
}
.header-link {
    width: 5rem;
    height: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.4rem;
    background: #FF5A00;
    position: relative;
}
.header-link svg {
    width: 2.4rem;
    height: auto;
}
.header-login {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.header-login__icon {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    background: #FF5A00;
}
.header-login__icon svg {
    width: 2.4rem;
    height: auto;
}
.header-login p {
    color: #000;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -0.018rem;
}
.header-login p a {
    color: #000;
}
.header-login:hover p {
    color: #FF5A00;
}
.menu-open {
    display: none;
}
.menu-mobile {
    display: none;
}
.header-link span {
    width: 1.3rem;
    height: 1.3rem;
    background: #B4C3E6;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    font-size: 1rem;
    font-weight: 700;
    color: #FFF;
    top: 0.7rem;
    right: 0.8rem;
}
.header-login img {
    width: 5rem;
    height: 5rem;
    object-fit: cover;
    border-radius: 100%;
}
.header-row .footer-search {
    max-width: 36.7rem;
    width: 36.7rem;
}
.header-row .footer-search svg path {
    stroke: #CCC;
}
.header-row .footer-search input {
    border-color: rgba(0, 0, 0, 0.20);
    color: #000;
}
.header-row .footer-search input::placeholder {
    color: #CCC;
}
.header-row .menu-balance {
    display: none;
}


/* footer */

footer {
    background: #FF5A00;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}
footer::before {
    content: '';
    position: absolute;
    border-radius: 76.7rem;
    background: #FA0;
    width: 74.6rem;
    height: 76.7rem;
    display: flex;
    position: absolute;
    top: -24.4rem;
    left: -5.9rem;
}
.footer-container {
    display: flex;
    gap: 19.3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}
.footer-search {
    width: 100%;
    max-width: 36.7rem;
    display: flex;
    position: relative;
    align-items: center;
    margin: 0;
}
.footer-search svg {
    width: 2rem;
    height: auto;
    position: absolute;
    left: 1.6rem;
}
.footer-search input {
    padding: 1.5rem 4.4rem;
    border-radius: 0.4rem;
    border: 0.1rem solid #FFF;
    color: #FFF;
    font-size: 1.8rem;
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -0.018rem;
    width: 100%;
}
.footer-search input::placeholder {
    color: #FFF;
}
.footer-logo {
    display: flex;
}
.footer-logo img {
    width: 9rem;
}
.footer-container nav {
    margin-left: auto;
}
.footer-container nav ul {
    display: flex;
    gap: 8rem;
}
.footer-container nav ul li {
    display: flex;
    list-style: none;
}
.footer-container nav ul li a {
    color: #FFF;
    font-size: 1.8rem;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    letter-spacing: -0.018rem;
}


.custom-checkbox input {

}

/* состояние checked */
.custom-checkbox input:checked + .checkmark {
    background-color: #a9a9a9;
}

/* TAB / focus */
.custom-checkbox input:focus + .checkmark,
.custom-checkbox input:focus-visible + .checkmark {
    box-shadow: 0 0 0 3px rgba(151, 162, 147, 0.5);
}

/* сам чекмарк */
.checkmark {
    width: 12px;
    height: 12px;
    min-width: 12px;
    border: 2px solid #FFAA00;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: inline-block;
    box-sizing: border-box;
}

.link-gradient {
    color: #ffa726;
    text-decoration: none;
    position: relative;
}

.link-gradient::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #ffa726;
    transition: width 0.3s ease;
}

.link-gradient:hover::after {
    width: 100%;
}

/* End */


/* Start:/local/templates/renna/styles.css?177001890434941*/
body {
    margin: 0;
    font-family: Inter, sans-serif;
    background: #f3f3f3;
}

.page {
    display: flex;
    padding: 40px;
    position: relative;
}

.title {
    position: absolute;
    top: 10px;
    left: 40px;
    font-size: 32px;
    font-weight: 600;
}
.icon-filter
{
    width: 30px;
}

/* ----------------------- */
/* Фильтр */
/* ----------------------- */

.filter {
    width: 240px;
    padding: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    height: fit-content;
    flex-shrink: 0;
}

.filter-header {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #f4a100;
}

.filter-block {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-block input,
.filter-block select {
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

/* ----------------------- */
/* Контент */
/* ----------------------- */

.content {
    flex: 1;
    margin-top: 40px;
    min-width: 0;
}

.tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ----------------------- */
/* Таблица */
/* ----------------------- */


/* кастомный скролл */
.custom-scroll::-webkit-scrollbar {
    height: 12px;
}

.custom-scroll::-webkit-scrollbar-track {
    background: #ffe0a6;
    border-radius: 20px;
}

.custom-scroll::-webkit-scrollbar-thumb {
    background: #f7a400;
    border-radius: 20px;
}

.custom-scroll::-webkit-scrollbar-thumb:hover {
    background: #ffb630;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1200px;
}


th, td {
}
.journal-table :is(thead th, tbody td):nth-child(3n-2) {
    border-right: 1px solid #00298840;
}
.journal-table tbody tr td
{
    border-bottom: 1px solid #00298840;
    text-align: center;
    padding: 10px 4px;
}
th {

}

/* ----------------------- */
/* 📱 Адаптивность */
/* ----------------------- */

@media (max-width: 1100px) {
    .page {
        flex-direction: column;
        padding: 20px;
    }

    .title {
        position: static;
        margin-bottom: 10px;
    }

    .filter {
        width: 100%;
        order: 2;
    }

    .content {
        order: 1;
        margin-top: 0;
    }
}

@media (max-width: 600px) {
    .tab {
        flex: 1;
        text-align: center;
    }

    th, td {
        padding: 8px;
        font-size: 12px;
    }

    table {
        min-width: 900px;
    }
}
body {
    margin: 0;
    font-family: Inter, sans-serif;
    background: #f3f3f3;
    color: #333;
}

/* --------------------- */
/*   HEADER              */
/* --------------------- */

.header {
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.username {
    color: #ff8b00;
    font-weight: 600;
}

.role {
    background: #dce4ff;
    padding: 6px 14px;
    border-radius: 14px;
    font-weight: 500;
}

/* --------------------- */
/*   PAGE                */
/* --------------------- */

.page {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

/* --------------------- */
/*   Табы                */
/* --------------------- */


.tab {
    border: none;
    background: #e3e7ff;
    padding: 16px 26px;
    border-radius: 20px 20px 0 0;
    display: flex;
    gap: 10px;
    align-items: center;
    cursor: pointer;
    transition: 0.25s;
    font-weight: 500;
    font-size: 32px;
    line-height: 37px;
    vertical-align: middle;

}
.tab:nth-child(1)
{
    background-color: #B3C3E3;
}

.tab:nth-child(2)
{
    background-color: #f8dccd;
}

.tab:nth-child(3)
{
    background-color: #fbd994;
}

.tab.active {
    background: #ffb52e;
    color: white;
}

.tab:hover {
    transform: translateY(-4px);
}

/* --------------------- */
/*   CATEGORY BOX        */
/* --------------------- */

.category-box {
    background: white;
    border-radius: 30px;
    padding: 40px;
    width: 80%;
    max-width: 1100px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

/* Сетка 2 колонки */
.category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 40px;
}

.cat-btn {
    padding: 16px 24px;
    background: white;
    border: 2px solid #ffa726;
    border-radius: 30px;
    font-size: 16px;
    text-align: left;
    cursor: pointer;
    transition: 0.25s;
}

.cat-btn:hover {
    background: #fff4dd;
    transform: translateX(6px);
}

/* --------------------- */
/*   BOTTOM BUTTONS      */
/* --------------------- */

.bottom-buttons {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.bottom-btn {
    background: #cfd7ff;
    border: none;
    padding: 16px 26px;
    border-radius: 24px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.25s;
}

.bottom-btn:hover {
    background: #b7c3ff;
    transform: translateY(-3px);
}

/* --------------------- */
/*      Адаптивность     */
/* --------------------- */

@media (max-width: 900px) {
    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-box {
        width: 95%;
        padding: 30px;
    }
}

@media (max-width: 1200px) {
    .tabs {
        justify-content: center;
    }

    .tab {
        font-size: 14px;
        padding: 12px 18px;
        line-height: 16px;
        margin-bottom: 10px;
        border-radius: 20px;
    }

    .cat-btn {
        font-size: 14px;
        padding: 14px 20px;
    }

    .bottom-buttons {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        align-items: center;
    }

    .bottom-btn {

        text-align: center;
    }
}


/* Masonry-контейнер */
.category {
    column-gap: 32px;
    transition: none; /* отключаем переход */
}
.category.category-col-2{
    column-count: 2;
}
.category.category-col-1{
    column-count: 1;
}
.category.category-col-3{
    column-count: 3;
}
/* Каждый логический блок = один masonry-элемент */
.category-col {
    break-inside: avoid;      /* ключевое правило */
    margin-bottom: 32px;
    background: #fff;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    transition: none;
}

.category-col-3 .category-grid {
    grid-template-columns: 1fr;
}
/* Заголовок категории */
.category-name {
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 16px;
}

.category-col-1 > .category-col {
    box-shadow: none;
    padding: 0px;
}
.cat-btn {
    text-align: left;
    padding: 12px 18px;
    border-radius: 30px;
    border: 2px solid #ffa726;
    background: #fff;
    cursor: pointer;
    transition: .2s;
}

.cat-btn:hover {
    background: #fff1dc;
    transform: translateX(6px);
}
.product-card {
    max-width: 1300px;
    margin: auto;
    padding: 24px;
    background: #fff;
    border-radius: 24px;
    border: 1px solid #ccc;
}


.product-name {
    grid-column: 1 / -1;
    padding: 12px 16px;
    border-radius: 30px;
    border: 1px solid #ffa726;
    width: calc(100% - 40px);
}

.dates {
    display: flex;
    gap: 16px;
}

.dates div {
    display: flex;
    flex-direction: column;
}

.other-inputs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.sample {
    display: flex;
    align-items: center;
    gap: 12px;
}

.taster-rating {
}

.block-comment textarea {
    grid-column: 1 / -1;
    padding: 31px;
    border: 1px solid #ffa726;
    resize: none;
    border-radius: 60px;
    width: calc(100% - 64px);
    margin-top: 7px;
}


.remarks h3 {
    margin-top: 0;
    font-size: 14px;
    margin-bottom: 6px;
}


.buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

button {
    padding: 12px 24px;
    border-radius: 30px;
    border: 2px solid #ffa726;
    background: #fff;
    cursor: pointer;
    transition: .2s;
}

button.save {
    background: #ffa726;
    color: #fff;
    border-color: #ffa726;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}

@media (max-width: 1000px) {
    .top-section {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {

}
.input-text {
    padding: 9px 9px;
    border-radius: 60px;
    border: 2px solid #ffa726;
    width: calc(100% - 18px);
    font-size: 17px;
}

.inputs-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch; /* все колонки одной высоты */
}

/* каждая колонка */
.blocks-input {
    display: grid;
    grid-template-rows: auto auto 1fr; /* 🔥 */
    gap: 12px;
}

/* последний input прижимаем вниз */
.blocks-input .block-input:last-child {
    align-self: end;
}

.block-input input {
    padding: 9px 9px;
    border-radius: 60px;
    border: 1px solid #ffa726;
    width: calc(100% - 28px);
    font-size: 17px;
    background-color: #D5E0F726;
    padding-left: 19px;
}
.block-input input[type="date"]::-webkit-calendar-picker-indicator { display: none; }
.top-section
{
    display: flex;
    gap: 19px;
}
.block-comment
{
}

.remarks {
    padding: 0 22px;
 }
.remark
{
    margin-top: 10px;
}
.remark > div{
    background-color: #FFFAEF;
    height: max-content;
    border-radius: 15px;
    margin: 18px 0px;
    padding: 8px 16px;
    margin-top: 0px;
}



.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: sans-serif;
    user-select: none;
    position: relative;
    font-size: 14px;
    margin-top: 7px;
}

.custom-checkbox input {

}

.checkmark {
    width: 12px;
    height: 12px;
    min-width: 12px;

    border: 2px solid #FFAA00;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
display: none;
}

.custom-checkbox input:checked + .checkmark {
    background-color: #FFAA00;
}
.taster-rating
{
    display: flex;
    position: relative;
}
.taster-rating .rating {
    position: relative;
    border: 1px solid #ffaa01;
    border-radius: 60px;
    padding: 0px 10px;
    padding-right: 38px;
    line-height: 49px;
    margin-left: 10px;
    cursor: pointer;
    margin-top: -11px;
    min-width: 32px;
    text-align: center;
}
.taster-rating .rating img {
    width: 35px;
    height: 40px;
    position: absolute;
    top: 8px;
}
.taster-rating .rating img.trans{
    transform: scaleY(-1);
    top: -1px;
}
.taster-rating .rating.select-rating {
    color: #FF5A00;
    font-size: 32px;
}

.rating-select {
    background-color: #ffffff;
    position: absolute;
    right: 0px;
    line-height: 21px;
    border-radius: 10px;
    width: 100%;
    text-align: center;
    border: 1px solid #ffaa01;
    font-size: 1.6rem;
    color: black;
}
.rating-select div {
    padding: 4px 0px;
    border-bottom: 1px solid #ffaa01;
    border-radius: 6px;
}
main
{
    margin: 40px 0px;
}
.title-date-create
{
    display: grid;
    grid-template-columns: 3fr 1fr;
}

/* Общий контейнер */
.journal {
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Заголовок */
.journal-title {
    font-size: 28px;
    margin-bottom: 30px;
}

/* Сетка карточек */
.journal-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

/* Карточка */
.journal-card {
    background: #fff;
    border-radius: 24px;
    padding: 20px 22px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
    display: grid;
    grid-template-rows: auto 1fr auto;
    transition: .25s;
}

.journal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
}

/* Header */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;

}

.product-name {
    font-weight: 600;
    font-size: 16px;
    overflow: hidden;
    max-width: 295px;
    white-space: pre;
}

/* Оценка */
.journal-list .rating {
    background: #ffa726;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
}

.journal-list .rating.warning {
    background: #ff9800;
}

.journal-list .rating.danger {
    background: #f44336;
}

/* Body */
.card-body {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    font-size: 14px;
}

.info span {
    display: block;
    color: #999;
    font-size: 12px;
}

/* Footer */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
}

/* Статус */
.status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
}

.status.success {
    background: #e8f5e9;
    color: #2e7d32;
}

.status.danger {
    background: #fdecea;
    color: #c62828;
}

/* Кнопка */
.open-btn {
    border: 2px solid #ffa726;
    background: transparent;
    padding: 8px 18px;
    border-radius: 24px;
    cursor: pointer;
    transition: .2s;
}

.open-btn:hover {
    background: #ffa726;
    color: #fff;
}

/* Адаптив */
@media (max-width: 600px) {
    .card-body {
        grid-template-columns: 1fr;
    }
}


/* Пустое состояние */
.journal.empty-journal {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Блок пустоты */
.journal-empty {
    margin-top: 80px;
    max-width: 420px;
    text-align: center;
    background: #fff;
    padding: 40px 30px;
    border-radius: 28px;
    box-shadow: 0 10px 28px rgba(0,0,0,.08);
    border: 1px solid #eee;
}

/* Иконка */
.empty-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

/* Заголовок */
.journal-empty h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

/* Текст */
.journal-empty p {
    font-size: 15px;
    color: #777;
    margin-bottom: 28px;
    line-height: 1.5;
}

/* Кнопка */
.empty-btn {
    display: inline-block;
    padding: 14px 28px;
    background: #ffa726;
    color: #fff;
    border-radius: 32px;
    text-decoration: none;
    font-weight: 500;
    transition: .25s;
}

.empty-btn:hover {
    background: #ff8b00;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,.15);
}

/* ---------- Skeleton ---------- */
.journal-skeleton .journal-card {
    pointer-events: none;
}

.skeleton {
    background: linear-gradient(
            90deg,
            #f0f0f0 25%,
            #e4e4e4 37%,
            #f0f0f0 63%
    );
    background-size: 400% 100%;
    animation: shimmer 1.4s ease infinite;
    border-radius: 8px;
}

@keyframes shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* Размеры skeleton-элементов */
.skeleton-title {
    width: 65%;
    height: 18px;
}

.skeleton-rating {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.skeleton-label {
    width: 60%;
    height: 10px;
    margin-bottom: 6px;
}

.skeleton-text {
    width: 80%;
    height: 14px;
}

.skeleton-status {
    width: 140px;
    height: 26px;
    border-radius: 20px;
}

.skeleton-button {
    width: 100px;
    height: 32px;
    border-radius: 20px;
}



@media (max-width: 800px) {

    .category {
        column-count: 1!important;
    }
    .title-date-create{
        display: block;
    }
    .block-input.data-calendar {
        display: grid;
        gap: 5px;
    }

    .top-section {
        margin-top: 14px;
        display: block;
    }
    .block-comment {
        width: 100%;
    }
    .inputs-wrapper {
        grid-template-columns: repeat(1, 1fr);
        gap: 19px;
    }
    .inputs-wrapper {
        grid-template-columns: repeat(1, 1fr);
        gap: 19px;
    }
}


.title-date-create h2 + .block-input.data-calendar
{
    margin-top: -14px;
    margin-bottom: 23px;
}
/* ===== PAGE ===== */
.journal-page {
    padding: 24px;
    max-width: 1900px;
    margin: auto;
    padding: 24px;
}

.page-title {
    text-align: center;
    margin-bottom: 24px;
}

/* ===== LAYOUT ===== */
.journal-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
}

/* ===== FILTER ===== */
.filter {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.filter-btn {
    padding: 10px 16px;
    border-radius: 8px;
    border: 2px solid #ffa726;
    background: #fff;
    cursor: pointer;
}

.filter-box {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

.filter-title {

    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(0, 27, 97, 0.8);


}

.filter-item {
    padding: 6px 0;
    font-size: 14px;
}

/* ===== CONTENT ===== */
.journal-content {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ===== ACTIONS ===== */
.journal-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.action {
    padding: 9px 9px;
    border-radius: 20px;
    border: 2px solid #ffa726;
    background: #FBF9FE;
    cursor: pointer;
    font-size: 14px;

}


.action.primary {
    background: #ffa726;
    color: #fff;
}

/* ===== TABLE ===== */
.table-wrapper {

}

.journal-table {
    border-collapse: collapse;
    min-width: 1100px;
    width: 100%;
}

.journal-table th,
.journal-table td {

}

.journal-table thead th {
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 18px;
    align-items: center;
    text-align: center;
    color: #000000;
    padding: 0px 10px 16px;
}
.rating-table {
    font-weight: 600;
}

/* ===== ADAPTIVE ===== */
@media (max-width: 1100px) {
    .journal-layout {
        grid-template-columns: 1fr;
    }

    .filter {
        flex-direction: row;
        align-items: flex-start;
    }

    .filter-box {
        width: 100%;
    }
}

.filter-panel {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,.12);
    font-family: Inter, system-ui, sans-serif;
    height: fit-content;
}

.filter-title {
    font-size: 14px;
    letter-spacing: 0.08em;
    color: #5c6bc0;
    margin-bottom: 16px;
}

/* ===== ITEMS ===== */
.filter-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 4px;
    font-size: 14px;
    cursor: pointer;
}

.filter-item.active {
  /*  background: #fff6e9;
    border-radius: 8px;
    padding: 10px;*/
}
.filter-item.active  .icon-filter{

}

/* ===== ICONS ===== */
.icon {
    width: 18px;
    height: 18px;
    position: relative;
}

.icon.select::before,
.icon.select::after {
    content: '';
    position: absolute;
    background: #ffa726;
}

.icon.select::before {
    width: 14px;
    height: 2px;
    top: 4px;
    left: 0;
}

.icon.select::after {
    width: 6px;
    height: 6px;
    border-right: 2px solid #ffa726;
    border-bottom: 2px solid #ffa726;
    transform: rotate(45deg);
    right: 0;
    top: 6px;
}

.icon.calendar {
    border: 2px solid #ffa726;
    border-radius: 4px;
}

.icon.radio {
    border: 2px solid #ffa726;
    border-radius: 50%;
}

/* ===== CALENDAR ===== */
.calendar {
    background: #fff6e9;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 16px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.arrow {
    background: #ffa726;
    color: #fff;
    border: none;
    width: 16px;
    height: 16px;
    padding: 0;
    line-height: 6px;
    border-radius: 50%;
    cursor: pointer;
}

.month {
    font-weight: 600;
}

.calendar-week,
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    gap: 6px;
}

.calendar-week span {
    font-size: 12px;
    color: #888;
}

.calendar-days span {
    padding: 6px 0;
    border-radius: 50%;
    cursor: pointer;
    width: 22px;
}
.calendar-days span.selected {
    box-sizing: border-box;
    width: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    border-radius: 50%;
    border: 2px solid #ffa726;
    line-height: 38px;
    margin-top: 3px;

}

.calendar-days span:hover {
    background: rgba(255,167,38,.2);
}

.calendar-days .selected {
}

.icon-filter-radio {
    width: 12px;
    height: 12px;
    position: relative;
    display: inline-block;
    border-width: 2px;
    border-style: solid;
    border-color: rgb(255, 170, 0);
    border-image: initial;
    border-radius: 50%;
    transition: 0.3s;
}
.calendar-days .muted {
    color: #aaa;
}
.select-native{
    padding: 9px 0px;
    border-radius: 60px;
    border-color: #ffa726;
    width: calc(100%);
    font-size: 17px;
    background-color: #D5E0F726;
    padding-left: 15px;
}
.journal-content
{
    max-width: 100%;
    overflow: scroll;
}
.blocks-input .custom-checkbox
{
    padding: 9px 9px;
    border-radius: 60px;
    width: calc(100% - 18px);
    font-size: 17px;
    padding-left: 19px;
}
.link
{
    color: #f39811;

    text-decoration: underline;
    cursor: pointer;
}
.bx-authform
{
    margin: 0 auto;
    margin-top: 30px;
}
.plug
{
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: #d5d5d573;
    z-index: 1;
    border-radius: 13px;
}
.top-section .product-name {
    max-width: 100%;
}
a.bottom-btn {
    color: white;
    padding: 10px 17px;
    background: #ffa726;
}

.journal-table {
    border-collapse: collapse;
    width: 100%;
}

.journal-table thead th {
    position: sticky;
    top: 0;
    background: #fff;          /* обязательно, иначе будет просвечивать */
    z-index: 2;                /* чтобы заголовок был поверх строк */
    border-bottom: 2px solid #ccc;
}

/* если таблица в контейнере со скроллом */
.table-wrapper {
    max-height: 80vh;     /* высота скролла */
    overflow-y: auto;
}
.setting-table
{
    position: relative;
}
.setting-table::after{
    position: absolute;
    top: 50%;
    left: 12px;
    display: block;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: no-repeat center;
    background-image: url(/bitrix/js/ui/buttons/icons/images/ui-setting-black.svg?v=1.1);
    content: '';
    transition: 160ms color linear, 160ms opacity linear, 160ms background-color linear;
}


.setting-filter::after{
    position: absolute;
    right: 8px;
    z-index: 1;
    width: 25px;
    height: 39px;
    background-position: center 11px;
    background-repeat: no-repeat;
    top: 50%;
    left: 12px;
    display: block;
    transform: translateY(-50%);
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2215%22%20height%3D%2215%22%20viewBox%3D%220%200%2015%2015%22%3E%3Cpath%20fill%3D%22%23535C68%22%20fill-rule%3D%22evenodd%22%20d%3D%22M1.33%205.5c0-2.304%201.866-4.17%204.17-4.17S9.67%203.195%209.67%205.5c0%202.305-1.865%204.17-4.17%204.17-2.305%200-4.17-1.865-4.17-4.17m12.528%206.944l-3.816-3.817-.014-.008C10.64%207.73%2011%206.66%2011%205.5%2011%202.462%208.537%200%205.5%200S0%202.462%200%205.5%202.463%2011%205.5%2011c1.158%200%202.232-.36%203.118-.972.004.004.005.01.01.014l3.816%203.817c.372.37.982.37%201.354%200l.06-.063c.372-.372.372-.982%200-1.354%22/%3E%3C/svg%3E');
    content: '';
    transition: 160ms color linear, 160ms opacity linear, 160ms background-color linear;
}




.setting-filter,
.search-filter
{
    position: relative;
    display: none;
}



.input-tag {
    position: relative;
    align-items: center;
    color: #fff;
    border-radius: 2px;
    margin-right: 4px;
    margin-bottom: 4px;
    padding: 4px 18px 4px 4px;
}

.input-tag {
    background: #ffad26;
}
.input-tag {
    display: block;
    width: fit-content;
    position: relative;
    font-size: 12px;
}

.form-group__item-remove-icon.purple:after,
.form-group__item-remove-icon.purple:before {
    background: #fdfdfd;
}
.form-group__item-remove-icon:after {
    transform: rotate(45deg);
}

.form-group__item-remove-icon:before {
    transform: rotate(-45deg);
}

.form-group__item-remove-icon {
    position: absolute;
    right: 9%;
    top: 50%;
}
.form-group__item-remove-icon:after, .form-group__item-remove-icon:before {
    content: "";
    position: absolute;
    width: 10px;
    height: 2px;
    background: #000;
    left: 100%;
    top: 50%;
    margin-top: -1px;
    margin-left: -5px;
}
.form-group__item-remove-icon:after {
    transform: rotate(45deg);
}
.form-group__item-remove-icon:before {
    transform: rotate(-45deg);
}
.form-group__item-remove-icon:before {
    transform: rotate(-45deg);
}
.product-card-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: stretch;
}
.block-inputs
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: stretch;
}

.column-block-3
{
    column-count: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-items: stretch;
}

.column-block-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: stretch;
    margin-bottom: 15px;
}
.column-title h2 {
    font-size: 15px;
}
.product-card-column .remark {
    break-inside: avoid;
    page-break-inside: avoid;      /* для старых браузеров */
    column-break-inside: avoid;    /* для WebKit */
}
.product-card-column > div {
    margin-top: 17px;
}

.block-input span,
.title-input{
    margin-bottom: 7px;
    display: block;
    font-size: 16px;
    font-weight: 500;
}
.product-card .multiselect__tags {
    min-height: 40px;
    display: block;
    background: #fff;
    padding: 5px 9px;
    border: 1px solid #ffa726;
    font-size: 17px;
    background-color: #D5E0F726;
    padding-left: 19px;
    height: 42px;
}
.product-card .multiselect__content-wrapper
{
    border: 1px solid #ffa726;
}
.product-card .multiselect__tags-wrap
{
    display: flex;
}
.fio-block {
    break-inside: avoid;
    page-break-inside: avoid;
    column-break-inside: avoid;
}
.remark.remark-hide {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}
.search-filter
{
    display: none;
}
@media screen and (max-width: 1100px) {

    .product-card-column {
        display: block;
    }


    .block-inputs{
        display: block;
    }
    .product-card
    {
        margin-left: 30px;
        margin-right: 30px;
    }
    .column-block-3 {
        display: block;
        column-count: 1;
    }
    .remarks {
        padding: 0px;
    }
    .buttons {
        position: fixed;
        left: 0px;
        z-index: 1000;
        bottom: 0px;
        background-color: #fffaef;
        width: 100%;
        padding: 20px 0;
        border-radius: 13px 13px 0px 0px;
    }
    .column-block-2
    {
        display: block;
    }
    .column-block-2 h2
    {
        margin-bottom: 10px;
    }
    .setting-filter,
    .search-filter
    {
        display: block;
    }
    .search-filter
    {
        margin: 0 auto;

    }
    .hide-journal-mobile
    {
        display: none;
    }
    .filter-panel
    {
        display: none;
    }
    .filter-panel.active-filter
    {
        display: block;
        margin: 0 auto;
        width: 90%;
    }
}
.block-input {
    margin-bottom: 12px;
    gap: 0px !important;
}
.pagination {
    margin: 18px auto 0;
}
.pagination .select{
    margin: 0 10px;
}
.columns {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 8px 16px;
}

.column {
    min-width: 0;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bottom-mini-btn {
    background: #cfd7ff;
    border: none;
    padding: 9px 23px;
    border-radius: 24px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.25s;
    margin-top: 10px;
}

.input-mini input
{
    max-width: 155px;
    margin-top: 10px;
    font-size: 14px;
    padding: 7px 9px;
}

.button-menu{
    display: block;
    width: 100%;
    max-width: 290px;
    background: #cfd7ff;
    border: none;
    padding: 9px 23px;
    border-radius: 24px;
    font-size: 21px;
    cursor: pointer;
    transition: 0.25s;
    margin-top: 10px;
}

.settings
{
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 4px;
    align-items: stretch;
    max-width: 1697px;
    margin: 0 auto;
}
.editUser .custom-checkbox {
    font-size: 16px;
    margin-bottom: 15px;
}
.editUser,.block-user {
    max-width: 400px;
}



/* Список пользователей */
.user-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Строка пользователя */
.user-tr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 12px 16px;
    border-radius: 10px;
    border-left: 5px solid #cfd7ff;
    transition: all 0.25s ease;
}

.user-tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    border-left-color: #FA0;
}

/* ФИО */
.user-tr .fio {
    font-size: 15px;
    color: #2f2f2f;
}

/* Кнопка "Редактировать" */
.user-tr .edit {
    cursor: pointer;
    font-size: 14px;
    color: #FA0;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(255, 170, 0, 0.12);
    transition: all 0.2s ease;
}

.user-tr .edit:hover {
    background: #FA0;
    color: #fff;
}

/* Кнопка добавления */
.block-user .bottom-btn {
    background: linear-gradient(135deg, #FA0, #ffc44d);
    color: #fff;
    border: none;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 24px;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(255, 170, 0, 0.4);

}

.block-user .bottom-btn:hover {

    box-shadow: 0 10px 24px rgba(255, 170, 0, 0.55);
}


/* Удалённый сотрудник */
.user-tr.user-deleted {
    background: #f1f2f6;
    border-left-color: #cfd7ff;
    opacity: 0.75;
}

/* Текст ФИО */
.user-tr.user-deleted .fio {
    color: #8a8fa3;
    text-decoration: line-through;
}

/* Бейдж "удалён" */
.user-tr.user-deleted .status {
    margin-left: 8px;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 12px;
    background: #cfd7ff;
    color: #4b55a4;
    text-decoration: none;
}

/* Кнопка восстановления */
.user-tr.user-deleted .restore {
    background: rgba(207, 215, 255, 0.6);
    color: #4b55a4;
}

.user-tr.user-deleted .restore:hover {
    background: #cfd7ff;
    color: #2f357a;
}

/* Ховер — без "подпрыгивания" */
.user-tr.user-deleted:hover {
    transform: none;
    box-shadow: none;
    border-left-color: #cfd7ff;
}


.products-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.product-tr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 12px 16px;
    border-radius: 10px;
    border-left: 5px solid #cfd7ff;
    transition: all 0.25s ease;
    cursor: pointer;
}
.product-tr:hover,
.product-select {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    border-left-color: #FA0;
}
.product-tr .prod-name {
    font-size: 15px;
    color: #2f2f2f;
}

.product-deleted .status {
    margin-left: 8px;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 12px;
    background: #cfd7ff;
    color: #4b55a4;
    text-decoration: none;
}

.products-settings
{

}
.product-tr.product-deleted {
    background: #f1f2f6;
    border-left-color: #cfd7ff;
    opacity: 0.75;
}
.info-block{
    padding: 12px 16px;
    background: #f5f7fa;
    border-left: 4px solid #4c7ef3;
    color: #2c3e50;
    font-size: 14px;
}
.window-active
{
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
}

/* ===== LOGIN SECTION ===== */
.login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f4ff, #dbe4ff);
    padding: 24px;
    font-family: "Segoe UI", Tahoma, sans-serif;
}

/* контейнер */
.login-container {
    width: 100%;
    max-width: 380px;
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 28px 36px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    animation: loginFade 0.5s ease;
}

/* заголовок */
.login-name {
    text-align: center;
    margin-bottom: 24px;
}

.login-title {
    font-size: 22px;
    font-weight: 600;
    color: #2d3e50;
    margin: 0;
}

/* форма */
.login-form {
    width: 100%;
}

/* блок поля */
.login-block {
    margin-bottom: 18px;
}

.login-block label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #4b5563;
}

/* звездочка */
.starrequired {
    color: #ff5a00;
    margin-left: 4px;
}

/* инпут */
.login-block__input {
    position: relative;
}
.login *{box-sizing:border-box}

.login-block__input input {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    outline: none;
    transition: 0.25s ease;
}

/* фокус */
.login-block__input input:focus {
    border-color: #5b7fff;
    box-shadow: 0 0 0 3px rgba(91, 127, 255, 0.2);
}

/* кнопка */
.login-submit {
    width: 100%;
    margin-top: 10px;
    padding: 14px;
    border-radius: 14px;
    border: none;
    background: #ff5a00;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
}

.login-submit:hover {
    background: #e64a00;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(255, 90, 0, 0.35);
}

/* ссылки */
.login-links {
    display: flex;
    justify-content: space-between;
    margin-top: 18px;
    font-size: 14px;
}

.login-link {
    color: #ff5a00;
    text-decoration: none;
    transition: 0.2s;
}

.login-link:hover {
    color: #e64a00;
    text-decoration: underline;
}

/* анимация */
@keyframes loginFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* адаптив */
@media (max-width: 420px) {
    .login-container {
        padding: 24px 20px 28px;
        border-radius: 16px;
    }

    .login-title {
        font-size: 20px;
    }
}



/* End */
/* /local/templates/renna/css/style.css?17700189045509 */
/* /local/templates/renna/styles.css?177001890434941 */
