
/* Боковое меню */
    .sidebar {
      position: sticky;
      top: 0;
      height: calc(100vh - var(--scrollbar-compensate, 0px));
      background: var(--primary-color);
      color: #fff;
      box-sizing: border-box;
      overflow: hidden;
      width: var(--sidebar-width);
      transition: width 0.5s ease;
      display: flex;
      flex-direction: column;
      overflow-y: auto;
      overflow-x: hidden;
      scrollbar-width: thin;
      scrollbar-color: rgba(255,255,255,0.3) transparent;
    }

    html.has-h-scroll .sidebar {
      height: 97.5vh;
    }

    .sidebar.collapsed {
      width: var(--sidebar-width-collapsed);
    }

    .sidebar.collapsed.hover-open {
      width: var(--sidebar-width);
    }

    .sidebar-header {
      position: relative;
      display: flex;
      align-items: center;
      background: #222;
      padding: 1rem;
    }

    .site-title {
      font-size: 18px;
      font-weight: bold;
      white-space: nowrap;
      opacity: 1;
      transition: opacity 0.3s ease;
    }

    .sidebar.collapsed .site-title {
      opacity: 0;
      pointer-events: none;
    }

    .sidebar.collapsed.hover-open .site-title {
      opacity: 1;
    }

    .toggle-btn {
      background: none;
      border: none;
      color: #fff;
      font-size: 18px;
      cursor: pointer;
      flex-shrink: 0;
      position: absolute;
      top: 50%;
      right: 10px;
      transform: translateY(-50%);
    }

    .sidebar ul {
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .sidebar li {
      display: flex;
      flex-direction: column;
      font-size: 13px;
      position: relative;
    }

    .sidebar li > a {
      display: flex;
      align-items: center;
      color: #fff;
      text-decoration: none;
      padding: 0.5rem 1rem;
      min-height: 30px;
/*      box-sizing: border-box;    */
    }
    .sidebar li > a i:not(.arrow) {
      /* Размер всех иконок слева */
      font-size: 18px;            /* Размер иконки: 16px — можно изменить */
      width: 20px;                /* Ширина фиксированная для выравнивания */
      height: 16px;               /* Высота — чтобы иконка не "прыгалa" */
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 10px;         /* Отступ справа между иконкой и текстом */
      flex-shrink: 0;
    }
    .active_with_plus {
      background: #444;
      font-weight: bold;
    }
    .sidebar li.single-line.active_with_plus .menu-add-icon {
        background: green;
    }
    .sidebar li > a.active {
        background: #444;
        font-weight: bold;
      }

    .sidebar.collapsed li > a {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      gap: 10px;
    }

    .sidebar.collapsed.hover-open li > a {
      justify-content: flex-start;
      padding: 0.5rem 1rem;
      gap: 10px;
    }

    .sidebar li > a:hover {
      background: #444;
    }

    .sidebar li > a i {
      flex: 0 0 auto;
      font-size: var(--icon-size);
      margin-right: 10px;
    }

    .sidebar.collapsed li > a i {
      margin: 0;
    }

    .item-title {
      flex: 0 0 200px;
      white-space: normal;
      overflow-wrap: break-word;
      line-height: 1.2;
      transition: none;

    }

    .sidebar.collapsed .item-title {
      display: none;
    }

    .sidebar:not(.collapsed) .item-title,
    .sidebar.collapsed.hover-open .item-title {
      display: block;

    }

    .sidebar li > a .item-title {
      font-size: 14px;
      white-space: nowrap;
    }

    .sidebar li > a .arrow {
      font-size: 12px !important;
      margin-left: auto !important;
      transition: transform 0.2s;
      flex-shrink: 0;
      margin: 0;
    }

    /* Поворот стрелки при открытии */
    .sidebar li.open > a .arrow {
      transform: rotate(180deg);
    }
    .sidebar.collapsed .arrow {
      display: none;
    }


    .sidebar.collapsed.hover-open .arrow {
      display: block;
      margin-left: auto;
    }

    .sidebar li > ul {
      max-height: 0;
      overflow: hidden;
      flex-direction: column;
      padding-left: 30px;
      border-left: 2px solid rgba(255, 255, 255, 0.1);
      transition: max-height 0.3s ease;
      width: 260px;
      min-width: 180px;
      z-index: 10;
    }

    .sidebar li.open > ul {
      max-height: none;
          display: block;
    opacity: 1;
    pointer-events: auto;
    }

    .sidebar li ul li a {
      font-size: 13px;
      padding: 0.5rem 1rem;
      min-height: 30px;
    }

    .sidebar.collapsed ~ footer.footer {
      left: var(--sidebar-width-collapsed);
    }

    .sidebar.collapsed.hover-open ~ footer.footer {
      left: var(--sidebar-width);
    }

    /* Строка в горизонт */
    .sidebar li.single-line {
      display: flex;
      align-items: center;
      flex-direction: row;
      justify-content: space-between;
    }
    a.main-lin {
        padding-right: 5px !important;
    }
    .sidebar li.single-line a.main-link {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      flex: 1;

      color: #fff;
      text-decoration: none;
      min-height: 40px;
    }

    .sidebar.collapsed li.single-line .main-link {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 0.5rem 0;
      gap: 0;
    }

    .sidebar.collapsed.hover-open li.single-line .main-link {
      justify-content: flex-start;
      padding: 0.5rem 1rem;
      gap: 10px;
    }

    .sidebar li.single-line .menu-add-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 10px !important;
      margin-right: 10px;
      font-weight: bold;
      border-radius: 4px;
      color: #fff;
      text-decoration: none;
      transition: background 0.2s ease, color 0.2s ease;
      background: transparent;
    }

    .sidebar li.single-line:hover {
      background: #444;
    }

    .sidebar li.single-line .menu-add-icon:hover {
      background: #0060F0 !important;
    }

    .sidebar li.single-line:hover .menu-add-icon {
      background: green;
    }

    .sidebar.collapsed li.single-line .menu-add-icon {
      display: none;
    }

    .sidebar.collapsed.hover-open li.single-line .menu-add-icon {
      display: inline-flex;
    }
/* Боковое меню Конец*/



/* --------------- Style to null --------------- */
html, body, div, span, h1, h2, h3, h4, h5, h6, p, em, img, strong, sub, sup, b, u, i,dl, dt, dd,
ol, ul, li, fieldset, form, label, table, tbody, tfoot, thead, tr, th, td, article, aside, canvas,
details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    vertical-align: baseline;
    background: transparent;
    font-family: var(--font-family);
}
a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
thead {
    z-index: 1;
}
td, td img {
    vertical-align: top;
}
.site input, .site select,.site  button, .site textarea {
    margin: 0;
    font-size: var(--font-size);
    font-family: var(--font-family);
}
.site input[type="text"], .site input[type="password"], .site textarea, .site input[type="email"], .site input[type="phone"], .site input[type="number"] {
    padding: 0;
}
/*.site input[type="checkbox"] {
    vertical-align: bottom;
}*/
.site input[type="radio"], .site input[type="checkbox"]  {
    vertical-align: text-bottom;
}
sub {
    vertical-align: sub;
    font-size: smaller;
}
sup {
    vertical-align: super;
    font-size: smaller;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display:block;
}
ul,
ol {
    list-style:none;
}
html {
    overflow-y: scroll;
    overflow-x: auto;
}
html,
body {
    height: 100%;
    line-height: 1;
    color: #000;
    text-align: left;
    z-index: 1;
    position: relative;
    font-family: var(--font-family);
}

input,
textarea {
    outline: none;
}
textarea {
    overflow: auto;
}
input[type="button"], input[type="submit"], button {
    cursor: pointer;
}
a {
    color: var(--link-color);
}
a, a:visited {
    text-decoration: none;
}
a:hover {
    text-decoration: none;
}
a:focus, a:active {
    text-decoration: none;
}
input[type="search"]:focus {
    outline: none;
}
input[type="submit"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
button::-moz-focus-inner {
    padding:0;
    border:0;
}
:focus {
    outline: none;
}
::-webkit-input-placeholder {
    color: #ccc;
}
:-moz-placeholder {
    color: #ccc;
}
.placeholder {
    color: #ccc;
}
/* --------------- /Style to null --------------- */
/* --------------- b-content --------------- */
.content {
    min-height: 1080px;
    font-size: var(--font-size);
    line-height: var(--line-height);
/*    overflow-x: auto;   */
    width: 100%;
    min-width: 0;       /* важно для flex! */
    box-sizing: border-box;
    background: #fff;
    padding: 20px 10px 20px 10px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;

}
.content h1 {
    font-size: 150%;
    margin-bottom: 20px;
    color: var(--primary-color);
}
.content h2 {
    font-size: 140%;
    margin-bottom: 15px;
    color: var(--primary-color);
}
.content h3 {
    font-size: 130%;
    margin-bottom: 12px;
    color: var(--primary-color);
}
.content h4 {
    font-size: 120%;
    margin-bottom: 10px;
}
.content h5 {
    font-size: 110%;
    margin-bottom: 10px;
}
.content h6 {
    font-size: 100%;
    margin-bottom: 10px;
}
.content ul {
    list-style: disc;
}
.content ul ul {
    margin: 10px 0 10px 25px;
}
.content ol {
    list-style: decimal;
    margin: 0 15px 10px 20px;
}
.content ol ol {
    margin: 10px 0 10px 25px;
}
.content li {
    margin-bottom: 5px;
}
.content p {
    margin-bottom: 10px;
}
.content table {
    margin-bottom: 15px;
    font-size: 100%;
    width: 100%;
    border: 1px solid var(--border-color);
    border-bottom: none;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
.content th,
.content td {
    border: 1px solid var(--border-color);
    padding: 3px;
    text-align: left;
    font-size: var(--font-size);
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
.content th {
    vertical-align: middle;
    text-align: center;
    font-weight: normal;
    background: var(--primary-color);
    color: #fff;
    border: 1px solid #0277B2;
}
.content a,
.content a font {
    color: var(--primary-color);
    text-decoration: underline;
}
.content a:visited,
.content a:visited font {
    color: var(--primary-color);
}
.content a:hover,
.content a:hover font {
    color: var(--primary-color);
    text-decoration: none;
}
.content a:active,
.content a:active font {
    color: var(--error-color);
}
.content img[align=left] {
    margin: 0 10px 10px 0;
    float: left;
}
.content img[align=right] {
    margin: 0 0 10px 10px;
    float: right;
}
.wrap_delete {
    display: inline-block;
    margin-right: 10px;
}
.content dl {
    margin: 0 0 15px 0;
}
.content dt {
    font-weight: bold;
    margin-bottom: 2px;
}
.content dd {
    margin-bottom: 5px;
}
.content hr {
    height: 1px;
    border: none;
    color: #aaa;
    background: #aaa;
    margin: 10px 0;
    clear: both;
}
/* --------------- /b-content --------------- */
/* --------------- site --------------- */
.site {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100%;
    min-width: 1000px;
    position: relative;
    z-index: 1;
    font-family: var(--font-family);
}
.site__layout {
    width: 100%;
    background: var(--secondary-color);
}
.site__content > tbody {
    width: 100%;
    display: block;
}
.site__content > tbody > tr > td:first-child + td {
    border-left: 1px solid #e5e5e5 !important;
}
.site__content {
       width: 100%;
    margin: 0 auto;;
  transition: margin-left 0.3s ease;

}
.site__content.shifted {
  margin-left: 260px;
}
span.info {
    padding: 0 0 0 10px;
    font-size: var(--font-size);
    color: #a4a4a4;
}
.site input[type="text"].small {
    width: 90px;
}
.site input[type="text"].mini {
    width: 50px;
}
select {
    font-size: var(--font-size);
    background-color: #fff;
    border: 1px solid #ccc;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    height: 28px;
    line-height: 28px;
    padding: 0 6px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
.site input[type="text"].error, .site input[type="file"].error, .site input[type="password"].error, .site select.error, .site input[type="search"].error, .site textarea.error, .site .content .error:focus {
    border: 1px solid var(--error-color) !important;
}
.error + p.error_text {
    display: block;
}
p.error_text {
    display: none;
    color: var(--error-color);
    font-size: var(--font-size);
    padding: 0;
    line-height: 19px;
    margin: 0;
}
p.error_text_header {
    color: var(--error-color);
}
.site input[type="text"]:focus, .site input[type="password"]:focus, .site input[type="search"]:focus, .site textarea:focus {
    border: 1px solid var(--primary-color);
}
.site input[type="text"], .site input[type="password"] {
    background-color: #fff;
    border: 1px solid #ccc;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    width: 100%;
    height: 28px;
    line-height: 28px;
    padding: 0 6px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}
.site textarea {
    width: 100%;
    display: inline-block;
    vertical-align: top;
    resize: vertical;
    background-color: #fff;
    border: 1px solid #ccc;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    min-height: 60px;
    padding: 6px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}
.form_table {
    width: 100%;
    border: 1px solid var(--border-color);
}
.form_table th {
    height: 35px;
    font-weight: bold;
    text-align: left;
    padding-left: 14px;
    font-size: 14px;
    border: 1px solid var(--primary-color);
}
.form_table p, .login_form p {
    margin-bottom: 0;
}
tr.odd {
    background: #f2f2f2;
}
.site input[type='submit']:hover,
.site input[type='button']:hover {
    opacity: 0.8;
}
.site input[type='submit'],
.site input[type='button'] {
    font-weight: bold;
    height: 28px;
    background: var(--primary-color);
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    color: #fff;
    border: none;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    padding: 0 15px;
}
.form_table td:first-child {
    width: 28%;
    vertical-align: middle;
    padding-left: 14px;
}
.form_table .info:hover span, .base_table .info:hover span {
    display: block;
}
.form_table .info span, .base_table .info span {
    z-index: 1;
    min-width: 350px;
    position: absolute;
    top: 5px;
    left: 5px;
    display: none;
    background: #fff;
    padding: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 5px #ddd;
    color: #000;
    font-weight: normal;
    font-size: var(--font-size);
    text-align: left;
}
.form_table .info:before, .base_table .info:before {
    content: "?";
}
.form_table .info.white, .base_table .info.white {
    border: 1px solid #fff;
    background: #fff;
    color: var(--primary-color);
}
.form_table .info, .base_table .info {
    font-weight: bold;
    font-size: var(--font-size);
    text-align: center;
    line-height: 15px;
    cursor: pointer;
    border: 1px solid var(--primary-color);
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    display: inline-block;
    vertical-align: top;
    position: relative;
}
.form_table td {
    font-size: var(--font-size);
    border: none;
    height: 35px;
    vertical-align: middle;
    border-bottom: 1px solid var(--border-color);
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
.item_tags .wrap_input:first-child {
    margin: 0;
}
.item_tags .wrap_input:first-child input {
    margin: 0;
}
.item_tags .wrap_input {
    margin: 5px 0 0 0;
}
.wrap_input {
    margin-bottom: 5px;
}
.wrap_input input {
    display: inline-block;
    vertical-align: top;
    margin: 2px 0 0 0;
}
.options_add {
    margin-bottom: 15px;
    background: var(--primary-color);
    height: 35px;
    padding-left: 14px;
    line-height: 35px;
    cursor: pointer;
    color: #fff;
    position: relative;
    font-weight: bold;
}
.options_add.open:before {
    top: 15px;
    right: 12px;
    border: 5px solid transparent;
    border-top: 5px solid #fff;
}
.options_add:before {
    content: '';
    position: absolute;
    top: 14px;
    right: 12px;
    position: absolute;
    border: 5px solid transparent;
    border-right: 5px solid #fff;
}
.options_add + table {
    display: none;
    margin-top: -15px;
}
.options_add.open + table {
    display: table;
}
.sub_links {
    font-size: var(--font-size);
    padding-right: 2px;
    float: right;
}
.sub_links a:first-child:before {
    display: none;
}
.sub_links a {
    display: inline-block;
    vertical-align: top;
}
.item_options label {
    width: 13%;
    line-height: 28px;
    display: inline-block;
    vertical-align: top;
}
.item_options input[type='text'] {
    width: 87% !important;
    margin-bottom: 10px;
}
.item_options {
    display: none;
}
.login_form {
    width: 270px;
    margin: 0 auto;
}
.login_form input[type='submit'] {
    margin: 6px 0 0 64px;
}
.content .login_table {
    display: block;
    margin: 0 auto;
    width: 241px;
}
.login_table input[type='submit'] {
    margin-left: 2px;
}
.login_table td {
    border: none;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
    padding: 6px;
}
.content .wrap_sub td:first-child {
    width: 28%;
    vertical-align: middle;
    padding-left: 14px;
}
.content .wrap_sub td {
    border: none;
}
.content .wrap_sub {
    border: none;
    margin-bottom: 30px;
}
.base_table th {
    height: 35px;
}
.base_table th.order .order_desc {
    margin-bottom: -12px;
    bottom: 50%;
    border-top: 5px solid #fff;
}
.base_table th.order .order_asc {
    top: 50%;
    margin-top: -12px;
    border-bottom: 5px solid #fff;
}
.base_table th.order span {
    opacity: 1;
}
.base_table th.order a {
    opacity: 0.5;
}
.base_table th.order a, .base_table th.order span {
    right: 5px;
    position: absolute;
    color: #fff;
    border: 5px solid transparent;
}
.base_table th.order {
    position: relative;
    padding-right: 17px;
}
.base_table tr:hover {
    background: #eaeaea;
}
.base_table td {
    vertical-align: middle;
    /*text-align: center;*/
}
.base_table tr {
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}
/* --------------- /site --------------- */

/* --------------- bread_crumbs --------------- */
.bread_crumbs {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
    font-size: 14px;
    padding-bottom: 6px;
    color: var(--primary-color);
    font-weight: bold;
}
/* --------------- /bread_crumbs --------------- */
/* --------------- navigation --------------- */
.navigation {
    list-style: none;
    padding: 0 0 20px 0;
}
.navigation a:hover {
    background: #f4f4f4;
}
.navigation span {
    width: 38px;
    display: inline-block;
    height: 38px;
    text-align: center;
    line-height: 40px;
    cursor: default;
    border: 1px solid transparent;
}
.navigation span.active {
    border: 1px solid #428bca;
    background: #428bca;
    color: #fff;
    display: inline-block;
    height: 38px;
    text-align: center;
    line-height: 40px;
    cursor: default;
    margin: 0 0 4px 0;
}
.navigation a {
    text-decoration: none;
    display: inline-block;
    border: 1px solid #ddd;
    height: 38px;
    width: 38px;
    margin: 0 0 4px 0;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}
/* --------------- /navigation --------------- */
td.small, th.small {
    width: 1%;
}
table.small {
    width: auto !important;
}
.content table.no_indent {
    margin-bottom: 0;
}
#ui-datepicker-div {
    font-size: var(--font-size);
}
.ui-datepicker .ui-datepicker-title select {
    height: 19px;
    line-height: 19px;
}
#search_block table{border-collapse:collapse;margin-bottom:0;width:auto;}
#search_block p{margin-bottom:0;}
#search_block table td{border:1px solid var(--border-color);padding-left:14px;padding-right:14px;}
#search_block .form_table td:first-child {padding-right:30px;width:auto;}
#search_block{position: absolute;display:none;left:10px;max-height:300px;overflow:auto;
    z-index: 9;
    background: #fff;
    width: 720px;
    padding: 0px;
    border: 2px solid #ccc;box-shadow: 1px 2px 6px rgba(0,0,0,.2);background-color: white;}
.inline_input {
    display: inline-block;
    vertical-align: top;
    width: 32%;
}
tr.disable, tr.disable a {
color: #c2c2c2 !important;
}
.left_aside .aside_content {
position: fixed;
}
.left_aside.active .aside_content {
width: 260px;
  height: auto;
  overflow-y: auto;
}
input:focus, select:focus, textarea:focus {
border: 1px solid var(--primary-color);
}
input[type='checkbox']:focus, input[type='radio']:focus {
outline: 1px solid var(--primary-color);
}
.content {
position: relative;
}
.has_info {
cursor: pointer;
position: relative;
}
.has_info > a {
text-decoration: underline;
color: var(--primary-color);
}
.popup_info {
display: none;
text-decoration: none;
color: #000;
z-index: 1;
word-wrap: break-word;
position: absolute;
top: 10px;
width: 250px;
padding: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
background: #fff;
}
.site input[type="text"].phone {
    width: 140px;
}
td.row_left_enabled
{
  cursor: pointer;
}
.site input[type='submit']:disabled, .site input[type='button']:disabled {
   opacity: 0.4;
}
.open_close{
    display:inline-block;
    vertical-align:top;
    width:14px;
    height:14px;
    line-height:14px;
    border:solid 1px var(--primary-color);
    color:var(--primary-color);
    text-align:center;
    margin-right: 10px;
    cursor:pointer;
    padding:0;
}
.info.left span {
    right: 5px;
    left: auto;
}
.add-record-container {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 1000;
}
.add-button {
  font-family: var(--font-family);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  border-radius: 50%;
  text-decoration: none;
  color: #ffffff;
  font-size: 14px;
  transition: background-color 0.3s;
  position: relative;
}
.add-button:hover {
  background-color: var(--primary-color);
  opacity: 0.8;
}
.plus {
  line-height: 1;
}
.tooltip {
  font-size: var(--font-size);
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 50%;
  right: 110%;
  transform: translateY(-50%);
  background-color: var(--secondary-color);
  color: #000000;
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid #ddd;
  box-shadow: 0 0 5px #ddd;
  white-space: nowrap;
  transition: opacity 0.3s, visibility 0.3s;
  pointer-events: none;
}
.add-button:hover .tooltip {
  visibility: visible;
  opacity: 1;
}
.left_aside .aside_content {
  bottom: var(--footer-height);
  top: 0
}
.footer {
  font-family: var(--font-family);
  height: var(--footer-height);
  position: sticky;
  bottom: 0;
  width: 100%;
  background-color: #f5f5f5;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
  z-index: 1000;
}

.footer__container {
  margin: 0 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.footer__logo {
  font-size: 14px;
  font-weight: bold;
}
.footer__year,
.footer__support {
  font-size: 12px;
}
.footer__support a {
  color: var(--primary-color);
  text-decoration: none;
  margin: 0 4px;
}
.footer__support a:hover {
  text-decoration: underline;
}

#back-to-top {
  position: fixed;
  right: 20px;
  bottom: calc(var(--footer-height) + 90px);
  display: none;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
  line-height: 40px;
  font-size: 20px;
  border-radius: 50%;
  text-decoration: none;
  z-index: 1001;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: opacity 0.3s;
}
#back-to-top:hover {
  opacity: 0.8;
}
.b24-widget-button-position-bottom-right {
  right: 13px !important;
}
.menu-add-icon {
  flex: none;
}