@font-face {
  font-family: icons;
  font-display: swap;
  src: url("../fonts/icons.woff") format("woff"), url("../fonts/icons.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "icons";
  font-display: swap;
  src: url("../fonts/icons.woff") format("woff"), url("../fonts/icons.woff2#icons") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^=fa-custom-]:before,
[class*=" fa-custom-"]:before {
  font-family: "FontAwesome";
  font-display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: inline-flex;
  font-size: large;
  font-weight: bolder;
}
.fa-custom-question-circle-o:before {
  content: "\f29c";
  font-size: x-large;
  font-weight: 400;
}
[data-bs-toggle] .tooltip {
  position: fixed;
  font-size: 16px;
  line-height: 20px;
  padding: 5px;
  background: #444;
  border: 1px solid #222;
  visibility: hidden;
  opacity: 0;
  box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s, visibility 0s;
  color: white;
  min-width: 120px;
  margin: 1em;
}

[data-bs-toggle]:hover .tooltip {
  visibility: visible;
  opacity: 1;
}
.main__movement-item {
  font-size: 14px;
  display: flex;
  align-items: stretch;
  flex-direction: row;
  gap: 0;
}
.main__movement-value {
  min-width: 300px;
  line-height: 32px;
}
.main__movement-value.full-size {
  min-width: 800px;
}
.main__movement-title {
  line-height: 32px;
  width: 200px
}
.main__movement-title.full-size {
  min-width: 400px;
}
.main__movement-value p {
  vertical-align: middle;
}
.main__movement-title p {
  vertical-align: middle;
  margin-top: 2px;
  margin-bottom: 2px;
}
.tabs {
    margin: 1em 0 0 0;
}
.tabs__content {
    margin: 1em 0 0 0;
}
.tab__footer {
  margin: 1em 0 0 0;
}
.main__table {
    margin: 1em 0 0 0;
}
.main__table .helptext {
  font-size: 10pt;
}
.menu__navbar {
  /* По размеру логотипа */
  width: 206px;
  margin: 1.5625em 0 0 0;
}

/* Dashboard start */
.one-line-dashboard {
  display: inline;
}
.dashboard-block {
  display: inline-table;
    width: 300px;
    height: 250px;
    border: 1px solid #203b54;
    border-radius: 10px;
    margin: 10px;
    text-align: center;
}
.header-dashboard {
    background-color: #203b54;
    color: #FFF;
    height: 25%;
    padding: 10px;
    border-radius: 10px 10px 0 0;
    font-size: 18px;
    font-weight: 500;
}
.text-dashboard {
    padding: 10px;
    color: #203b54;
}
.dashboard-value {
  font-size: 42px;
  font-weight: bolder;
  margin-top: 15%;
  padding-bottom: 5%;
}
/* Dashboard end */

input[type="text"]:read-only, input[type="number"]:read-only {
  background-color: rgba(176, 176, 176, 0.1);
  pointer-events: none;
}

.delete-row-inline:before {
  font-family: "icons";
  content: "\e913";
}

.form__input {
  padding: 0.5em 0.64em;
  border: 1px solid #aaa;
}
.dropdown__list-item {
  padding: 0.5em;
}

/* Обработчик ошибок - Старт */
.invalid-tr {
  background-color: #ffdddd;
}
#table_error {
  border: 1px solid #dee4f1;
  color: #203b54;
  visibility: hidden;
  user-select: none;
 /* white-space: nowrap; */
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 6px;
  padding: 0.8125em 0.5625em;
  background-color: #ffdddd;
}
#table_error.success {
  background-color: #c7ffc7;
}
#table_error.info {
  background-color: #fff3cd;
}
/* Обработчик ошибок - Конец */

/* Размер инпутов для полей plan, count, calculate */
.plan__count__calculated {
  width: 10ch;
}
/* скругляем чекбокс checkbox__content */
.radio__content::before {
    border-radius: 100%;
}
/* Изменяем размер выпадающего фильтра */
.filter__button.active {
  min-width: fit-content;
  border-radius: 6px;
}
/* кнопка "Печать этикеток */
.btn-barcode {
  display: inline-flex;
  visibility: hidden;
}
.icn-barcode, .icn-settings {
  margin: 0 0.71em 0 0;
  width: 16px;
  height: 16px;
  fill: #203b54;
  -webkit-transition: all .3s ease 0s;
    -o-transition: all .3s ease 0s;
    transition: all .3s ease 0s;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
.icn-barcode.hover, .icn-settings.hover {
  fill: #FFF;
}
.icn-settings {
  margin: 0;
  width: 24px;
  height: 24px;
}
.btn-settings {
  padding: 0;
  min-width: 46px;
}

.popup__body.print_label__body {
  max-width: 830px;
}
.form__print__label__result {
  margin-bottom: 1em;
}
/* Значёк загрузки круглый */
.loading2 {
  width: 15px;
  height: 15px;
  border: 1em solid #FFF;
  border-top-color: #203b54;
  border-radius: 100%;
  -webkit-animation: loading2 linear .9s infinite;
  animation: loading2 linear .9s infinite;
  margin: auto;
  padding: 1em;
}
@-webkit-keyframes loading2 {
  100% {-webkit-transform: rotate(360deg);}
}
@keyframes loading2 {
  100% {transform: rotate(360deg);}
}
.menu {
  z-index: 2001;
  overflow-y: auto;
  padding: 1.5625em 0;
}
.algorithm-list {
  width: 50%;
}
.algorithm-list .main__movement-item.button {
  display: block;
  margin-top: 2.125em;
}

.range-filter-input {
    display: flex;
    align-items: center;
    justify-content: center;

}

.clean-input {
  border-style: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5714285714;
  letter-spacing: .0041em;
  color: #203b54;
  background: none;
}

input:disabled {
  background-color: #eee;
  cursor: default;
  border: 1px solid #aaa;
  border-radius: 4px;
}

.clean-input.vendor {
  max-width: 100px;
}

.detail__form {
  display: flex;
  align-items: baseline;
  flex-direction: row;
}
.detail__images {
  margin-left: 0.75em;
}


.formset-image .formset-image-inline {
  display: block;
  margin-top: 0.75em;
  border-bottom: 1px solid #aaa;
  padding-bottom: 0.75em;
}

.formset-image-head label:first-child {
  font-weight: 500;
  padding-bottom: 0.75em;
}

form.login input {
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    -webkit-transition: all .3s ease 0s;
    -o-transition: all .3s ease 0s;
    transition: all .3s ease 0s;
    width: 100%;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    padding: 1em 1.2857142857em;
    border: 1px solid #dee4f1;
    border-radius: 6px;
    color: #203b54;
    padding: 0.5em 0.64em;
}

.checkbox-item {
  display: flex;
  align-items: center;
  /* justify-content: space-between; */
}
.menu__chevron__left {
  position: absolute;
  padding: 0.8125em 1.375em;
  bottom: 0;
}
.full__width {
  max-width: 50%;
}
.full__width .form {
  width: 100%;
}
.full__width .main__movement-item {
  display: block;
}
.support__message {
  display: flex;
  justify-content: flex-start;
  padding: 1em 0;
}
.support__message .support__message__chat {
  width: 60%;
  border: 1px solid rgba(0, 0, 0, .2);
  padding: 1rem;
  border-bottom-left-radius: 10px;
  border-top-left-radius: 10px;
  height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.support__message .support__message__detail {
  width: 20%;
  border-top: 1px solid rgba(0, 0, 0, .2);
  border-right: 1px solid rgba(0, 0, 0, .2);
  border-bottom: 1px solid rgba(0, 0, 0, .2);
  border-bottom-right-radius: 10px;
  border-top-right-radius: 10px;
}
.support__message .detail__row__list {
  padding: 1rem;
}
.support__message .detail_title {
  display: block;
  font-weight: 600;
  padding-bottom: 0.5em;
}
.support__message .detail_status {
  display: block;
  color: rgba(0,0,0,.6);
}
.support__message .chat {
  overflow-y: auto;
  padding-right: 0.5em;
}
.support__message .new__message {
  width: 100%;
  margin-top: 1em;
}
.support__message .new__message textarea {
  width: 100%;
}
.support__message .new__message button {
  width: 100%;
  margin-top: 1em;
}
.support__message .operator {
  width: 80%;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 10px;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.support__message .client {
  width: 80%;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 10px;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  margin-left: auto;
  background-color: #fff;
}
.support__message .chat .text__message {
  padding: 1em;
  line-height: normal;
}
.support__message .chat .text__message .datetime {
  display: block;
  font-size: 11px;
  color: rgba(0, 0, 0, .6);
}
.support__message .chat .text__message .text__in__message {
  display: block;
}
.support__message .chat .text__message .user {
  font-weight: 600;
}
.support__message .chat .text__message .message__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
  margin-bottom: 0.5em;
}
.support__message .chat .text__message .message__media {
  border-top: solid 1px rgba(0,0,0,0.2);
  margin-top: 0.5em;
  padding-top: 0.5em;
  display: block;
  font-size: 12px;
}
.support__message .chat .text__message .message__media .message__media__url {
  padding-top: 0.25em;
}

.support__message .chat .change__status {
  margin: auto;
  width: 50%;
  padding: 0.5em 0;
  font-size: 14px;
}

.support__message__chat blockquote {
  display: block;
  width: 60%;
  color: #555555;
  padding: 0 1em 0.5em 1.5em;
  border-left: 8px solid #93b7d9;
  background: #EDEDED;
  position: relative;
  border-radius: 10px;
  word-wrap: break-word;
}

.support__message__chat blockquote::before {
  font-family: Arial;
  content: "\201C";
  color: #93b7d9;
  font-size:3em;
  position: absolute;
  left: 2%;
  top: 2%;
}

.support__message__chat h3 {
  display: block;
  color: #203b54;
  font-size: 2.7em;
  margin: 0.5em 0 0.5em 0;
  font-weight: bold;
}

.support__message__chat h5 {
  display: block;
  color: #203b54;
  font-size: 2em;
  margin: 0.5em 0 0.5em 0;
  font-weight: bold;
}

.support__message__chat h6 {
  display: block;
  color: #203b54;
  font-size: 1.3em;
  margin: 0.5em 0 0.5em 0;
  font-weight: bold
}

.text__in__message ul {
  list-style-type: disc;
  padding: 0 0 0 1em;
  line-height: 0.8em;
  margin: 0 0 0 1.5em;
}

.support__message__chat ol {
  list-style-type: decimal;
  padding: 0 0 0 1em;
  line-height: 0.8em;
  margin: 0 0 0 1.5em;
}

.support__message__chat hr {
  border-bottom: 1px solid #cfcfcf;
  padding: 1em 0 1em 0;
}

.support__message__chat a {
  color: #244480;
}

.support__message__chat a:hover {
  color: #4872c2;
  text-decoration: underline;
}

.support__message__chat code {
  display: block;
  width: 80%;
  background-color: #DCDCDC;
  margin: 1em 0 1em 0;
  padding: 1em;
  border-radius: 10px;
  font-family: monospace, monospace;
  word-wrap: break-word;
}

.password_reset {
  padding: 1em 0;
  max-width: 50%;
}
.password_reset label {
  display: none;
}
.password_reset .mb-3 {
  padding: 0.25em 0;
}
.password_reset input {
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  -webkit-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  width: 100%;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 1em 1.2857142857em;
  border: 1px solid #dee4f1;
  border-radius: 6px;
  color: #203b54;
}

.password_reset input::-webkit-input-placeholder {
  color: #203b54;
  font-size: inherit;
  font-weight: 500;
}

.password_reset input::-moz-placeholder {
  color: #203b54;
  font-size: inherit;
  font-weight: 500;
}

.password_reset input::-moz-placeholder {
  color: #203b54;
  font-size: inherit;
  font-weight: 500;
}

.password_reset input::-ms-input-placeholder {
  color: #203b54;
  font-size: inherit;
  font-weight: 500;
}

.password_reset input:focus {
  border-color: #203b54;
}
.header {
  z-index: 3000;
  background: #fafbfc;
  border-bottom: solid;
  border-bottom-color: #ebeced;
  border-bottom-width: thin;
  padding: 0.3em 0;
}
.form__status {
  flex-wrap: wrap;
}
[data-help-text] {
 position: relative;
 cursor: help;
}
[data-help-text]::after {
 content: attr(data-help-text);
 position: absolute;
 left: 0; bottom: 1em;
 opacity: 0;
 transition: 0.5s;
 pointer-events: none;
 background: rgba(32, 59, 84, 0.9);
 color: #fff;
 padding: 0.5em;
 z-index: 2002;
 min-width: 250px;
}
[data-help-text]:hover::after {
 opacity: 1;
}
.disabled,
.btn.btn-filter.disabled {
  background-color: #eee;
  cursor: default;
  border: 1px solid #aaa;
}

.form-print-button {
  width: 100%;
}
.btn.btn-print {
    padding: 1em 1.1428571429em;
    color: #203b54;
    border-bottom: 1px solid #dee4f1;
    border-radius: 0;
    background: #fff;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-transform: none;
}

.btn.btn-print::before {
  -webkit-box-ordinal-group: 2;
  -ms-flex-order: 1;
  order: 1;
  margin: 0em 0em 0em 0.7142857143em;
}
.btn.btn-print:hover {
  background: #203b54;
  color: #fff;
}

.btn.btn-print i {
  margin-right: 0.625em;
}
.print__content__button {
  padding: 0.315em 0 0.315em 0
}

.thin-checkbox {
  width: 5%;
}
.btn-blue:disabled {
  opacity: 0.7;
  cursor: default;
}
.btn.btn-blue:hover:disabled {
    background: #203b54;
    color: #fff;
}

.horizontal-menu {
  display: flex;
  align-items: center;
  position: relative;
}

@media (max-width: 1050px) {
  .horizontal-menu {
    flex: none;
  }
}

.horizontal-menu-item {
  padding-right: 1.5625em;
  text-transform: uppercase;
}
.horizontal-menu-item.bold {
  font-weight: 700;

}
.horizontal-menu-item.bold div {
    border-bottom: 2px solid #203b54;
    padding-bottom: 6px;
    position: relative;
    top: 4px;
}
.header__user {
  cursor: pointer;
  padding: 0 0 0 20px;
}
.header__dropdown {
  position: absolute;
  top: 4em;
  right: 0.5em;
  z-index: 3000;
  background: white;
  border-radius: 6px;
  padding: 0.9em;
  display: grid;
  gap: 0.7em;
  width: 250px;
  border: 1px solid #dee4f1;
  box-shadow: 0 0 1px #dee4f1;
  transition: all .2s linear;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-100%);
}
.header__dropdown.active {
  visibility: visible;
    opacity: 1;
    transform: translateY(0);
}
.header__container {
  height: 54px;
  padding: 0 0 0 30px;
}
.print__button {
  font-family: Gilroy,sans-serif;
}
.main__created__sub {
  font-size: small;
  font-weight: 200;
  padding-top: 2px;
}
.main__movement-list.operation-detail {
  column-count: 2;
  column-gap: 4em;
}
@media (max-width: 1345px) {
  .main__movement-list.operation-detail {
    column-count: 1;
  }

}
.show-table {
  width: 100%;
}
.bold {
  font-weight: 600;
}
.bold-format {
  font-weight: 600;
  padding-top: 1em;
  padding-bottom: 0.5em;
  font-size: 1.3em;
}
.jquery-datepicker.is-popup.is-open {
  z-index: 3000;
}

td:has(span.ic__edit-btn) span,
td.ic__edit-btn {
  display: flex;
  align-items: flex-end;
}
td:has(span.extend-column) p,
td.extend-column p
{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;

}
th.extend-column:after {
  content: '>';
  cursor: pointer;
}
th.extend-column.without-after:after {
  content: none;
  cursor: default;
}
.product-form {
  display: flex;
  justify-content: space-between;

}
.product-form .detail__images {
  margin: 1.125em 0 0 0;
}
.formset-image-head label {
  display: block;
}
.formset-image-head a {
  display: block;
}
.detail__images img {
  height:auto;
  width: auto;
  max-width:300px;
  max-height: 400px;
  padding: 1em 0;
}
.checkbox__input[disabled]+.checkbox__content::before {
  opacity: 0.5;
}
.text_dotted {
  text-decoration-line: underline;
    text-decoration-style: dotted;
}
.btn.btn-filter::before {
  order: 0;
  margin: 0 0.71em 0 0;
}

.btn-batch {
  margin-right: 1em;
}

input.form__input::placeholder {
    color: #999;
}

.main {
  overflow-y: auto;
  padding: 6em 0 1.75em;
}

.filter__content {
  width: 340%;
  left: 0;
  border-radius: 6px;
  top: calc(100% + 8px);
  box-shadow: 0 0 20px rgba(0, 0, 0, .2);
}

.menu {
  padding: 0.3em 0;
  z-index: 3001;
}

.menu__logo {
  padding: 0.3em 1.375em;
}

.print__content__width {
  width: fit-content;
}
.active-packet {
  padding: 1.75em 0;
  max-width: 80%;
}
.active-options {
  padding: 1.75em 0;
  width: 50%;
}
.active-options h3 {
  font-weight: 600;
}

.main__header__operation_buttons {
  position: fixed;
  background: #fafbfc;
  z-index: 2999;
  padding: 6em 0 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 230px);
  margin: auto 0;
  box-sizing: content-box;
}
.operation_buttons__save_and_close {
  padding-left: 1.75em;
}
.operation_buttons__print_and_action {
  padding-right: 1.75em;
}
.operation_buttons__print_and_action .filter__content {
  left: auto;
}
.main__header__operation_buttons .btn {
  padding: .8125em 1.5625em;
  min-height: 40px;
}
.operation_buttons__save_and_close .btn:not(:first-child) {
  margin-left: 6px;
}
.main__header__operation_buttons .btn, .main__header__operation_buttons .print__button {
  font-size: 13px;
}

.container_user_notifacation {
  display: flex;
  align-items: center;
  width: 20em;
  justify-content: space-around;
}

.notification {
  flex: none;
  border-right: solid;
  border-right-color: #ebeced;
  padding: 0 25px 0 0;
}

.notification_button {
  color: #203b54;
  width: 110%;
}

.header__user-name {
  margin: 0 20px 0 0;
}

.header__user-thumb {
  margin: 0 20px 0 0;
  height: 100%;
}

.notification_quantity {
  position: absolute;
  transform: translate(-40%, -40%);
  background: #f54242;
  color: #fff;
  border-radius: 50%;
  width: 16px;
  padding: 3px;
  font-size: 60%;
  text-align: center;
}


.bell {
  width: 1.3em;
}

.header_user_logo {
  width: 2.5em;
}

.table__row:has(.line-yellow) {
    background-color: rgba(255, 255, 0, 0.1); /* Фон всей строки */
}
.table__row:has(.line-red) {
    background-color: rgba(255, 0, 0, 0.1); /* Фон всей строки */
}
.user-notification {
  background-color: #CD6C5C;
  max-width: 100%;
  padding: 0.3em 30px;
  left: 0;
  right: 0;
  top: 3.15em;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: large;
  color: white;
  font-weight: 500;
  cursor: pointer;
  overflow: hidden;
  max-height: 3em; /* по умолчанию маленькая высота */
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.user-notification.expanded {
  max-height: 1000px; /* достаточно для полного текста */
  padding-bottom: 0.5em;
}

.user-notification-message {
  flex: 1;
  min-width: 0;
  text-align: center;
}

.user-notification-text {
  position: relative;
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: white-space 0.3s ease;
  -o-text-overflow: ellipsis;
  -ms-text-overflow: ellipsis;
  padding-right: 1.8em;
}

.user-notification.expanded .user-notification-text {
  white-space: normal;
}

.user-notification-close {
  position: absolute;
  right: 30px;
  cursor: pointer;
  z-index: 2;
}

/* Плавное исчезновение при удалении */
.user-notification.fade-out {
  opacity: 0;
  transition: opacity 0.3s ease, max-height 0.3s ease, padding 0.3s ease;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: #4caf50;
    z-index: 9999;
    transition: width 0.3s ease;
}
