
:root {
    --main_color: #697790;
    --font_size:16px;



    --blue: #4457E9;
    --blue-dark: #2F3FC9;
    --blue-light: #EEF1FE;
    --text-dark: #1F2430;
    --text-muted: #8A93A6;
    --link-blue: #4457E9;
    --border: #E7EAF1;
    --bg: #F4F6FB;

}


html
{
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-sizing:border-box;
    margin: 0px;
    padding: 0px;
}

* , *::before , *::after
{
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-sizing:border-box;
}

@font-face
{
    font-family:icomoon;
    src:url(/fonts/icomoon.woff2) format("woff2");
    font-weight:400;
    font-style:normal;
    font-display:swap;
}

@font-face
{
    font-family: "Calibri";
    src: url("/fonts/calibri.ttf");
    src: url("/fonts/calibri.ttf") format("embedded-opentype"),
    url("/fonts/calibri.ttf") format("woff"),
    url("/fonts/calibri.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face
{
    font-family: "Calibri";
    src: url("/fonts/calibrib.ttf");
    src: url("/fonts/calibrib.ttf") format("embedded-opentype"),
    url("/fonts/calibrib.ttf") format("woff"),
    url("/fonts/calibrib.ttf") format("truetype");
    font-style: bold;
    font-weight: bold;
}

@font-face
{
    font-family: "Calibri";
    src: url("/fonts/calibrii.ttf");
    src: url("/fonts/calibrii.ttf") format("embedded-opentype"),
    url("/fonts/calibrii.ttf") format("woff"),
    url("/fonts/calibrii.ttf") format("truetype");
    font-style: italic;
    font-weight: normal;
}

@font-face
{
    font-family: "Calibri";
    src: url("/fonts/calibril.ttf");
    src: url("/fonts/calibril.ttf") format("embedded-opentype"),
    url("/fonts/calibril.ttf") format("woff"),
    url("/fonts/calibril.ttf") format("truetype");
    font-style: italic;
    font-weight: bold;
}



#coords {
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
}

.class_nopadding{
    padding: 0px !important;
}

.navigation
{
    border:0px;
    font-size:11px;
    color: #666;
    text-align:center;
    width:100%;
    padding-top:5px;
    padding-bottom:5px;
    border:solid 1px #e3dcdc;
    border-top:none;
    background-color:#F4F4F4;
}

.navigation A
{
    display:inline-block;
    width:auto;
    height:auto;

    text-decoration:none;
    padding:3px;
    padding-left:5px;
    padding-right:5px;

    border-radius:3px;

    background-image:-moz-linear-gradient(top,#ffffff,#efefef);
    background-image:-webkit-gradient(linear,left top,left bottom,from(#ffffff),to(#efefef));
    filter:progid:DXImageTransform.Microsoft.Gradient(startColorStr=#ffffff,endColorStr=#efefef);

    border:1px solid #999;
    color:#000;
    margin-left:1px;
    margin-right:1px;

}

.navigation A:hover
{
    border:1px solid #F00;
    color:#F00;

}

.navigation SPAN
{
    display:inline-block;
    width:auto;
    height:auto;

    padding:3px;
    padding-left:5px;
    padding-right:5px;

    border-radius:3px;

    background-image:-moz-linear-gradient(top,#ffffff,#efefef);
    background-image:-webkit-gradient(linear,left top,left bottom,from(#ffffff),to(#efefef));
    filter:progid:DXImageTransform.Microsoft.Gradient(startColorStr=#ffffff,endColorStr=#efefef);

    border:1px solid #999;
    color:#F00;
    margin-left:1px;
    margin-right:1px;
    font-weight:bold;
}

body
{
    color: #000;
    position:relative;
    width:100%;
    width:100%;
    padding:0px;
    margin:0px;
    background-repeat:repeat;
    font-size:12px;
    /*font-family: "Calibri", Tahoma, Geneva, sans-serif;*/
}


select {
    /* all: unset; сбрасывает почти все стили */
    font-family: "Calibri", Tahoma, Geneva, sans-serif;
    /*padding: 0.5em;*/
    border: 1px solid #ccc;
    background: white;
    font-size:16px;
}

button{
    cursor: pointer;
}

img
{
    border:0px;
    display:block;
}

form
{
    padding:0px;
    margin:0px;
    display:inline-block;
    box-sizing: border-box;
    width:100%;
}


.main_input
{
    border:solid 1px #CCC;
    border-radius:3px;
    padding:3px;
    padding-left:5px;
    padding-right:5px;
    outline: none;
}


.time_input
{
    border:solid 0px #CCC;
    border-radius:3px;
    padding:3px;
    padding-left:5px;
    padding-right:5px;
    font-weight:bold;
    color:#0080FF;
}

form input,form textarea , form select
{
    border:solid 1px #CCC;
    border-radius:3px;
    padding:3px;
    padding-left:5px;
    padding-right:5px;


    padding:5px !important;
    background-color:#f8f8f8;
    border:solid 1px #ededed;
    outline:none;

}

.bold{
    font-weight: bold;
    text-transform: uppercase;
}


.std_input
{
    border:solid 1px #CCC;
    border-radius:3px;
    padding:10px;
    padding-left:15px;
    padding-right:15px;
    width: 100%;
}

.std_input::placeholder{
    font-family: "Calibri", Tahoma, Geneva, sans-serif;
    font-style: normal;
    font-size: 16px;
    color: #cccccc;
}


.std_code {
    width: 80px;
}

form select
{
    border:solid 1px #ededed;
    border-radius:3px;
    padding:2px;
    padding-left:5px;
    padding-right:5px;
}

form textarea:focus
{
    box-shadow:4px 4px 4px rgba(0, 0, 0, 0.1);
    background-color:#FFFFE6;
}

form select:focus
{
    box-shadow:4px 4px 4px rgba(0, 0, 0, 0.1);
    background-color:#FFFFE6;
}

form input:focus
{
    box-shadow:4px 4px 4px rgba(0, 0, 0, 0.1);
    background-color:#FFFFE6;
}

p
{
    padding:0px;
    margin:0px;
}

h1,h2,h3,h4
{
    padding:0px;
    margin:0px;
}

img
{
    display:inline-block;
}

label
{
    display:inline-block;
}

div
{

    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-sizing:border-box;

    display:inline-block;
    height:auto;
    width:auto;

    line-height:1.2;
}

#for_filter{
    display: block;
}


/**********************************/
.main_screen {
    height: 100vh;
    width: 100%;
    background-color: #FFF;
    display: flex;
    flex-direction: column;
}

.header{
    height:auto;
    background-color: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content:space-between;
    border-bottom: solid 1px #c6c6c6;
    padding: 15px;
    /*padding-top: 40px;*/
}

.header_vert{
    display: flex;
    flex-direction: column;
    gap:5px;
}

.header_vert_bold{
   font-weight: bold;
}

.header_vert_gray{
    color: #777;
}


.main {
    flex: 1;
    background-color: #FFF;
    width: 100%;
    overflow: auto;
    background-image: url(b4.jpg);
    background-size: contain;
}

.main_pad_top10
{
   padding-top: 10px;
}

.main_pad_top_bottom10
{
    padding-top: 10px;
    padding-bottom: 10px;
}


.main_pad20{
    padding: 20px;
}

/*******************************************/


/* ===========================================================
   TOP MENU
=========================================================== */

.menu{
    width:100%;
    height:42px;
    background:linear-gradient(180deg,#5a79ea 0%,#4c69df 100%);
    border-bottom:1px solid #3553c4;
    box-shadow:0 2px 6px rgba(0,0,0,.12);
    position:relative;
    z-index:1000;
    display: flex;
    justify-content: space-between;
}

.menu_inner{
    display:flex;
    align-items:stretch;
    height:42px;
}

.menu_user{
    justify-content: center;
    align-items: center;
    gap:10px;
    padding-right: 20px;
    color: #fff;
    font-size: 14px;
    font-family: Segoe UI,Tahoma,sans-serif;
    font-weight: 600;
}

.menu_user img{
    width: 15px;
    height: 15px;
    object-fit: contain;
    flex-shrink: 0;
}

.menu_user a{
    color: #FFF;
}

.menu_user_img{
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===========================================================
   TOP ITEM
=========================================================== */

.menu .bar{
    position:relative;
}

.menu .a{

    height:42px;

    display:flex;
    align-items:center;

    gap:7px;

    padding:0 12px;

    text-decoration:none;

    color:#fff;

    font-size:14px;
    font-family:Segoe UI,Tahoma,sans-serif;
    font-weight:600;

    white-space:nowrap;

    transition:.15s;

    border-left:1px solid rgba(255,255,255,.05);
    border-right:1px solid rgba(0,0,0,.05);
}

.menu .a:hover{

    background:rgba(255,255,255,.12);

}

.menu .a img{

    width:18px;
    height:18px;

    object-fit:contain;

    flex-shrink:0;

}

.menu_arrow{

    width:6px;
    height:6px;

    margin-left:2px;

    border-right:2px solid #fff;
    border-bottom:2px solid #fff;

    transform:rotate(45deg);

    transition:.15s;
}

.menu .bar:hover .menu_arrow{

    transform:rotate(225deg);
    margin-top:4px;

}


/* ===========================================================
   DROPDOWN
=========================================================== */

.menu .padmenu{

    position:absolute;

    left:0;
    top:42px;

    display:none;

    min-width:240px;

    background:#fff;

    border-radius:0 0 10px 10px;

    border:1px solid #e7eaf2;
    border-top:none;

    padding:4px;

    box-shadow:
            0 10px 25px rgba(0,0,0,.15);

    z-index:5000;
}

.menu .bar:hover>.padmenu{

    display:block;

}


/* ===========================================================
   DROPDOWN ITEM
=========================================================== */

.menu .padmenu .p{

    display:flex;
    align-items:center;

    min-height:30px;

    padding:6px 10px;

    text-decoration:none;

    color:#24345c;

    font-size:13px;
    font-family:Segoe UI,Tahoma,sans-serif;

    border-radius:6px;

    transition:.15s;

    border-bottom:1px solid #edf0f7;

}

.menu .padmenu .p:last-child{

    border-bottom:none;

}

.menu .padmenu .p:hover{

    background:#eef3ff;

    color:#2b55d8;

    padding-left:14px;

}


/* ===========================================================
   EXIT
=========================================================== */

.menu .bar_exit:hover>.a{

    background:rgba(255,80,80,.18);

}


/* ===========================================================
   PAY MESSAGE
=========================================================== */

.menu.pay_message{

    display:inline-flex;
    align-items:center;

    padding:5px 10px;

    background:#e53935;

    color:#fff;

    font-weight:bold;

}





/************************************************/
.m_scr_full
{
    display: block;
    width: auto;
    max: 100%;
}

.m_scr_fixed {
    overflow-y: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.m_scr
{
    display: block;
    width: auto;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}


.block_section_fix{
    overflow-y: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}



.block_section_header {
    background-color: #546ee5;
    background-color: #6e779f;
    /*background: linear-gradient(to top, #546ee5, #6782ff);*/
    color: #FFF;
    font-weight: bold;
    display: flex;
    width: 100%;
    /*border-top-left-radius:8px;
    border-top-right-radius:8px;*/
    align-items:center;
}

.block_section_header_lr{
    justify-content:space-between;
}

.block_section_header .div_line
{
    padding: 12px;
    border-right: solid 1px #FFF;
}

.block_section_header .div_line a{
    color: #FFF;
}

.block_section_header_popup{
    background-color: #FFF;
    color: #000;
    border-bottom: solid 1px #aaa;
    justify-content: space-between;
}

/*************************************************/
.table_fix {
    max-height: 100%; /* Ограничение высоты для прокрутки */
    overflow-y: auto;
    border-bottom: 1px solid #ccc;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.table_norm_fix {
    width: 100%;
    border-collapse: collapse;
    box-shadow:4px 4px 4px rgba(0, 0, 0, 0.1);

}

.table_norm_fix tr:nth-child(even) {
    background-color: #f2f2f2; /* Цвет для чётных строк */
}

.table_norm_fix tr:nth-child(odd) {
    background-color: #ffffff; /* Цвет для нечётных строк */
}


.row_select_id {
    background-color: #fff000 !important;
    transition: background-color 3s ease;
}




.table_norm_fix tr:hover {
    background-color: rgba(174, 215, 255, 0.22);
    color: #000;
}


.table_norm_fix thead {
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
}

.table_norm_fix tr th{
    background-color: #f0f0f0;
    border: solid 1px #dbdbdb;
    padding: 6px;
}

.table_norm_fix td {
    padding: 7px;
    border: solid 1px #dbdbdb;
    text-align: left;
}

.paginations{
    display: flex;
    justify-content: center;
    gap:5px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.paginations_bot10{
    margin-bottom: 10px !important;

}

.paginations:empty
{
    display: none;
}

.pagination-num{
    padding: 3px;
    padding-left: 7px;
    padding-right: 7px;
    border: solid 1px #ececec;
    border-radius:3px;
    text-decoration: none;
    background: linear-gradient(0deg, #eee,#fff);
}

.pan_buttons{
    display: flex;
    gap:10px;
    padding: 10px;
}

.pan_buttons_center{
    justify-content: center;
}

/***************** BUTTONS ***************************/

.button_event {
    display: flex;
    gap:5px;
    background-color: #546ee5;
    border-radius: 3px;
    padding: 7px;
    padding-right: 8px;
    padding-left: 8px;
    padding-right: 5px;
    padding-left: 5px;
    border: solid 1px #546ee5;
    padding-left: 10px;
    padding-right: 10px;
    color: #FFF;
    cursor: pointer;
    width: auto;
    background: linear-gradient(to top, #546ee5, #6782ff);
}

.button_dialog {
    background-color: #f0f0f0;
    border-radius: 3px;
    padding: 7px;
    padding-right: 7px;
    padding-left: 7px;
    padding-right: 8px;
    padding-left: 8px;
    padding-right: 5px;
    padding-left: 5px;
    border: solid 1px #b5b5b5;
    padding-left: 10px;
    padding-right: 10px;
    color: #000;
    cursor: pointer;
    background: linear-gradient(0deg, #ccc,#fff);
    display: flex;
    gap:5px;
    transition: background-color 0.3s ease; /* Плавный переход */
}

.button_dialog:active {
    background: linear-gradient(0deg, #aaa,#fff);
}


.button_dialog_select {
    background-color: #f0f0f0;
    border-radius: 3px;
    padding: 7px;
    padding-right: 7px;
    padding-left: 7px;
    padding-right: 8px;
    padding-left: 8px;
    padding-right: 5px;
    padding-left: 5px;
    border: solid 1px #b5b5b5;
    padding-left: 10px;
    padding-right: 10px;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(0deg, #057317,#00c832);
    display: flex;
    gap:5px;
    transition: background-color 0.3s ease; /* Плавный переход */
}

.button_dialog_select:active {
    background: linear-gradient(0deg, #aaa,#fff);
}

/****************************************************/

.row_edit {
    display: block;
    margin-bottom: 14px;
}


.row_edit_flex {
    display: flex;
    gap:10px;
}

.row_edit_flex_nowith div{
    width: auto !important;
    display: flex;
    flex-direction: column;
}

.row_edit_flex select{
    height: 38px;
}

.row_edit div{
    width: 100%;
}

.row_edit:last-child{
    margin-bottom: 0px;
}

.row_edit label, .row_edit input{
    display: block;
}

.row_edit input{
    width: 100%;
    padding: 10px !important;
    background-color: #f9f9f9  !important;
}

.row_edit textarea{
    width: 100%;
    padding: 10px !important;
    background-color: #f9f9f9  !important;
    font-size: 16px;
    font-family: "Calibri", Tahoma, Geneva, sans-serif;
}


.row_edit select{
    width: 100%;
    padding: 10px !important;
    background-color: #f9f9f9  !important;
}

.row_edit label{
    margin-bottom: 1px;
    color: #737373  !important;

}

.frm_closebtn{
    border:solid 1px #F00;
    display: inline-block;
    width: 18px;
    height: 18px;
}

.td_num{
    text-align: right !important;
}

.td_center{
    text-align: center !important;
}


input[name="rased_sort"]
{
    width: auto;
}

input[name="tipblud_sort"]
{
    width: auto;
}


input[name="kateg_sort"]
{
    width: auto;
}


input[name="vidobr_chves"] ,
input[name="vidobr_suhie"] ,
input[name="vidobr_belki"] ,
input[name="vidobr_jir"] ,
input[name="vidobr_uglevodi"] ,
input[name="prod_chves"] ,
input[name="prod_suhie"] ,
input[name="prod_belki"] ,
input[name="prod_jir"] ,
input[name="prod_uglevodi"],
input[name="prod_kalori"]
{
    width: auto;
    text-align: right;
}




.head_std_select{
    padding: 0px !important;
    background-color:#6e779f;;
    border:none;
    border-radius: 3px;
    color: #FFF;
    font-size: 16px;
    cursor: pointer;
}

.head_std_select_b{
    font-weight: bold;
    text-transform: uppercase;

}

/***************************************/

.head_std_select_popup{
    padding: 0px !important;
    background-color: #FFF;
    border: none;
    border-radius: 3px;
    color: #5960c8;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
}


/***********************************/
.fnc_panel {
    width: 100%;
    height: auto;
    display: block;
    padding: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    border: solid 2px #24a0ff;
    padding-left: 5px;
    border: none;
    font-size: 12px;
    background-color: #DDD;
    display: flex;
    gap: 5px;
}

.frmfind {
    display: flex;
    gap: 5px;
    align-items: center;
}

.frmfind a{
    color: #000;
}

.fnc_panel .std_input{
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;

}


.clsButtonSelect
{
    background-color: #0f74a8;
    background: linear-gradient(0deg, #ccc,#fff);
    border: solid 1px #b5b5b5;
    cursor: pointer;
    padding-left: 13px !important;
    padding-right: 13px !important;;
    padding: 3px;

}

.tb_standart td {
    padding: 5px;
}



/**************** column_flex  **********************/

input[name="vidobr_name"]
{
    min-width: 400px;
}

.columns_flex {
   display: flex;
    gap:20px;
}

.column_flex_title{
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 15px;
}



/************************************************************************/

.block_him_sost{
    display: flex;
    gap: 10px;
    margin-top: 10px;
}


#IDDopHut{
    display: flex;
    gap: 10px;
}


.rep_js_form
{
    display: flex;
    flex-direction: column;
}

/***************/

.find_block {
    display: flex;
    position: relative;
    background-color: #FFF;
    border: solid 1px #dfdfdf;
    border-radius: 3px;
    padding: 3px;
}

.find_block input {
    border: none;
    background-color: #FFF;
    outline: none;
}

.find_block input::placeholder {
    color: #aaa;
    font-style: italic;
}

.find_block a{
    position: absolute;
    right: 0px;
    z-index: 1;
    width: 18px;
    height: 18px;
    display: block;
    background-image: url("/img/find.png");
    background-size: contain;
    background-repeat: no-repeat;
}

.select_row{
    text-decoration: none;
    border-bottom: dotted 1px #aaa;
    color: #000;
}

.table_norm_fix_select tr:hover{
    background-color: #0000FF;
}

/********************/
.select_panel
{
    display: flex;
    flex-direction: column;
    width: 100%;
}

.select_panel_body{
    display: flex;
    flex-direction: column;
    width: 100%;
}

.select_panel_left{
    max-width: 400px;
}

.select_panel_right{
    max-width: 400px;
}

.select_panel_body_left{
    flex-grow: 1;
    max-height: 400px;
    overflow-y: scroll;
}

.select_panel_body_right{
   flex-grow: 1;
}

.select_panel_body_right_title{
    background-color: #546ee5;
    padding: 5px;
    color: #FFF;
    width: 100%;
}

#IDSaveButtonSelectRecept:empty {
    display: none;
}



.header_left_menu{
    display: flex;
    gap:5px;
}

.block_buttons_new{
    display: flex;
    justify-content: center;
    padding-top: 20px;
}

.footer {
    display: flex;
    height: auto;
    background-color: #2a2f43;
    justify-content: space-between;
    align-items: center;
    border-top: solid 1px #d9d9d9;
    padding: 10px;
    padding-left: 10px;
    padding-right: 10px;
    color: #FFF;
    align-items: center;
}


/***********************************/


*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Segoe UI,Arial,sans-serif;
}

.top_menu{

    background:linear-gradient(180deg,#4869df,#3556d3);
    height:68px;
    box-shadow:0 3px 15px rgba(0,0,0,.18);

}

.top_menu ul{

    list-style:none;
    display:flex;
    height:68px;

}

.top_menu li{

    position:relative;

}

.top_menu>ul>li>a{

    display:flex;
    align-items:center;
    gap:12px;

    color:#fff;
    text-decoration:none;

    height:68px;
    padding:0 28px;

    font-size:27px;
    font-weight:600;

    transition:.2s;

}

.top_menu>ul>li:hover>a{

    background:rgba(255,255,255,.12);

}

.top_menu img{

    width:34px;
    height:34px;

}

.top_menu i{

    margin-left:8px;
    font-style:normal;
    font-size:18px;

}


.dropdown{

    position:absolute;
    top:68px;
    left:0;

    width:360px;

    background:#fff;

    border-radius:18px;

    box-shadow:0 15px 40px rgba(0,0,0,.18);

    overflow:hidden;

    display:none;

    z-index:999;

}

.top_menu li:hover .dropdown{

    display:block;

}

.dropdown a{

    display:flex;
    align-items:center;

    gap:18px;

    padding:16px 22px;

    color:#1d2753;

    text-decoration:none;

    font-size:24px;

    border-bottom:1px solid #edf0f7;

    transition:.15s;

}

.dropdown a:last-child{

    border-bottom:none;

}

.dropdown a:hover{

    background:#f5f8ff;

}

.dropdown img{

    width:42px;
    height:42px;
    flex-shrink:0;

}

/****************************************************************/
.main_block_gird{
    display: flex;
    flex-direction: column;
    padding: 28px;
    padding-left: 29px;
    padding-right: 29px;
    background-color: #f7faff;
    height: 100%;
    gap:24px;

    overflow: auto;


    /*overflow-y: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;*/

/*
    flex: 1;
    background-color: #FFF;
    width: 100%;
    overflow: auto;
    background-size: contain; */

}

.main_block_gird_top{
    display: flex;
    justify-content: space-between;
    position: relative;
}

.main_block_gird_top .div_right{
    display: flex;
    justify-content: center;
    align-items: center;
}

.main_block_gird_top h2{
    font-size: 22px;
    font-family: Segoe UI,Tahoma,sans-serif;
    font-weight: 600;
    display: flex;
    margin-bottom: 5px;
}

.main_block_gird_top span{
    font-size: 15px;
    font-family: Segoe UI,Tahoma,sans-serif;
    color: #7881a0;

}
.button_new{
    background-color: #4863ee;
    border-radius: 7px;
    padding: 13px;
    color: #FFF;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(68,87,233,0.25);
    transition: background .15s ease;
}

.button_new:hover{
    background: var(--blue-dark);

}


.button_new svg{
    width: 18px;
    height: 18px;
}

.main_block_gird_body{
    border-radius: 8px;
    background-color: #FFF;
    padding: 23px;


    overflow-y: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;

}

/*****************************************/

/* Toolbar */
.new_ver_toolbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin-bottom: 16px;
}
.new_ver_filter-wrap{
    position:relative;
}
.new_ver_filter-select{
    display:flex;
    align-items:center;
    gap:10px;
    border:1px solid var(--border);
    border-radius:10px;
    padding:10px 16px;
    font-size:14px;
    font-weight:600;
    color:var(--text-dark);
    cursor:pointer;
    white-space:nowrap;
    background:#fff;
    user-select:none;
}
.new_ver_filter-select:hover{border-color:var(--blue);}
.new_ver_filter-select svg{color:var(--blue);width:16px;height:16px;}
.new_ver_filter-select .new_ver_chev{margin-left:6px;color:var(--text-muted);transition:transform .15s ease;}
.new_ver_filter-wrap.new_ver_open .new_ver_filter-select .new_ver_chev{transform:rotate(180deg);}
.new_ver_filter-wrap.new_ver_open .new_ver_filter-select{border-color:var(--blue);}

.new_ver_filter-menu{
    position:absolute;
    top:calc(100% + 6px);
    left:0;
    min-width:220px;
    background:#fff;
    border:1px solid var(--border);
    border-radius:10px;
    box-shadow:0 8px 24px rgba(20,25,40,0.12);
    padding:6px;
    display:none;
    z-index:20;
}
.new_ver_filter-wrap.new_ver_open .new_ver_filter-menu
{
    display:block;
    max-height: 400px;
    overflow-y: auto;
}
.new_ver_filter-option{
    padding:10px 12px;
    font-size:14px;
    font-weight:500;
    color:var(--text-dark);
    border-radius:8px;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:space-between;
}
.new_ver_filter-option:hover{background:var(--blue-light);color:var(--blue);}
.new_ver_filter-option.new_ver_selected{background:var(--blue-light);color:var(--blue);font-weight:700;}
.new_ver_filter-option .new_ver_check{width:15px;height:15px;color:var(--blue);visibility:hidden;}
.new_ver_filter-option.new_ver_selected .new_ver_check{visibility:visible;}

.new_ver_toolbar-right{
    display:flex;
    align-items:center;
    gap:14px;
    flex:1;
    justify-content:flex-end;
}
.new_ver_search-box{
    display:flex;
    align-items:center;
    gap:10px;
    border:1px solid var(--border);
    border-radius:10px;
    padding:11px 16px;
    max-width:420px;
    width:100%;
    color:var(--text-muted);
}

.new_ver_search-box button {
    border:none ;
    background: rgba(255,255,255,0);
    color: #9E9E9E;
    display: flex;
    align-items: center;
}

.new_ver_search-box svg{width:17px;height:17px;flex-shrink:0;}
.new_ver_search-box input{
    border:none;
    outline:none;
    font-size:14px;
    width:100%;
    color:var(--text-dark);
    background:transparent;
}
.new_ver_search-box input::placeholder{color:var(--text-muted);}
.new_ver_icon-btn{
    border:1px solid var(--border);
    border-radius:10px;
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--text-dark);
    cursor:pointer;
    flex-shrink:0;
    background:#fff;
}
.new_ver_icon-btn svg{width:17px;height:17px;}



/* Table */
.new_ver_table-head{
    display:flex;
    align-items:center;
    background:#F1F3FC;
    padding:14px 28px;
    font-size:14px;
    font-weight:700;
    color:var(--text-dark);
    border-top:1px solid var(--border);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}


.new_ver_table-head span{
    display:flex;
    align-items:center;
    gap:6px;
}
.new_ver_table-head svg{width:14px;height:14px;color:var(--text-muted);}


/*********************************table row*********/

.new_ver_row_block_rows{
    width: 100%;
    overflow-y: scroll;
}

.new_ver_row{
    display:flex;
    align-items:center;
    gap:16px;
    padding:16px 28px;
    border-top:1px solid var(--border);
    border-left:1px solid var(--border);
    border-right:1px solid var(--border);
}

.new_ver_row-icon{
    width:40px;
    height:40px;
    border-radius:50%;
    background:var(--blue-light);
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--blue);
    flex-shrink:0;
}
.new_ver_row-icon svg{width:18px;height:18px;}
.new_ver_row-content{flex:1;}
.new_ver_row-title{
    font-size:15px;
    font-weight:600;
    color:var(--text-dark);
    margin-bottom:4px;
}
.new_ver_row-meta{
    font-size:13px;
    color:var(--link-blue);
    font-weight:600;
    display:flex;
    align-items:center;
    flex-wrap:wrap;
}

.new_ver_row-meta a{
    color:var(--link-blue);
}

.new_ver_row-meta .new_ver_dot{
    color:var(--text-muted);
    margin:0 8px;
    font-weight:400;
}
.new_ver_row-menu{
    border:1px solid var(--border);
    border-radius:8px;
    width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--text-dark);
    cursor:pointer;
    background:#fff;
    flex-shrink:0;
}
.new_ver_row-menu svg{width:16px;height:16px;}

/* Pagination */
.new_ver_pagination{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:24px 0;
}
.new_ver_page-btn{
    min-width:36px;
    height:36px;
    padding:0 10px;
    border-radius:9px;
    border:1px solid var(--border);
    background:#fff;
    color:var(--text-dark);
    font-size:14px;
    font-weight:600;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
}
.new_ver_page-btn.new_ver_active{
    background:var(--blue);
    border-color:var(--blue);
    color:#fff;
}
.new_ver_page-btn.new_ver_nav svg{width:15px;height:15px;}
.new_ver_page-btn.new_ver_dots{border:none;cursor:default;color:var(--text-muted);}

@media (max-width:900px){
    .new_ver_page{padding:20px;}
    .new_ver_toolbar{flex-direction:column;align-items:stretch;}
    .new_ver_toolbar-right{justify-content:stretch;}
    .new_ver_search-box{max-width:none;}
    .new_ver_table-head{display:none;}
    .new_ver_row{flex-wrap:wrap;}
}

.find_word_highlight{
    background: #fff2a8;
    color: #222;
    font-weight: 600;
    padding: 1px 2px;
    border-radius: 3px;
}


/* =========================================================
   МНОГОКОЛОНОЧНЫЕ ТАБЛИЦЫ
   ========================================================= */

/* Заголовок */
.new_ver_multi_head {
    display: grid;
    align-items: center;

    min-height: 46px;
    padding: 0 28px;

    background: #f3f5ff;
    border: 1px solid #e1e6f0;

    color: #111936;
    font-size: 13px;
    font-weight: 600;
}

/* Строка */
.new_ver_multi_row {
    display: grid;
    align-items: center;

    min-height: 54px;
    padding: 0 28px;

    background: #fff;
    border-left: 1px solid #e1e6f0;
    border-right: 1px solid #e1e6f0;
    border-bottom: 1px solid #e1e6f0;

    transition: background .15s;
}

.new_ver_multi_row:hover {
    background: #f8faff;
}


/* =========================================================
   ВАРИАНТ: 2 КОЛОНКИ + ДЕЙСТВИЯ
   ========================================================= */

.new_ver_multi_head.cols-2 {
    grid-template-columns: 1fr 1fr 110px;
}

.new_ver_multi_row.cols-2 {
    grid-template-columns: 1fr 1fr 110px;
}


/* =========================================================
   ЯЧЕЙКА
   ========================================================= */

.new_ver_multi_col {
    min-width: 0;

    color: #263453;
    font-size: 13px;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;

    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}


/* Первая колонка с иконкой */
.new_ver_multi_name {
    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}


/* =========================================================
   ИКОНКА
   ========================================================= */

.new_ver_multi_icon {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #f0f3ff;
    color: #536fff;
}

.new_ver_multi_icon svg {
    width: 18px;
    height: 18px;
}


/* =========================================================
   ДЕЙСТВИЯ
   ========================================================= */

.new_ver_multi_actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}



/**********************/


.new_ver_table_wrap {
    width: 100%;
    max-height: calc(100vh - 260px);
    overflow-y: auto;
    overflow-x: auto;
}

.new_ver_table_wrap2 {
    width: 100%;
    overflow-y: auto;
    overflow-x: auto;
}


.new_ver_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}


/* ------------------------------
   Шапка
------------------------------ */

.new_ver_table thead th {
    border-bottom: 1px solid #e7eaf1;

    position: sticky;
    top: 0;
    z-index: 10;

    padding: 11px 16px;
    text-align: left;

    font-size: 14px;
    font-weight: 700;

    color: var(--text-dark);
    background: #f1f3fc;

    border-bottom: 1px solid #e7eaf1;

}



/* ------------------------------
   Строки
------------------------------ */

.new_ver_table tbody td {
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    vertical-align: middle;
    border-bottom: 1px solid #edf0f2;

    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.new_ver_table tbody tr {
    transition: background-color .15s ease;
}

.new_ver_table tbody tr:hover {
    background: #fafbfc;
}


/* ------------------------------
   Название нутриента
------------------------------ */

.new_ver_table_name {
    display: flex;
    align-items: center;
    gap: 10px;

    font-weight: 500;
}

.new_ver_table_icon {
    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 7px;

    background: #f1f5f9;
    color: #64748b;
}

.new_ver_table_icon svg {
    width: 18px;
    height: 18px;
}


/* ------------------------------
   Ширина колонок
------------------------------ */
/*
.new_ver_table th:nth-child(1),
.new_ver_table td:nth-child(1) {
    width: 55%;
}

.new_ver_table th:nth-child(2),
.new_ver_table td:nth-child(2) {
    width: 30%;
}

.new_ver_table th:nth-child(3),
.new_ver_table td:nth-child(3) {
    width: 15%;
}
*/

/* ------------------------------
   Действия
------------------------------ */

.new_ver_table_actions_head {
    text-align: right !important;
}

.new_ver_table_actions {
    text-align: right;
    white-space: nowrap;
}

.new_ver_table_actions a {
    display: inline-flex;
    vertical-align: middle;
}

.new_ver_table_actions a + a {
    margin-left: 5px;
}





/* строки */

.new_ver_table tbody td {
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    vertical-align: middle;
    border-bottom: 1px solid #edf0f2;
}

.new_ver_table tbody tr:hover {
    background: #fafbfc;
}

/********************/


.new_ver_table td:has(input) {
    padding: 0;
}

.new_ver_table td input {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 48px;

    box-sizing: border-box;

    border: 0;
    outline: none;

    padding: 0 16px;
    background: transparent;
    text-align: right;
}

.new_ver_table td input:focus{
    background-color: #F0F8FF;
}

.new_ver_table td input:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px #1683ff;
}

.new_ver_table thead th:first-child {
    border-radius: 10px 0 0 0;
}

.new_ver_table thead th:last-child {
    border-radius: 0 10px 0 0;
}

.new_ver_flex_tb_head{
    display: flex;
    justify-content: space-between;
}

.IIAGent_Button
{
    position: relative;
    height: 30px;
    padding: 0 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap:5px;

    border-radius: 6px;

    background: linear-gradient(
            180deg,
            rgba(255,255,255,0.32) 0%,
            rgba(255,255,255,0.16) 100%
    );

    border: 1px solid rgba(255,255,255,0.22);

    box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.28),
            0 2px 4px rgba(20,40,120,0.30);

    color: #fff;
    font-weight: 600;
    text-decoration: none;

    cursor: pointer;
    transition: all 0.15s ease;
}

.IIAGent_Button:hover {
    background: linear-gradient(
            180deg,
            rgba(255,255,255,0.42) 0%,
            rgba(255,255,255,0.22) 100%
    );

    box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.35),
            0 3px 6px rgba(20,40,120,0.35);

    transform: translateY(-1px);

    color: #fff;
    text-decoration: none;
}

.IIAGent_Button:active {
    transform: translateY(1px);

    box-shadow:
            inset 0 2px 3px rgba(20,40,120,0.25),
            0 1px 2px rgba(20,40,120,0.20);
}


.IIAgent_Window{
    position: absolute;
    width: 400px;
    height:70%;
    bottom: 0px;
    right:0px;
    background-color: #FFF;
    border-top-left-radius:8px;
    display: flex;
    flex-direction: column;
    box-shadow:0px 0px 14px rgba(0, 0, 0, 0.1);
    z-index: 10;
    display: flex;
}

.IIAgent_Window-header{
    display: flex;
    background-color: #0f74a8;
    border-top-left-radius:8px;
    color: #fff;
    font-weight: bold;
    padding: 10px;
    display: flex;
    justify-content: space-between;
}



.IIAgent_Window-body{
    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100%;

    border: solid 1px #F2F2F2;
    padding: 10px;
    background-color: #F6F6F6;

    box-sizing: border-box;
    min-height: 0;
}

.IIAgent_Window-body-text{
    display: flex;
    flex-direction: column;
    width: 100%;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    border: solid 1px #DFDFDF;
    box-sizing: border-box;
    background-color: #FDFDFD;
    padding: 10px;
}

.IIAgent_Window-bottom{
    display: flex;
    width: 100%;
    gap: 5px;
    padding: 5px;
    box-sizing: border-box;
    background-color: #F2F2F2;
    border: solid 1px #F2F2F2;
}

.IIAgent_Window-bottom textarea {
    flex: 1;
    min-width: 0;
    resize: none;
    outline: none;
    height:100px;
}

.IIAgent_Window-bottom textarea::placeholder{
    font-style: italic;
    color: #aaa;
}

.IIAgent_Window-bottom button {
    flex-shrink: 0;
    padding-left: 10px;
    padding-right: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.IIAgent_Window-close-agent{
    color: #FFF;
    text-decoration: none;
}

.IIAgent_Window_Color_Red{
    color: #F00;
}

.IIAgent_Window_Color_Green{
    color: #0A0;
}

.IIAgent_Window_Color_Blue{
    color: #00F;
}

.IIAgent_Window_Color_Orange{
    color: #f57000;
}