* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'Manrope';
  src: url('/fonts/Manrope-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

body{
  display: flex;
  flex-direction: row;
  gap: 10px;
  min-height: stretch;
  height: fit-content;
}

@media(max-width: 1900px) {
	body {
		zoom: .9;
	}

	html {
		height: 100vh;
	}

	.lk__inner {
		min-height: 100%;
	}
}

@media(max-width: 1700px) {
	body {
		zoom: .8;
	}
}

@media(max-width: 1400px) {
	body {
		zoom: .7;
	}
}

@media(max-width: 1024px) {
  body {
    zoom: 1;
  }

  /* Только ЛК (сайдбар + .main-body). Страница авторизации — без stretch. */
  body.iframeBody {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    /* Боковые отступы здесь — не margin у .main-body (width:100% + margin ломает симметрию). */
    padding: 11px 2px 2px;
    /* fixed-фон на телефоне даёт мерцание при прокрутке */
    background-attachment: scroll;
  }
}


html {
  scrollbar-width: none;
}

body {
  font-family: Manrope;
  color: rgb(66, 66, 66);
}

.lk__sidebar.pc-show{
  width: fit-content;
  white-space: nowrap;
  position: unset;
  overflow: unset;
  margin-right: 12px;
  max-width: 230px;
}

input {
  font-family: Manrope;
  color: rgb(66, 66, 66);
}

a {
    color: inherit;
    text-decoration: none;
}

.iframeBody {
  /*padding: 16px 40px 60px 60px;*/
  /*padding: 0px 40px 60px 60px;*/
  scrollbar-width: none;
}

@media(max-width: 1024px) {
  .iframeBody {
    /* см. body.iframeBody выше — боковые 2px */
    padding: 11px 2px 2px;
  }
}

.iframeBody::-webkit-scrollbar {
  display: none;
}



.btn {
  color: rgb(255, 255, 255);
  border-radius: 6px;
  background: rgb(27, 91, 163);
}



@media(max-width: 1550px) {
    table {
    max-width: 100%!important;
    min-width: 100%!important;
    width: 100%!important;
    table-layout: fixed;
}

table * {
    max-width: 100%!important;
    table-layout: fixed;
}

table th {
    width: initial!important;
}
}




* {
  scrollbar-width: thin;
}




.datepicker {
  position: absolute;
  width: 410px;
  padding: 15px;
  user-select: none;
  z-index: 6000;
  display: none;
  background: rgb(248, 250, 254);
  box-shadow: 0px 4px 42px 0px rgba(0, 0, 0, 0.07);
  border: 1px solid rgb(223, 228, 239);
  border-radius: 12px;
}

body.iframeBody:has(.floating-dropdown) .datepicker {
    /*display: none!important;*/
}

.datepicker-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
  gap: 10px;
}

.nav-arrow {
  cursor: pointer;
  border-radius: 80px;
  box-shadow: 0px 1px 1px 0px rgba(0, 14, 51, 0.05);
  background: rgb(255, 255, 255);
  width: 44px;
  height: 44px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 24px;
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
  padding: 4px 8px;
  box-shadow: 0px 1px 1px 0px rgba(0, 14, 51, 0.05);
  background: rgb(255, 255, 255);
  border-radius: 6px;
  color: rgb(20, 20, 20);
  font-size: 24px;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: calc((1em / 100) * 1 * -1);
  text-align: center;
  display: flex;
  gap: 4px;
  height: 44px;
  padding: 10px 12px;
  background-color: #ffffff;
  border-radius: 6px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  border-radius: 6px;
  max-height: 248px;
  overflow-y: auto;
  display: none;
  z-index: 1001;
  width: 137px;
  /*height: 248px;*/
  padding: 12px 4px 12px 12px;
  border: 1px solid rgba(223, 228, 239, 1);
}

.dropdown-menu__inner::-webkit-scrollbar {
  width: 3px;
  border-radius: 8px;
}

.dropdown-menu__inner::-webkit-scrollbar-track {
  background: #4242420d;
  border-radius: 8px;
}

.dropdown-menu__inner::-webkit-scrollbar-thumb {
  background: rgb(66 66 66 / 20%);
  border-radius: 8px;
}

.dropdown-menu__inner div {
  padding: 9px 0;
  cursor: pointer;
}

.dropdown-menu__inner div:hover {
  color: #1b5ba3;
}

.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: bold;
  margin-bottom: 12px;
  gap: 4px;
  height: 44px;
  align-items: center;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0em;
  text-align: center;
  color: #424242;
  text-transform: uppercase;
}

.dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  gap: 4px;
}

.date {
  cursor: pointer;
  background-color: #ffffff;
  border-radius: 6px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 18px;
  color: #424242;
}

.date:hover {
  background-color: #eee;
}

.other-month {
  opacity: .5;
}

.disabled-date {
  background: transparent;
  color: #001754;
  opacity: .15;
}

.other-month:not(.disabled-date) {
  outline: 1px solid gray;
}

.selected {
  background-color: #1b5ba3;
  color: white;
}

.select-options {
  display: none;
  overflow: auto;
  height: auto;
  max-height: 350px;
  scrollbar-width: thin;
  /*padding-right: 11px;*/
}

.select-options span{
  font-size: 11px;
}

.floating-dropdown {
  border-radius: 6px;
  background: rgb(255, 255, 255);
  /*width: 290px;*/
  max-width: 100%;
  /*height: 221px;*/
  /*padding: 12px 7px 12px 20px;*/
  box-shadow: 0px 1px 1px 0px rgba(0, 14, 51, 0.05);
  border: 1px solid rgba(223, 228, 239, 1);
  margin-top: 5px;
}

.floating-dropdown .select-options__loading {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: default;
  pointer-events: none;
  color: #666;
  font-weight: 400;
}

.floating-dropdown .select-options__loading .wait-spinner--a {
  width: 18px;
  height: 18px;
  min-width: 18px;
  flex-shrink: 0;
}

.select-options div {
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  line-height: 100%;
  padding: 9px 20px;
}

.select-options::-webkit-scrollbar {
  width: 3px;
  border-radius: 8px;
}

.select-options::-webkit-scrollbar-track {
  background: #4242420d;
  border-radius: 8px;
}

.select-options::-webkit-scrollbar-thumb {
  background: rgb(27 91 163 / 20%);
}


.dropdown-menu__inner > :hover {
  background-color: rgb(248, 250, 254);
  /*color: #1b5ba3;*/
}

.select-options > :hover {
  /*color: rgb(27, 91, 163);*/
  background-color: rgb(248, 250, 254);
}

.select-options > .hover {
  /*color: rgb(27, 91, 163);*/
  background-color: rgb(248, 250, 254);
}

#prev-month {
  margin-right: auto;
  background-image: url(/img/new/left.svg);
}

#next-month {
  margin-left: auto;
  background-image: url(/img/new/right.svg);
}

.dropdown-toggle:after {
  content: '';
  display: block;
  background: url(/img/new/date-down.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 8px;
  height: 24px;
}

[data-id="month-dropdown"] .dropdown-toggle {
  padding: 10px 12px;
  border: 2px solid #1b5ba3;
}

[data-id="month-dropdown"] .dropdown-toggle:after {
  transform: scaleY(-1);
}

.dropdown-menu__inner {
  height: 100%;
  overflow: auto;
  padding: 0 6px 0 0;
  display: flex;
  flex-direction: column;
  /*gap: 6px;*/
}

[data-id="year-dropdown"] .dropdown-menu {
  width: 91px;
}

.bold{
  font-weight: 1000 !important;
}

@media(max-width: 1024px) {
  .datepicker {
    width: 290px;
    max-width: 100%;
    /* left: 50%!important; */
    /* transform: translateX(-50%); */
    padding: 12px 10px 14px;
  }

  .nav-arrow {
    width: 24px;
    height: 24px;
    min-width: 30px;
    width: 30px;
    height: 30px;
  }

  .dropdown-toggle {
    height: 33px;
    padding: 7px 12px;
    align-items: center;
    font-size: 18px;
    font-weight: 800;
  }

  .dropdown-toggle:after {
    height: 19px;
    background-size: cover;
  }

  .datepicker-header {
    margin-bottom: 0;
  }

  .days {
    font-size: 15px;
    margin-bottom: 0;
    gap: 10px;
  }

  .dates {
    gap: 4px 10px;
  }

  .date {
    height: 26px;
  }
}





.lk__light-toggle {
  width: 69px;
  height: 36px;
  border: 1px solid rgb(27, 91, 163);
  border-radius: 50px;
  background: rgb(248, 250, 254);
  position: relative;
}

.lk__light-toggle span {
  width: 31px;
  height: 31px;
  background: rgb(27, 91, 163);
  display: flex;
  position: absolute;
  border-radius: 100%;
  top: 50%;
  transform: translateY(-50%);
  left: 3px;
  background-image: url(/img/new/sun.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 19px;
  transition: all .5s;
}

.lk__light-toggle.active span {
  background-image: url(/img/new/moon.svg);
  left: auto;
  right: 3px;
}

.lk__sidebar .lk__light-switch {
  display: none;
}

@media(max-width: 1024px) {
  .lk__light-toggle {
    width: 53px;
    height: 27px;
  }

  .lk__light-toggle span {
    width: 23.14px;
    height: 22.62px;
    background-size: 14.18px;
  }
}








.modal {
  display: none;
}

.modal.active {
  display: flex;
  position: fixed;
  width: 100vw;
  height: 100dvh;
  background: rgb(0 0 0 / 30%);
  left: 0;
  top: 0;
  justify-content: space-around;
  align-items: flex-start;
  overflow: auto;
  padding: 30px 0;
  z-index: 5000;
}

#complex-modal.active,
#complex-order-add-modal.active,
#text-edit.active,
#push-prefs-modal.active {
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#chat-modal.active,
#comment-modal.active {
  background: transparent;
  pointer-events: none;
}

#chat-modal.active .chat-modal__wrap,
#comment-modal.active .comment-modal__wrap {
  pointer-events: auto;
}

#chat-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgb(0 0 0 / 30%);
  z-index: 4990;
}

#chat-backdrop.active {
  display: block;
}


.modal-top {
  background: rgba(27, 91, 163, 1);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.modal-title {
  color: rgba(255, 255, 255, 1);
  font-size: 28px;
  font-weight: 600;
  line-height: 20px;
}

.modal-close {
  width: 34px;
  height: 34px;
  min-width: 34px;
  background-color: rgba(248, 248, 248, 1);
  border-radius: 100%;
  background-image: url(/img/new/cross-black.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 24px;
}

.modal-close:hover {
  background-color: rgba(66, 66, 66, 1);
  background-image: url(/img/new/cross-black-white.svg);
}

.modal-wrap {
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 1);
  overflow: hidden;
}



.passenger-modal__wrap {
  width: 605px;
  max-width: calc(100% - 20px);
  height: fit-content;
  margin: auto;
}

.passenger-modal__top {
  padding: 22px 40px;
}

.passenger-modal__content {
  padding: 22px 40px 38px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.passenger-modal__inputs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.passenger-modal__input {
  display: flex;
  gap: 19px;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 400;
  line-height: 11px;
  align-items: center;
}

.passenger-modal__input-wrap {
  width: 357px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
}

.passenger-modal__input-wrap input[type="text"] {
  height: 42px;
  border: 1px solid rgba(223, 228, 239, 1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 1);
  padding: 0px 11px;
  width: 100%;
}

.passenger-modal__input-radio {
  font-size: 15px;
  font-weight: 400;
  line-height: 0px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.passenger-modal__input-radio:before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 1px solid rgba(223, 228, 239, 1);
  border-radius: 60px;
  background: rgba(255, 255, 255, 1);
  box-sizing: border-box;
}

.passenger-modal__input-radio:has(:checked):before {
  border: 6px solid rgba(27, 91, 163, 1);
  background: rgba(255, 255, 255, 1);
}

.passenger-modal__input-radio input[type="radio"] {
  display: none;
}

.passenger-modal__input-date {
  width: 100%;
  position: relative;
}

.passenger-modal__input-date:after {
  content: '';
  display: block;
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1px solid rgb(223, 228, 239);
  border-radius: 50px;
  background: rgb(248, 250, 254);
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  background-image: url(/img/new/down.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 18px;
  transition: all .5s;
  box-sizing: border-box;
}

.passenger-modal__input-date:hover:after {
  background: rgb(27, 91, 163);
  border: 1px solid rgb(27, 91, 163);
  background-image: url(/img/new/down-white.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 18px;
}

.passenger-modal__line {
  width: 100%;
  border-bottom: 1px solid rgba(223, 228, 239, 1);
}

.passenger-modal__bonus {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.passenger-modal__bonus-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.bonus-top__title {
  font-size: 21px;
  font-weight: 600;
  line-height: 15px;
}

.bonus-top__addbtn {
  height: 40px;
  border: 1px solid rgba(27, 91, 163, 1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 1);
  padding: 0 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: rgba(27, 91, 163, 1);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  line-height: 1;
}

.bonus-top__addbtn:before {
  background-image: url(/img/new/return-route.svg);
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  min-width: 24px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.bonus-top__addbtn:hover {
  background: rgba(27, 91, 163, 1);
  color: #FFF;
}

.bonus-top__addbtn:hover:before {
  background-image: url(/img/new/return-route-white.svg);
}

.passenger-modal__bonus-inputs {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.bonus-input {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 15px;
  font-weight: 400;
  line-height: 11px;
  width: calc((100% - 20px - 15px - 22px)/3 - 3.4%);
}

.bonus-input input[type="text"] {
  height: 42px;
  border: 1px solid rgba(223, 228, 239, 1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 1);
}

.bonus-input__close {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 100%;
  background-color: rgba(27, 91, 163, 1);
  margin-bottom: 12px;
  margin-left: 5px;
  background-image: url(/img/new/cross-black-white.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 14.12px;
}

.bonus-input__close:hover {
  background-color: rgba(66, 66, 66, 1);
}

.bonus-input.big {
  flex-grow: 1;
}

.passenger-modal__buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.passenger-modal__btn {
  padding: 0px 20px;
  height: 46px;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
}

.passenger-modal__btn-add {
}

.passenger-modal__btn-cancel {
  background: rgba(255, 255, 255, 1);
  border: 1px solid rgba(27, 91, 163, 1);
  color: rgba(27, 91, 163, 1);
}

.passenger-modal__btn-cancel:hover {
  background: rgba(27, 91, 163, 1);
  color: #FFF;
}


.chat-toggle {
    display: flex;
    position: fixed;
    z-index: 4995;
    width: 139px;
    height: 36px;
    right: 30px;
    border-radius: 7px 7px 0px 0px;
    background: rgba(27, 91, 163, 1);
    bottom: 147px;
    transform: rotate(-90deg) translateY(52px);
    color: rgba(255, 255, 255, 1);
    font-family: Manrope;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    justify-content: center;
    align-items: center;
    gap: 7px;
    cursor: pointer;
}

.comments-toggle {
    display: flex;
    position: fixed;
    z-index: 4995;
    width: 175px;
    height: 36px;
    left: 30px;
    border-radius: 7px 7px 0px 0px;
    background: rgba(27, 91, 163, 1);
    bottom: 147px;
    transform: rotate(90deg) translateY(70px);
    color: rgba(255, 255, 255, 1);
    font-family: Manrope;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    justify-content: center;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    white-space: nowrap;
}

.comments-toggle:before {
    content: '';
    display: block;
    background-image: url(/img/new/chat-toggle.svg);
    width: 24px;
    height: 24px;
    min-width: 24px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.chat-toggle:before {
    content: '';
    display: block;
    background-image: url(/img/new/chat-toggle.svg);
    width: 24px;
    height: 24px;
    min-width: 24px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}



.chat-modal__wrap {
    position: fixed;
    right: 56px;
    top: 16px;
    bottom: 60px;
    width: 437px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0px 4px 42px 0px rgba(0, 0, 0, 0.18);
    background-image: url(/img/new/chat-bg.png);
    max-height: none;
    display: flex;
    flex-direction: column;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    justify-content: space-between;
}

.chat-modal__top,
.comment-modal__top {
    padding: 14px 23px;
}

.chat-modal__top:before,
.comment-modal__top:before {
    content: '';
    display: block;
    background-image: url(/img/new/chat-toggle.svg);
    width: 24px;
    height: 24px;
    min-width: 24px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.chat-modal__title,
.comment-modal__title {
    font-size: 20px;
    line-height: 14px;
}

.chat-modal__close,
.comment-modal__close {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background-size: 19.76px;
}

.chat-modal__content,
.comment-modal__content {
    flex: 1;
    min-height: 0;
    height: auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.chat-modal__chat,
.comment-modal__chat {
    position: relative;
    flex: 1;
    min-height: 0;
    margin: 8px 6px 0 16px;
    height: auto;
    overflow: auto;
    padding-right: 24px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.chat-modal__chat::-webkit-scrollbar,
.comment-modal__chat::-webkit-scrollbar {
  width: 5px;
  border-radius: 8px;
}

.chat-modal__chat::-webkit-scrollbar-track,
.comment-modal__chat::-webkit-scrollbar-track {
  background: rgb(66 66 66 / 6%);
  border-radius: 8px;
}

.chat-modal__chat::-webkit-scrollbar-thumb,
.comment-modal__chat::-webkit-scrollbar-thumb {
  background: rgb(27 91 163 / 20%);
  border-radius: 8px;
}

.chat-modal__date-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-modal__date {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 24px;
    border-radius: 100px;
    background: rgba(235, 242, 255, 1);
    font-size: 14px;
    font-weight: 400;
}

.chat-modal__message {
    border: 1px solid rgba(223, 228, 239, 1);
    border-radius: 8px;
    background: rgba(248, 250, 254, 1);
    margin: 0 36px 0 auto;
    display: flex;
    flex-direction: column;
    padding: 14px;
    gap: 10px;
    position: relative;
}

.chat-modal__message-head {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-modal__message-name {
    color: rgba(0, 0, 0, 1);
    font-size: 13px;
    font-weight: 500;
    line-height: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-start;
    gap: 6px;
    min-width: 0;
}
.chat-modal__ordernumber{
  color: rgba(27, 91, 163, 1);
  font-size: 0.9em;
}

.chat-modal__ordertype{
  font-size: 0.9em;
}

.chat-modal__message-text {
    color: rgba(102, 102, 102, 1);
    font-size: 12px;
    font-weight: 400;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: pre-line;
}

.chat-modal__message-time {
    position: absolute;
    font-size: 12px;
    font-weight: 400;
    line-height: 9px;
    right: 0;
    width: 36px;
    transform: translateX(100%);
    text-align: right;
}

.chat-modal__message.other {
    border: 1px solid rgba(197, 250, 207, 1);
    background: rgba(222, 255, 228, 1);
    width: -webkit-fill-available;
}

.chat-modal__message-quote-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: auto;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 50%;
    background: transparent;
    color: rgba(27, 91, 163, 0.75);
    cursor: pointer;
    user-select: none;
    opacity: 0.72;
}

.chat-modal__message-quote-btn:hover {
    opacity: 1;
    background: rgba(27, 91, 163, 0.1);
    border-color: rgba(27, 91, 163, 0.18);
    color: rgba(27, 91, 163, 1);
}

.chat-modal__message-quote-btn svg {
    display: block;
    flex-shrink: 0;
}

.chat-modal__message-quote-btn:focus {
    outline: none;
}

.chat-modal__message-quote-btn:focus-visible {
    box-shadow: 0 0 0 2px rgba(27, 91, 163, 0.25);
}

.chat-modal__message-quote {
    border-left: 2px solid rgba(27, 91, 163, 1);
    padding: 4px 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    cursor: pointer;
    background: rgba(27, 91, 163, 0.06);
    border-radius: 0 4px 4px 0;
}

.chat-modal__message-quote[hidden] {
    display: none;
}

.chat-modal__message-quote-name {
    font-size: 11px;
    font-weight: 500;
    color: rgba(27, 91, 163, 1);
}

.chat-modal__message-quote-text {
    font-size: 11px;
    color: rgba(102, 102, 102, 1);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.chat-modal__message--flash {
    animation: chatModalMessageFlash 1.2s ease;
}

@keyframes chatModalMessageFlash {
    0% { background: rgba(255, 226, 130, 0.7); }
    100% { background: transparent; }
}

.chat-modal__quote-preview,
.comment-modal__quote-preview {
    border-left: 2px solid rgba(27, 91, 163, 1);
    background: rgba(27, 91, 163, 0.06);
    border-radius: 0 6px 6px 0;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.chat-modal__quote-preview[hidden],
.comment-modal__quote-preview[hidden] {
    display: none;
}

.chat-modal__quote-preview-body,
.comment-modal__quote-preview-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
}

.chat-modal__quote-preview-name,
.comment-modal__quote-preview-name {
    font-size: 12px;
    font-weight: 500;
    color: rgba(27, 91, 163, 1);
}

.chat-modal__quote-preview-text,
.comment-modal__quote-preview-text {
    font-size: 12px;
    color: rgba(102, 102, 102, 1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-modal__quote-preview-close,
.comment-modal__quote-preview-close {
    font-size: 18px;
    line-height: 1;
    color: rgba(102, 102, 102, 1);
    cursor: pointer;
    flex-shrink: 0;
}

.chat-modal__form,
.comment-modal__form {
    border-top: 1px solid rgba(223, 228, 239, 1);
    padding: 17px 0 0;
    margin: 17px 23px 28px;
    width: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
}

.chat-modal__form.is-busy,
.comment-modal__form.is-busy {
    pointer-events: none;
    cursor: wait;
}

.chat-modal__form.is-busy:before,
.comment-modal__form.is-busy:before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 5;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 6px;
}

.chat-modal__form.is-busy:after,
.comment-modal__form.is-busy:after {
    content: '';
    position: absolute;
    z-index: 6;
    top: 50%;
    left: 50%;
    width: 36px;
    height: 36px;
    margin: -18px 0 0 -18px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #1B5BA3 0%, rgba(27,91,163,0.08) 80%, transparent 100%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
    animation: wait-spin 0.9s linear infinite;
}

.chat-modal__form-message,
.comment-modal__form-message {
    border: 1px solid rgba(223, 228, 239, 1);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.44);
    padding: 15px 11px;
    height: 130px;
    width: 100%;
}

.chat-modal__form-send,
.comment-modal__form-send {
    width: 212px;
    height: 46px;
    border: none;
    font-size: 15px;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.chat-modal__form-send:disabled,
.comment-modal__form-send:disabled {
    cursor: wait;
    opacity: 0.85;
}

.chat-modal__form-send.is-loading,
.comment-modal__form-send.is-loading {
    pointer-events: none;
    cursor: wait;
}

.chat-modal__form-send.is-loading:after,
.comment-modal__form-send.is-loading:after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #fff 0%, rgba(255,255,255,0.12) 80%, transparent 100%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
    animation: wait-spin 0.75s linear infinite;
}

.chat-modal__message-wrap,
.comment-modal__message-wrap {
    position: relative;
    width: 100%;
}

.chat-modal__message-wrap .chat-modal__form-message,
.comment-modal__message-wrap .comment-modal__form-message {
    padding-right: 34px;
}

.chat-modal__form-attach,
.comment-modal__form-attach {
    position: absolute;
    width: 20px;
    height: 20px;
    right: 11px;
    bottom: 11px;
    cursor: pointer;
    opacity: 0.5;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2'%3E%3Cpath d='M21.44 11.05l-9.19 9.19a5.5 5.5 0 01-7.78-7.78l9.19-9.19a3.5 3.5 0 014.95 4.95l-9.2 9.19a1.5 1.5 0 01-2.12-2.12l8.49-8.48'/%3E%3C/svg%3E") center / contain no-repeat;
}

.chat-modal__form-attach:hover,
.comment-modal__form-attach:hover {
    opacity: 1;
}

.chat-modal__file-preview,
.comment-modal__file-preview {
    border: 1px solid rgba(223, 228, 239, 1);
    border-radius: 6px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-modal__file-preview[hidden],
.comment-modal__file-preview[hidden] {
    display: none;
}

.chat-modal__file-preview-img,
.comment-modal__file-preview-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.chat-modal__file-preview-img[hidden],
.comment-modal__file-preview-img[hidden] {
    display: none;
}

.chat-modal__file-preview-icon,
.comment-modal__file-preview-icon {
    font-size: 24px;
    line-height: 1;
}

.chat-modal__file-preview-icon[hidden],
.comment-modal__file-preview-icon[hidden] {
    display: none;
}

.chat-modal__file-preview-name,
.comment-modal__file-preview-name {
    font-size: 12px;
    color: rgba(102, 102, 102, 1);
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-modal__file-preview-close,
.comment-modal__file-preview-close {
    font-size: 18px;
    line-height: 1;
    color: rgba(102, 102, 102, 1);
    cursor: pointer;
    flex-shrink: 0;
}

.chat-modal__loader,
.comment-modal__loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.6);
    z-index: 5;
}

.chat-modal__loader[hidden],
.comment-modal__loader[hidden] {
    display: none;
}

.chat-modal__spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(102, 102, 102, 0.2);
    border-top-color: rgba(102, 102, 102, 0.8);
    border-radius: 50%;
    animation: chat-spin 0.8s linear infinite;
}

@keyframes chat-spin {
    to { transform: rotate(360deg); }
}

.chat-modal__message-file-img.is-loading {
    position: relative;
    width: 80px;
    height: 80px;
}

.chat-modal__message-file-img.is-loading img {
    visibility: hidden;
}

.chat-modal__message-file-img.is-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -11px;
    border: 3px solid rgba(102, 102, 102, 0.2);
    border-top-color: rgba(102, 102, 102, 0.8);
    border-radius: 50%;
    animation: chat-spin 0.8s linear infinite;
}

.chat-modal__message-files {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.chat-modal__message-file-img {
    display: inline-block;
}

.chat-modal__message-file-img[hidden] {
    display: none;
}

.chat-modal__message-file-img img {
    display: block;
    max-width: 80px;
    max-height: 80px;
    border-radius: 6px;
    cursor: pointer;
    object-fit: cover;
}

.chat-modal__message-file {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid rgba(223, 228, 239, 1);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    max-width: 100%;
}

.chat-modal__message-file[hidden] {
    display: none;
}

.chat-modal__message-file-icon {
    font-size: 16px;
    line-height: 1;
}

.chat-modal__message-file-name {
    font-size: 12px;
    color: rgba(27, 91, 163, 1);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.comment-modal__wrap {
    position: fixed;
    left: 56px;
    top: 16px;
    bottom: 60px;
    width: 437px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0px 4px 42px 0px rgba(0, 0, 0, 0.18);
    background-image: url(/img/new/chat-bg.png);
    max-height: none;
    display: flex;
    flex-direction: column;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    justify-content: space-between;
}



.download-modal__wrap, .complex-modal__wrap {
    display: flex;
    flex-direction: column;
    margin: auto;
    width: 605px;
    max-width: 95vw;
}

.push-prefs-modal__wrap {
  display: flex;
  flex-direction: column;
  margin: auto;
  width: 640px;
  max-width: calc(100% - 20px);
}

.push-prefs-modal__content {
  padding: 26px 28px 33px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.push-prefs-modal__hint {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: rgb(66, 66, 66);
}

.push-prefs-modal__hint--on {
  display: none;
}

/* Состояния на #push-prefs-modal (id), не на классе — класса push-prefs-modal нет */
#push-prefs-modal.is-subscribed .push-prefs-modal__hint--off {
  display: none;
}

#push-prefs-modal.is-subscribed .push-prefs-modal__hint--on {
  display: block;
}

.push-prefs-modal__ios-install {
  display: none;
  flex-direction: column;
  gap: 12px;
}

#push-prefs-modal.is-ios-install .push-prefs-modal__hint--off,
#push-prefs-modal.is-ios-install .push-prefs-modal__hint--on {
  display: none !important;
}

#push-prefs-modal.is-ios-install .push-prefs-modal__ios-install {
  display: flex !important;
}

#push-prefs-modal.is-ios-install .push-prefs-modal__save,
#push-prefs-modal.is-ios-install .push-prefs-modal__disable,
#push-prefs-modal.is-ios-install .push-prefs-modal__cats {
  display: none !important;
}

.push-prefs-modal__ios-steps {
  margin: 0;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.5;
  color: rgb(66, 66, 66);
}

.push-prefs-modal__ios-steps li {
  margin-bottom: 8px;
}

.push-prefs-modal__ios-steps li:last-child {
  margin-bottom: 0;
}

.push-prefs-modal__ios-share {
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: -3px;
  margin: 0 2px;
  background: no-repeat center / contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b5ba3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V4'/%3E%3Cpath d='M8 7l4-4 4 4'/%3E%3Cpath d='M5 12v7a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-7'/%3E%3C/svg%3E");
}

.push-prefs-modal__cats {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.push-prefs-modal__table {
  overflow: visible;
  border-radius: 8px;
}

.push-prefs-modal__table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.push-prefs-modal__table th {
  background: rgb(248, 250, 254);
  border: 1px solid rgb(223, 228, 239);
  border-width: 1px 0 1px 1px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 8px 6px;
  vertical-align: middle;
  box-sizing: border-box;
  color: rgb(66, 66, 66);
}

.push-prefs-modal__table th:last-child {
  border-width: 1px;
}

.push-prefs-modal__table th.push-prefs-modal__th-cat {
  text-align: left;
  width: 38%;
  padding-left: 12px;
}

.push-prefs-modal__th {
  position: relative;
  cursor: help;
}

.push-prefs-modal__th-title {
  border-bottom: 1px dotted rgba(102, 102, 102, 0.55);
}

/* Клиенту push «Внутренний чат» не показываем — он не может быть менеджером/ответственным */
#push-prefs-modal.is-client .push-prefs-modal__th--comments,
#push-prefs-modal.is-client .push-prefs-modal__td--comments {
  display: none !important;
}

.push-prefs-modal__th-hint {
  display: none;
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  transform: translateX(-50%);
  z-index: 20;
  width: max-content;
  max-width: 240px;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(33, 37, 41, 0.95);
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
  white-space: normal;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

.push-prefs-modal__th-hint:after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border: 5px solid transparent;
  border-bottom-color: rgba(33, 37, 41, 0.95);
}

.push-prefs-modal__th:hover .push-prefs-modal__th-hint {
  display: block;
}

.push-prefs-modal__table td {
  border: 1px solid rgb(223, 228, 239);
  border-width: 0 0 1px 1px;
  padding: 10px 6px;
  text-align: center;
  vertical-align: middle;
  box-sizing: border-box;
}

.push-prefs-modal__table td:last-child {
  border-width: 0 1px 1px 1px;
}

.push-prefs-modal__table tr:last-child td:first-child {
  border-radius: 0 0 0 8px;
}

.push-prefs-modal__table tr:last-child td:last-child {
  border-radius: 0 0 8px 0;
}

.push-prefs-modal__table thead th:first-child {
  border-radius: 8px 0 0 0;
}

.push-prefs-modal__table thead th:last-child {
  border-radius: 0 8px 0 0;
}

.push-prefs-modal__td-cat {
  text-align: left !important;
  padding-left: 12px !important;
  font-size: 14px;
  color: rgb(66, 66, 66);
}

.push-prefs-modal__flag-text {
  display: none;
}

.push-prefs-modal__cats-hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(120, 90, 0, 1);
}

.push-prefs-modal__devices {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.push-prefs-modal__devices-title {
  font-size: 14px;
  font-weight: 600;
  color: rgb(66, 66, 66);
}

.push-prefs-modal__devices-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.push-prefs-modal__device {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgb(223, 228, 239);
  border-radius: 8px;
  background: #fff;
}

.push-prefs-modal__device.is-current {
  border-color: rgba(27, 91, 163, 0.45);
  background: rgba(27, 91, 163, 0.04);
}

.push-prefs-modal__device-info {
  min-width: 0;
  flex: 1;
}

.push-prefs-modal__device-title {
  font-size: 14px;
  color: rgb(66, 66, 66);
  line-height: 1.3;
  word-break: break-word;
}

.push-prefs-modal__device-meta {
  margin-top: 2px;
  font-size: 12px;
  color: rgba(102, 102, 102, 1);
}

.push-prefs-modal__device-remove {
  flex-shrink: 0;
  font-size: 13px;
  color: rgba(27, 91, 163, 1);
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 10px;
  border: 1px solid rgba(27, 91, 163, 0.35);
  border-radius: 6px;
}

.push-prefs-modal__device-remove:hover {
  background: rgba(27, 91, 163, 1);
  color: #fff;
  border-color: rgba(27, 91, 163, 1);
}

.push-prefs-modal__device-remove.is-loading {
  pointer-events: none;
  opacity: 0.7;
}

.push-prefs-modal__devices-empty {
  margin: 0;
  font-size: 13px;
  color: rgba(102, 102, 102, 1);
}

.push-prefs-modal__devices-empty[hidden] {
  display: none !important;
}

#push-prefs-modal.is-ios-install .push-prefs-modal__devices {
  display: none !important;
}

/* toggle (модалка есть на всех страницах — стили в normalize) */
#push-prefs-modal .settings-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#push-prefs-modal .settings-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

#push-prefs-modal .settings-toggle span {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
  border-radius: 12px;
  background: rgba(223, 228, 239, 1);
  transition: background 0.15s ease;
}

#push-prefs-modal .settings-toggle span:before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgb(255, 255, 255);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease;
}

#push-prefs-modal .settings-toggle input:checked + span {
  background: rgba(27, 91, 163, 1);
}

#push-prefs-modal .settings-toggle input:checked + span:before {
  transform: translateX(18px);
}

.push-prefs-modal__label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 400;
  color: rgb(66, 66, 66);
  cursor: pointer;
}

.push-prefs-modal__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.push-prefs-modal__save,
.push-prefs-modal__disable,
.push-prefs-modal__cancel {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 23px;
  border: 1px solid rgba(27, 91, 163, 1);
  border-radius: 6px;
  height: 46px;
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
  text-decoration: none;
}

.push-prefs-modal__save {
  background: rgba(27, 91, 163, 1);
  color: rgba(255, 255, 255, 1);
}

.push-prefs-modal__disable,
.push-prefs-modal__cancel {
  background: rgba(255, 255, 255, 1);
  color: rgba(27, 91, 163, 1);
}

.push-prefs-modal__disable[hidden] {
  display: none !important;
}

.push-prefs-modal__save:hover {
  background: rgba(21, 73, 130, 1);
  border-color: rgba(21, 73, 130, 1);
  color: rgba(255, 255, 255, 1);
}

.push-prefs-modal__disable:hover,
.push-prefs-modal__cancel:hover {
  color: #fff;
  background: rgba(27, 91, 163, 1);
}

.push-prefs-modal__save.is-loading,
.push-prefs-modal__disable.is-loading {
  pointer-events: none;
  opacity: 0.92;
  gap: 8px;
}

.push-prefs-modal__save.is-loading:before,
.push-prefs-modal__disable.is-loading:before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-sizing: border-box;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  animation: wait-spin 0.75s linear infinite;
  flex-shrink: 0;
}

.push-prefs-modal__disable.is-loading:before {
  border-color: rgba(27, 91, 163, 0.25);
  border-top-color: rgba(27, 91, 163, 1);
}

.download-modal__content {
    padding: 26px 28px 33px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

@media(max-width: 1024px) {
  .download-modal__content {
      padding-left: 14px;
      padding-right: 14px;
      max-height: 90dvh;
  }
}

.complex-modal__content {
    padding: 0px 28px 33px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.complex-modal__loading,
.download-modal__loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 120px;
    padding: 24px 4px;
    color: rgb(100, 110, 130);
    font-size: 14px;
}

.complex-modal__loading[hidden],
.download-modal__loading[hidden],
.download-modal__row[hidden],
.download-modal__buttons[hidden],
.download-modal__empty[hidden] {
    display: none !important;
}

.download-modal__empty {
    margin: 0;
    padding: 20px 8px;
    text-align: center;
    color: rgb(150, 155, 168);
    font-size: 14px;
}

.complex-modal__spinner {
    width: 22px;
    height: 22px;
    border: 2px solid rgb(223, 228, 239);
    border-top-color: rgb(41, 121, 255);
    border-radius: 50%;
    animation: complex-modal-spin .7s linear infinite;
    flex-shrink: 0;
}

@keyframes complex-modal-spin {
    to { transform: rotate(360deg); }
}

.complex-modal__empty {
    padding: 20px 8px;
    text-align: center;
    color: rgb(150, 155, 168);
    font-size: 14px;
}

.download-modal__row {
    display: flex;
    flex-direction: column;
    max-height: 535px;
    overflow-y: auto;
    gap: 22px;
    scrollbar-width: thin;
}

.complex-modal__row {
    display: flex;
    flex-direction: column;
    max-height: 535px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.download-modal__item, .complex-modal__item {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
}

.download-modal__item:last-child, .complex-modal__item:last-child {
    padding-bottom:5px;
}

.download-modal__item_left, .complex-modal__item_left{
  display: flex;
  column-gap: 12px;
}

.download-modal__item + .download-modal__item + .download-modal__item {
    border-top: 1px dashed rgba(0, 0, 0, 0.16);
    padding-top: 22px;
}

.complex-modal__item + .complex-modal__item + .complex-modal__item {
  border-top: 1px dashed rgba(0, 0, 0, 0.16);
}

.complex-modal__item {
  padding: 15px 0 15px;
  cursor: pointer;
}

.complex-modal__item:hover {
  background-color: rgb(248, 250, 254);
}

.complex-modal__data{
  display: grid;
  grid-template-columns: 11.5em 1fr;
  align-items: baseline;
  column-gap: 12px;
  width: 100%;
}

.complex-modal__title{
  padding-left: 0;
  min-width: 0;
}

.download-modal__checkbox {}

.download-modal__checkbox:before {
  content: '';
  display: block;
  border: 1px solid rgb(223, 228, 239);
  border-radius: 4px;
  background: rgb(255, 255, 255);
  width: 20px;
  height: 20px;
  min-width: 20px;
  box-sizing: border-box;
}

.download-modal__checkbox:has(:checked):before {
  border: 1px solid rgb(27, 91, 163);
  background: rgb(27, 91, 163);
  background-image: url(/img/new/check-small-white.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 20px;
}

.download-modal__checkbox input[type="checkbox"] {
    display: none;
}

.download-modal__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 14px;
}

.complex-modal__meta {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 0.25em;
}

.complex-modal__number, .complex-modal__date{
  font-size: 16px;
  font-weight: bold;
  color: rgba(27, 91, 163, 1);
}

.download-modal__name {
    width: 100%;
    font-size: 16px;
    font-weight: 400;
    overflow-wrap: anywhere;
    /*line-height: 12px;*/
}

.download-modal__type,
.download-modal__date {
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    color: #999999;
}

.download-modal__type b,
.download-modal__date b {
    font-weight: 600;
    color: rgb(66, 66, 66);
}

.download-modal__item-buttons, .complex-modal__item-buttons {
    display: flex;
    gap: 12px;
    padding-right: 10px;
}

.download-modal__item-btn, .complex-modal__item-btn {
    width: 24px;
    height: 24px;
    min-width: 24px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.download-modal__item-btn-delete {
    background-image: url(/img/new/trash-blue.svg);
}

.complex-modal__item-btn-select {
    background-image: url(/img/new/trash-blue.svg);
}

.download-modal__item-btn-delete {}

.download-modal__item-btn-download {
    background-image: url(/img/new/download-blue.svg);
}

.download-modal__buttons, .complex-modal__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.download-modal__buttons.mb-show{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
  position: relative;
}

.download-modal__buttons.mb-show .download-modal__btn.modal-cancel{
    height: auto;
    width: 100%;
}

.download-modal__buttons.mb-show .download-modal__btn{
    padding: 0px 6px;
}

.download-modal__buttons__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%
}

.download-modal__btn, .complex-modal__btn {

  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0px 23px;
  border: 1px solid rgba(27, 91, 163, 1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 1);
  height: 46px;
  color: rgba(27, 91, 163, 1);
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
}

.download-modal__btn:hover, .complex-modal__btn:hover {
    color: #FFF;
    background: rgba(27, 91, 163, 1);
}

.download-modal__btn.is-disabled,
.download-modal__btn[aria-disabled="true"] {
	opacity: 0.45;
	pointer-events: none;
	cursor: default;
}



.delete-file__wrap {
    border-radius: 20px;
    background: rgba(248, 250, 254, 1);
    width: 330px;
    margin: auto;
    position: relative;
    padding: 35px 23px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 19px;
}

.warning__wrap, .confirm__wrap, .text-edit__wrap, .copylink-modal__wrap {
    border-radius: 20px;
    background: rgba(248, 250, 254, 1);
    /*width: 330px;*/
    margin: auto;
    position: relative;
    padding: 35px 23px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 19px;
}

.copylink-modal__wrap {
    width: min(520px, 92vw);
    max-width: 92vw;
}

.copylink-modal__title {
    font-size: 21px;
    font-weight: 600;
    line-height: 20px;
    padding-top: 15px;
}

.copylink-modal__loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 72px;
    color: rgb(100, 110, 130);
    font-size: 14px;
}

.copylink-modal__loading[hidden],
.copylink-modal__result[hidden],
.copylink-modal__buttons[hidden] {
    display: none !important;
}

.copylink-modal__status {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    color: rgb(66, 66, 66);
}

.copylink-modal__input {
    width: 100%;
    box-sizing: border-box;
    margin-top: 10px;
    border: 1px solid rgb(223, 228, 239);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    color: rgb(66, 66, 66);
    background: #fff;
}

.copylink-modal__buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding-top: 10px;
}

.copylink-modal__btn {
    font-size: 16px;
    font-weight: 400;
    padding: 0 23px;
    height: 46px;
    border-radius: 6px;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.copylink-modal__btn-copy {
    background: rgba(27, 91, 163, 1);
    color: #fff;
}

.copylink-modal__btn-close {
    color: rgba(27, 91, 163, 1);
    background: transparent;
    border: 1px solid rgba(27, 91, 163, 1);
}

.copylink-modal__btn:hover {
    background: rgba(27, 91, 163, 1);
    color: #fff;
}

.delete-file__wrap:before {
    content: '';
    display: block;
    background-image: url(/img/new/delete-file-not.svg);
    width: 29px;
    height: 29px;
    min-width: 29px;
    position: absolute;
    top: 10px;
    right: 10px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

/*.warning__wrap:before, .confirm__wrap:before {*/
/*    content: '';*/
/*    display: block;*/
/*    background-image: url(/img/new/delete-file-not.svg);*/
/*    width: 29px;*/
/*    height: 29px;*/
/*    min-width: 29px;*/
/*    position: absolute;*/
/*    top: 10px;*/
/*    right: 10px;*/
/*    background-position: center;*/
/*    background-repeat: no-repeat;*/
/*    background-size: contain;*/
/*}*/

.delete-file__title {
    font-size: 21px;
    font-weight: 600;
    line-height: 15px;
}

.warning__title, .confirm__title, .text-edit__title {
    font-size: 21px;
    font-weight: 600;
    line-height: 20px;
    padding-top: 15px;
}

.delete-file__text {
    color: rgba(153, 153, 153, 1);
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

.delete-file__buttons {
    display: flex;
    gap: 10px;
}

.warning__buttons, .confirm__buttons, .text-edit__buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding-top: 10px;
}

.delete-file__btn {
    font-size: 16px;
    font-weight: 400;
    padding: 0px 23px;
    height: 46px;
    border-radius: 6px;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.warning__btn, .confirm__btn, .text-edit__btn, .hotelsum-modal__btn {
    font-size: 16px;
    font-weight: 400;
    padding: 0px 23px;
    height: 46px;
    border-radius: 6px;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-file__btn-ok {
    background: rgba(27, 91, 163, 1);
    color: rgba(255, 255, 255, 1);
}

.warning__btn-ok, .confirm__btn-ok, .text-edit__btn-ok, .hotelsum-modal__btn-ok {
    background: rgba(27, 91, 163, 1);
    color: rgba(255, 255, 255, 1);
}

.confirm__btn-ok.is-loading {
    pointer-events: none;
    cursor: wait;
    gap: 8px;
    opacity: 0.92;
}

.confirm__btn-ok.is-loading:after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #fff 0%, rgba(255,255,255,0.12) 80%, transparent 100%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
    animation: wait-spin 0.75s linear infinite;
}

.delete-file__btn-cancel {
    color: rgba(27, 91, 163, 1);
    background: transparent;
    border: 1px solid rgba(27, 91, 163, 1);
}

.confirm__btn-cancel, .text-edit__btn-cancel, .hotelsum-modal__btn-cancel {
    color: rgba(27, 91, 163, 1);
    background: transparent;
    border: 1px solid rgba(27, 91, 163, 1);
}

.delete-file__btn:hover {
    background: rgba(27, 91, 163, 1);
    color: rgba(255, 255, 255, 1);
}

.warning__btn:hover, .confirm__btn:hover, .text-edit__btn:hover, .hotelsum-modal__btn:hover {
    background: rgba(27, 91, 163, 1);
    color: rgba(255, 255, 255, 1);
}

.text-edit__text{
  height: auto;
  padding: 5px;
}

.addpassenger-modal__wrap {
    width: 605px;
    margin: auto;
}

.addpassenger-modal__content {
    padding: 26px 28px 37px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.addpassenger-modal__passengers {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.addpassenger-modal__passenger {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 400;
    line-height: 12px;
}

.addpassenger-modal__passenger + .addpassenger-modal__passenger + .addpassenger-modal__passenger {
    padding-top: 10px;
    border-top: 1px dashed rgba(0, 0, 0, 0.16);
}

.addpassenger-modal__passenger input[type="checkbox"] {
    display: none;
}

.addpassenger-modal__passenger:before {
  content: '';
  display: block;
  border: 1px solid rgb(223, 228, 239);
  border-radius: 4px;
  background: rgb(255, 255, 255);
  width: 20px;
  height: 20px;
  min-width: 20px;
  box-sizing: border-box;
}

.addpassenger-modal__passenger:has(:checked):before {
  border: 1px solid rgb(27, 91, 163);
  background: rgb(27, 91, 163);
  background-image: url(/img/new/check-small-white.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 20px;
}

.addpassenger-modal__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.addpassenger-modal__btn {
    width: auto;
    height: 46px;
    border: 1px solid rgba(27, 91, 163, 1);
    border-radius: 6px;
    background: rgba(255, 255, 255, 1);
    padding: 0px 23px;
    color: rgba(27, 91, 163, 1);
    font-size: 16px;
    font-weight: 400;
    display: flex;
    justify-content: center;
    align-items: center;
}

.addpassenger-modal__btn-addselected {
    background: rgba(241, 246, 255, 1);
}

.addpassenger-modal__btn:hover {
    color: rgba(255, 255, 255, 1);
    background: rgba(27, 91, 163, 1);
}




.addinfo-modal__wrap {
    width: 605px;
    margin: auto;
}

.addinfo-modal__content {
    padding: 22px 28px 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.addinfo-modal__inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.addinfo-modal__input {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 400;
    line-height: 11px;
}

.addinfo-modal__input input[type="text"] {
    width: calc(100% - 143px);
    border: 1px solid rgba(223, 228, 239, 1);
    border-radius: 6px;
    background: rgba(255, 255, 255, 1);
    height: 42px;
    padding: 0px 11px;
}

.addinfo-modal__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.addinfo-modal__btn {
    padding: 0px 23px;
    height: 46px;
    width: auto;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 400;
    background: rgba(27, 91, 163, 1);
    border: 1px solid rgba(27, 91, 163, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}
.addinfo-modal__btn-save.is-loading {
    pointer-events: none;
    cursor: wait;
    opacity: 0.92;
}
.addinfo-modal__btn-save.is-loading:after {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    border-radius: 50%;
    box-sizing: border-box;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-top-color: #fff;
    animation: wait-spin 0.75s linear infinite;
}

.addinfo-modal__btn:hover {
    color: rgba(255, 255, 255, 1);
    background: rgba(27, 91, 163, 1);
}

.addinfo-modal__btn-cancel {
    color: rgba(27, 91, 163, 1);
    background: rgba(255, 255, 255, 1);
}




.confirmdata-modal__wrap {
    width: 1105px;
    margin: auto;
    max-width: calc(100% - 20px);
}

.variantdata-modal__wrap {
    width: 605px;
    max-width: calc(100% - 20px);
    margin: auto;
}

.variantdata-modal__content {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 22px 28px 31px;
}

.variantdata-modal__gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.variantdata-modal__preview {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #d0d0d0;
    flex-shrink: 0;
}

.variantdata-modal__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.variantdata-modal__preview-del {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    background: rgba(0,0,0,0.55);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    text-decoration: none;
}

.variantdata-modal__preview-del:hover {
    background: rgba(200,0,0,0.75);
}

.variantdata-modal__text {
    width: 100%;
    height: 212px;
    resize: none;
    border: 1px solid rgba(223, 228, 239, 1);
    border-radius: 12px;
    padding: 22px 25px;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 1);
}

.variantdata-modal__text:focus {
    outline: none;
    border-color: rgba(27, 91, 163, 0.5);
}

.variantdata-modal__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.variantdata-modal__attach {
    width: 38px;
    height: 38px;
    background-image: url(/img/new/variant-add-image.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 26px;
    cursor: pointer;
    opacity: 0.6;
    flex-shrink: 0;
}

.variantdata-modal__attach:hover {
    opacity: 1;
}

.variantdata-modal__btn {
    padding: 0px 26px;
    height: 46px;
    cursor: pointer;
    border: none;
    font-size: 16px;
    font-weight: 400;
    width: max-content;
}

/* optionedit-modal */
.optionedit-modal__wrap {
    width: 500px;
    max-width: calc(100% - 20px);
    margin: auto;
}

.optionedit-modal__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
}

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

.optionedit-modal__label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    min-width: 120px;
    flex-shrink: 0;
}

.optionedit-modal__tariff,
.optionedit-modal__refund,
.optionedit-modal__bag,
.optionedit-modal__luggage {
    flex: 1;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
}

.optionedit-modal__tariff:focus,
.optionedit-modal__refund:focus,
.optionedit-modal__bag:focus,
.optionedit-modal__luggage:focus {
    border-color: #1b5ba3;
}

.optionedit-modal__fees-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.optionedit-modal__fees-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.optionedit-modal__fee-add {
    font-size: 13px;
    color: #1b5ba3;
    text-decoration: none;
}

.optionedit-modal__fee-add:hover { text-decoration: underline; }

.optionedit-modal__fees-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.optionedit-modal__fee-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.optionedit-modal__fee-name {
    flex: 1;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 13px;
    font-family: inherit;
    outline: none;
}

.optionedit-modal__fee-name:focus { border-color: #1b5ba3; }

.optionedit-modal__fee-count {
    width: 56px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    text-align: center;
}

.optionedit-modal__fee-count:focus { border-color: #1b5ba3; }

.optionedit-modal__fee-feesum {
    min-width: 72px;
    font-size: 13px;
    color: #555;
    text-align: right;
}

.optionedit-modal__fee-del {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200,0,0,0.1);
    border-radius: 50%;
    color: #c00;
    font-size: 16px;
    text-decoration: none;
    flex-shrink: 0;
}

.optionedit-modal__fee-del:hover { background: rgba(200,0,0,0.25); }

/* hotelsum-modal — цена и варианты номеров (гостиницы / трансфер / автобус) */
.hotelsum-modal__wrap {
    width: 560px;
    max-width: calc(100% - 20px);
    margin: auto;
}

.hotelsum-modal__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
}

.hotelsum-modal__hint {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.hotelsum-modal__table {
    width: 100%;
    border-collapse: collapse;
}

.hotelsum-modal__table th {
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    padding: 0 8px 8px 0;
}

.hotelsum-modal__table th:first-child {
    width: 140px;
}

.hotelsum-modal__table td {
    padding: 4px 8px 4px 0;
    vertical-align: middle;
}

.hotelsum-modal__sum,
.hotelsum-modal__comment {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
}

.hotelsum-modal__sum:focus,
.hotelsum-modal__comment:focus {
    border-color: #1b5ba3;
}

.hotelsum-modal__sum:disabled,
.hotelsum-modal__comment:disabled {
    background: #f2f2f2;
    color: #888;
    cursor: not-allowed;
}

.hotelsum-modal__footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.hotelsum-modal__btn {
    text-decoration: none;
    box-sizing: border-box;
}

.variant-item__price.cashier-editable {
    cursor: pointer;
}

.variant-item__price.cashier-editable:hover {
    color: #1b5ba3;
}

.variant-item__price-comment {
    flex: 1 1 100%;
    min-width: 0;
    max-width: 360px;
    display: block;
    margin-top: 4px;
    margin-bottom: 14px;
    padding: 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    color: rgba(27, 91, 163, 0.72);
}

.optionedit-modal__total-row .optionedit-modal__total {
    font-size: 18px;
    font-weight: 700;
    color: #1b5ba3;
}

.optionedit-modal__footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 4px;
}

.optionedit-modal__btn {
    padding: 9px 28px;
    cursor: pointer;
    border: none;
    font-size: 14px;
    font-weight: 600;
}

.optionedit-btn {
    width: 30px;
    height: 30px;
    background-image: url(/img/new/edit-pencil.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px;
    opacity: 0.45;
    flex-shrink: 0;
}

.optionedit-btn:hover { opacity: 1; }

.variant-route__del {
    display: block;
    width: 36px;
    height: 36px;
    min-width: 36px;
    background-image: url(/img/new/cross-black.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
    background-color: rgba(200,0,0,0.12);
    border-radius: 50%;
    flex-shrink: 0;
    opacity: 0.7;
    box-sizing: border-box;
}

.variant-route__del:hover { opacity: 1; background-color: rgba(200,0,0,0.28); }

.confirmdata-modal__content {
    padding: 28px 28px 39px;
    display: flex;
    flex-direction: column;
    gap: 29px;
}

.confirmdata-modal__block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.confirmdata-modal__block-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 14px;
}

.confirmdata-modal__block-title:empty {
    display: none;
}

.confirmdata-modal__content--no-segments {
    gap: 12px;
}

.confirmdata-modal__content--no-segments .confirmdata-modal__variant-block {
    gap: 12px;
}

.confirmdata-modal__content--no-segments .confirmdata-modal__offer-images {
    margin-bottom: 0;
}

.confirmdata-modal__table {
    overflow: auto;
}

.confirmdata-modal__table::-webkit-scrollbar {
  width: 3px;
  height: 5px;
  border-radius: 8px;
}

.confirmdata-modal__table::-webkit-scrollbar-track {
  background: #4242420d;
  border-radius: 8px;
}

.confirmdata-modal__table::-webkit-scrollbar-thumb {
  background: rgb(66 66 66 / 20%);
  border-radius: 8px;
}

.confirmdata-modal__table table {
    width: 1049px;
    border-collapse: separate;
    border-spacing: 0;
}

.confirmdata-modal__table table thead {}

.confirmdata-modal__table table thead tr {}

.confirmdata-modal__table table th {
    background: rgb(248, 250, 254);
    border: 1px solid rgb(223, 228, 239);
    border-width: 1px 0 1px 1px;
    height: 44px;
    line-height: 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
}

.confirmdata-modal__table table tbody {}

.confirmdata-modal__table table tbody tr {

}

.confirmdata-modal__table table td {
    border: 1px solid rgb(223, 228, 239);
    background: rgb(255, 255, 255);
    border-width: 0 0 1px 1px;
    height: 42px;
    overflow: hidden;
    padding: 0 16px;
    color: rgba(102, 102, 102, 1);
    font-size: 14px;
    font-weight: 500;
}

.confirmdata-modal__table table th:first-child {
    border-radius: 8px 0px 0px 0px;
}

.confirmdata-modal__table table th:last-child {
    border-width: 1px;
    border-radius: 0px 8px 0px 0px;
}

.confirmdata-modal__table table tr:last-child td:first-child {
    border-radius: 0px 0px 0px 8px;
}

.confirmdata-modal__table table tr:last-child td:last-child {
    border-radius: 0px 0px 8px 0px;
}

.confirmdata-modal__table table td:last-child {
    border-width: 0 1px 1px;
}

th.confirmdata-modal__table-route {
    width: 430px;
}

th.confirmdata-modal__table-flight {
    width: 161px;
}

th.confirmdata-modal__table-date {
    width: 120px;
}

th.confirmdata-modal__table-time-from {
    width: 180px;
}

th.confirmdata-modal__table-time-to {
    width: 158px;
}

.confirmdata-modal__flight {
    width: 1049px;
    border: 1px solid rgba(223, 228, 239, 1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 1);
    display: flex;
    align-items: center;
    padding: 14px 20px;
}

.confirmdata-modal__flight__price {
    color: rgba(27, 91, 163, 1);
    font-size: 24px;
    font-weight: 600;
    line-height: 17px;
    margin-right: 33px;
    width: 100px;
}

.confirmdata-modal__change {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 190px;
    margin-right: 60px;
}

.confirmdata-modal__change span {
    display: flex;
    align-items: center;
    gap: 4px;
    color: rgba(27, 91, 163, 1);
    font-size: 18px;
    font-weight: 600;
    line-height: 13px;
    position: relative;
}

.confirmdata-modal__change span:after {
  content: '';
  width: 20px;
  height: 20px;
  min-width: 20px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.confirmdata-modal__change span.refund-no:after {
  background-image: url(/img/new/refund-no.svg);
  width: 46.28px;
  height: 15.73px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.confirmdata-modal__change span.refund-ok:after {
  background-image: url(/img/new/refund-change.png);
}

.confirmdata-modal__change span.refund-fee:after {
  background-image: url(/img/new/refund-fee.svg);
}

.confirmdata-modal__change span.refund-no:after {
  background-image: url(/img/new/refund-no.svg);
}

.confirmdata-modal__seats {
    width: 352px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 13px;
    border: 1px solid rgba(223, 228, 239, 1);
    border-radius: 8px;
    height: fit-content;
}

.confirmdata-modal__seats p {
    position: relative;
    padding-left: 37px;
    font-size: 12px;
    font-weight: 600;
    line-height: 15px;
    min-height: 27px;
    width: -webkit-fill-available;
    display: flex;
    align-items: center;
}

.confirmdata-modal__seats p:before {
    content: '';
    position: absolute;
    width: 27px;
    height: 27px;
    min-width: 27px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.confirmdata-modal__seats p span {
    font-weight: 600;
    color: rgba(27, 91, 163, 1);
}

.confirmdata-modal__seats p.low:before {
    background-image: url(/img/new/variant-seats-low.svg);
}

.confirmdata-modal__seats p.big:before {
    background-image: url(/img/new/variant-seats-big.svg);
}

.confirmdata-modal__table {
}

.confirmdata-modal__passengers {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.confirmdata-modal__passenger {
    width: 1049px;
    min-height: 95px;
    display: flex;
    align-items: center;
    position: relative;
    gap: 13px;
    border-radius: 8px;
    background: rgba(235, 242, 255, 1);
    padding: 14px 22px;
}

.confirmdata-modal__passengers-block:not(.is-pick) .confirmdata-modal__passenger-pick {
    display: none;
}

.confirmdata-modal__passenger-pick {
    display: flex;
    align-items: center;
    cursor: pointer;
    flex-shrink: 0;
}

.confirmdata-modal__passenger-pick input[type="checkbox"] {
    display: none;
}

.confirmdata-modal__passenger-pick:before {
    content: '';
    display: block;
    border: 1px solid rgb(223, 228, 239);
    border-radius: 4px;
    background: rgb(255, 255, 255);
    width: 20px;
    height: 20px;
    min-width: 20px;
    box-sizing: border-box;
}

.confirmdata-modal__passenger-pick:has(:checked):before {
    border: 1px solid rgb(27, 91, 163);
    background: rgb(27, 91, 163);
    background-image: url(/img/new/check-small-white.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px;
}

.confirmdata-modal__passengers-actions {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.confirmdata-modal__passengers-block.is-pick .confirmdata-modal__passengers-actions {
    display: flex;
}

.confirmdata-modal__add-passenger {
    width: auto;
    min-width: 0;
    padding: 0 16px;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    font-weight: 600;
}

.confirmdata-modal__passenger-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.confirmdata-modal__passenger-inline input[type="text"] {
    border: 1px solid rgba(223, 228, 239, 1);
    border-radius: 8px;
    background: #fff;
    height: 36px;
    padding: 0 10px;
    font-size: 13px;
    line-height: 36px;
    box-sizing: border-box;
}

.confirmdata-modal__inline-fio {
    width: 100%;
}

.confirmdata-modal__passenger-inline .passenger-modal__input-date {
    width: 140px;
    flex-shrink: 0;
}

.confirmdata-modal__passenger-inline .passenger-modal__input-date:after {
    right: 6px;
    width: 20px;
    height: 20px;
}

.confirmdata-modal__passenger-inline .passenger-modal__input-date input {
    width: 100%;
    padding-right: 30px;
}

.confirmdata-modal__inline-docnum {
    width: 140px;
}

.confirmdata-modal__inline-phone {
    width: 140px;
}

.confirmdata-modal__inline-email {
    width: 180px;
}

.confirmdata-modal__inline-field {
    display: none;
}

.confirmdata-modal__inline-select {
    position: relative;
    width: 160px;
}

.confirmdata-modal__inline-select .select-input {
    width: 100%;
    border: 1px solid rgba(223, 228, 239, 1);
    border-radius: 8px;
    background: #fff;
    height: 36px;
    padding: 0 10px;
    font-size: 13px;
    line-height: 36px;
    box-sizing: border-box;
    cursor: pointer;
}

.confirmdata-modal__inline-select .select-options {
    display: none;
    height: auto;
}

.confirmdata-modal__inline-select.confirmdata-modal__inline-fio-wrap {
    width: 220px;
}

.confirmdata-modal__inline-select.confirmdata-modal__inline-fio-wrap .select-input {
    cursor: text;
}

.confirmdata-modal__inline-gender-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 8px;
    border-radius: 8px;
    border: 1px solid transparent;
    box-sizing: border-box;
}

.confirmdata-modal__inline-gender {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: rgba(51, 51, 51, 1);
    cursor: pointer;
}

.confirmdata-modal__inline-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.confirmdata-modal__inline-ok,
.confirmdata-modal__inline-cancel {
    width: auto;
    min-width: 0;
    padding: 0 14px;
    height: 36px;
    line-height: 36px;
    font-size: 13px;
    font-weight: 600;
}

#confirmdata-modal.is-draft-editing .confirmdata-modal__passenger:not([data-kind=draft]),
#confirmdata-modal.is-draft-editing .confirmdata-modal__checkboxes,
#confirmdata-modal.is-draft-editing .confirmdata-modal__buttons,
#confirmdata-modal.is-draft-editing .confirmdata-modal__passengers-actions,
#confirmdata-modal.is-draft-editing .modal-close {
    pointer-events: none;
    opacity: 0.45;
}

#confirmdata-modal.is-draft-editing .confirmdata-modal__passenger[data-kind=draft] {
    pointer-events: auto;
    opacity: 1;
}

.confirmdata-modal__passenger__data {
    width: 434px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.confirmdata-modal__passenger__name {
    color: rgba(27, 91, 163, 1);
    font-size: 15px;
    font-weight: 600;
    line-height: 11px;
}

.confirmdata-modal__passenger__data-item {
    color: rgba(102, 102, 102, 1);
    font-size: 13px;
    font-weight: 500;
    line-height: 9px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.confirmdata-modal__passenger__data-item:before {
      content: '';
    width: 18px;
    height: 18px;
    min-width: 18px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.confirmdata-modal__passenger__pasport:before {
    background-image: url(/img/new/passenger-pasport.svg);
}

.confirmdata-modal__passenger__contacts:before {
    background-image: url(/img/new/passenger-contacts.svg);
}

.confirmdata-modal__passenger__bonus {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.confirmdata-modal__passenger__bonus-title {
    font-size: 12px;
    font-weight: 400;
    line-height: 9px;
    color: rgba(102, 102, 102, 1);
}

.confirmdata-modal__passenger__bonus-title b {
    font-weight: 600;
    color: rgb(66, 66, 66);
}

.confirmdata-modal__passenger__bonus-wrap {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(223, 228, 239, 1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 1);
    padding: 11px 13px;
    gap: 9px;
    width: fit-content;
}

.confirmdata-modal__passenger__bonus-item {
    font-size: 13px;
    font-weight: 400;
    line-height: 9px;
}

.confirmdata-modal__passenger__bonus-item b {
    font-weight: 500;
}

.confirmdata-modal__checkboxes {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.confirmdata-modal__checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 400;
    line-height: 12px;
}

.confirmdata-modal__checkbox input[type="checkbox"] {
    display: none;
}

.confirmdata-modal__checkbox:before {
  content: '';
  display: block;
  border: 1px solid rgb(223, 228, 239);
  border-radius: 4px;
  background: rgb(255, 255, 255);
  width: 20px;
  height: 20px;
  min-width: 20px;
  box-sizing: border-box;
}

.confirmdata-modal__checkbox:has(:checked):before {
  border: 1px solid rgb(27, 91, 163);
  background: rgb(27, 91, 163);
  background-image: url(/img/new/check-small-white.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 20px;
}

.confirmdata-modal__separate {
    border-top: 1px dashed rgba(0, 0, 0, 0.16);
}

.confirmdata-modal__submit {
    border: none;
    width: 169px;
    height: 46px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    font-size: 16px;
    font-weight: 400;
}

.confirmdata-modal__submit.is-loading {
    pointer-events: none;
    cursor: wait;
    gap: 8px;
    opacity: 0.92;
}

.confirmdata-modal__submit.is-loading:after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #fff 0%, rgba(255,255,255,0.12) 80%, transparent 100%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
    animation: wait-spin 0.75s linear infinite;
}

.scaling:hover{
  scale: 1.3;
}

.downloaded{
outline-offset: 3px;
    outline: 1px solid gray;
    border-radius: 4px;
}

#warning,
#confirm {
  z-index: 6001;
}

/* Блокировка .main-body при AJAX — меню/сайдбар не перекрываем */
.page-wait {
	position: fixed;
	z-index: 5500;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.55);
	cursor: wait;
	box-sizing: border-box;
	/* как у .main-body — иначе квадратные углы оверлея выглядывают из скругления панели */
	border-radius: 25px;
}

.page-wait[hidden] {
	display: none !important;
}

/* Курсор wait только над контентом, не над меню */
body.page-busy {
	cursor: default;
}

body.page-busy .main-body,
.main-body.page-busy {
	cursor: wait;
}

.page-wait .wait-spinner--a,
.wait-spinner--a {
	position: relative;
	width: 36px;
	height: 36px;
	animation: wait-spin 0.9s linear infinite;
}

.page-wait .wait-spinner--a:before,
.wait-spinner--a:before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: conic-gradient(from 0deg, #1B5BA3 0%, rgba(27,91,163,0.08) 80%, transparent 100%);
	-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
	mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
}

@keyframes wait-spin {
	to { transform: rotate(360deg); }
}

@media(max-width: 1024px) {
  .modal.active {
    padding: 0;
  }

  .passenger-modal__wrap {
    max-width: 100%;
    border-radius: 0;
  }

  .modal-top {
    padding: 10px 20px;
  }

  .modal-title {
    font-size: 23px;
    font-weight: 600;
  }

  .passenger-modal__content {
    padding: 20px 20px 23px;
  }

  .passenger-modal__inputs {
    gap: 16px;
  }

  .passenger-modal__input-wrap {
    width: 100%;
}

  .passenger-modal__input {
    flex-direction: column;
    align-items: baseline;
    gap: 10px;
  }

  .passenger-modal__bonus-top {
    flex-direction: column;
    gap: 16px;
    align-items: baseline;
  }

  .passenger-modal__bonus-inputs {
    flex-direction: column;
    align-items: baseline;
    gap: 16px;
  }

  .bonus-input {
    width: 100%;
  }

  .bonus-input__close {
    display: none;
  }

  .passenger-modal__btn {
    width: 100%;
  }

  #push-prefs-modal.active {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
  }

  .push-prefs-modal__wrap {
    width: 100%;
    max-width: 100%;
    min-height: 100dvh;
    border-radius: 0;
    margin: 0;
  }

  .push-prefs-modal__content {
    flex: 1;
    padding: 20px 20px 28px;
    gap: 16px;
    overflow-y: auto;
    max-height: calc(100dvh - 52px);
  }

  .push-prefs-modal__hint {
    font-size: 14px;
    line-height: 1.5;
  }

  .push-prefs-modal__label {
    font-size: 15px;
    gap: 14px;
  }

  .push-prefs-modal__table thead {
    display: none;
  }

  .push-prefs-modal__table table,
  .push-prefs-modal__table tbody,
  .push-prefs-modal__table tr,
  .push-prefs-modal__table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .push-prefs-modal__table tr {
    border: 1px solid rgb(223, 228, 239);
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 10px 12px 4px;
    background: #fff;
  }

  .push-prefs-modal__table td {
    border: none !important;
    border-radius: 0 !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    text-align: left;
  }

  .push-prefs-modal__table td.push-prefs-modal__td-cat {
    display: block;
    padding: 0 0 8px;
    font-weight: 600;
    border-bottom: 1px solid rgb(223, 228, 239) !important;
    margin-bottom: 4px;
  }

  .push-prefs-modal__flag-text {
    display: block;
    font-size: 14px;
    color: rgb(66, 66, 66);
  }

  .push-prefs-modal__buttons {
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    padding-top: 12px;
  }

  .push-prefs-modal__save,
  .push-prefs-modal__disable,
  .push-prefs-modal__cancel {
    width: 100%;
    height: 46px;
  }
}

.pc-show:not(td) {
  /*display: flex!important;*/
  display: flex;
}

.mb-show {
  display: none!important;
}

@media(max-width: 1024px) {
  .pc-show {
    display: none!important;
  }

  .mb-show {
    display: flex!important;
  }
}


html{
  overscroll-behavior-y: none;
}

.main-body{
  all: inherit;
  display: flex;
  zoom: normal;
  flex-direction: column;
  background: white;
  border-radius: 25px;
  flex: 1;
  /* Высоту задаёт resizeSidebarHeight() в menu.js: innerHeight/zoom − 60.
     CSS calc(100vh − 60px) без /zoom при body zoom:.9/.8/.7 сжимает панель. */
  height: calc(100vh - 60px);
  min-height: calc(100vh - 60px);
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0px 40px 60px 60px;
}

@media (max-width: 1024px) {
  .main-body{
    padding: 10px;
    flex-direction: column;
    margin: 0;
    /* all:inherit тянет width с body — сбрасываем, тянемся через stretch */
    width: auto;
    align-self: stretch;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    /* Не 100vh: сверху сайдбар, иначе панель уезжает и схлопывает спиннер */
    height: auto;
    min-height: calc(100dvh - 120px);
    flex: 1 1 auto;
    overflow-x: hidden;
  }
}

body{
  background: url(/img/new/bg.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  padding: 30px 30px 30px 30px;
}

.hidden{
  display: none !important;
}

/* ── Мини Сообщение / Пассажир: журнал командировок + заявка (один стиль) ── */
.lk__complex-neighbors-mini__message-cell .journal-table__message,
.complex-orders-orders-mini__message-cell .journal-table__message {
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: auto !important;
	padding: 0;
}

.lk__complex-neighbors-mini__message-cell .table-message__item,
.lk__complex-neighbors-mini__message-cell .table-comment__item,
.complex-orders-orders-mini__message-cell .table-message__item,
.complex-orders-orders-mini__message-cell .table-comment__item {
	display: block;
	background: transparent;
	padding: 0;
	border-radius: 0;
	gap: 0;
	margin: 0;
}

.lk__complex-neighbors-mini__message-cell .message-item__name,
.lk__complex-neighbors-mini__message-cell .comment-item__name,
.complex-orders-orders-mini__message-cell .message-item__name,
.complex-orders-orders-mini__message-cell .comment-item__name {
	margin: 0;
	font-size: 11px;
	font-weight: 600;
	color: #555;
	line-height: 1.25;
	max-width: none;
	width: auto;
}

.lk__complex-neighbors-mini__message-cell .message-item__text,
.lk__complex-neighbors-mini__message-cell .comment-item__text,
.complex-orders-orders-mini__message-cell .message-item__text,
.complex-orders-orders-mini__message-cell .comment-item__text {
	margin: 0;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.3;
	color: #333;
	white-space: pre-line;
}

.lk__complex-neighbors-mini__message-cell .table-comment__item,
.complex-orders-orders-mini__message-cell .table-comment__item {
	opacity: 0.85;
}

.lk__complex-neighbors-mini__pass-cell .journal-table__passagier,
.complex-orders-orders-mini__pass-cell .journal-table__passagier {
	display: flex;
	flex-direction: column;
	gap: 2px;
	width: auto;
}

.lk__complex-neighbors-mini__pass-cell .passagier-item__name,
.complex-orders-orders-mini__pass-cell .passagier-item__name {
	display: block;
	margin: 0;
	font-size: 12px;
	line-height: 1.3;
	white-space: nowrap;
}

/* Без статуса — точки нет; с классом статуса — точка (перебивает иконки vieworders) */
.lk__complex-neighbors-mini__pass-cell .passagier-item__name:before,
.complex-orders-orders-mini__pass-cell .passagier-item__name:before {
	content: none;
	display: none;
	background-image: none !important;
}

.lk__complex-neighbors-mini__pass-cell .passagier-item__name.air-g:before,
.lk__complex-neighbors-mini__pass-cell .passagier-item__name.doc-g:before,
.lk__complex-neighbors-mini__pass-cell .passagier-item__name.hotel-g:before,
.lk__complex-neighbors-mini__pass-cell .passagier-item__name.train-g:before,
.lk__complex-neighbors-mini__pass-cell .passagier-item__name.car-g:before,
.lk__complex-neighbors-mini__pass-cell .passagier-item__name.bus-g:before,
.lk__complex-neighbors-mini__pass-cell .passagier-item__name.doc-cancel-g:before,
.complex-orders-orders-mini__pass-cell .passagier-item__name.air-g:before,
.complex-orders-orders-mini__pass-cell .passagier-item__name.doc-g:before,
.complex-orders-orders-mini__pass-cell .passagier-item__name.hotel-g:before,
.complex-orders-orders-mini__pass-cell .passagier-item__name.train-g:before,
.complex-orders-orders-mini__pass-cell .passagier-item__name.car-g:before,
.complex-orders-orders-mini__pass-cell .passagier-item__name.bus-g:before,
.complex-orders-orders-mini__pass-cell .passagier-item__name.doc-cancel-g:before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	min-width: 8px;
	margin-right: 4px;
	border-radius: 50%;
	background: #c5cad6;
	background-image: none !important;
	vertical-align: middle;
}

/* Оформлен / забронирован — синяя точка */
.lk__complex-neighbors-mini__pass-cell .passagier-item__name.air:before,
.lk__complex-neighbors-mini__pass-cell .passagier-item__name.doc:before,
.lk__complex-neighbors-mini__pass-cell .passagier-item__name.hotel:before,
.lk__complex-neighbors-mini__pass-cell .passagier-item__name.train:before,
.lk__complex-neighbors-mini__pass-cell .passagier-item__name.car:before,
.lk__complex-neighbors-mini__pass-cell .passagier-item__name.bus:before,
.complex-orders-orders-mini__pass-cell .passagier-item__name.air:before,
.complex-orders-orders-mini__pass-cell .passagier-item__name.doc:before,
.complex-orders-orders-mini__pass-cell .passagier-item__name.hotel:before,
.complex-orders-orders-mini__pass-cell .passagier-item__name.train:before,
.complex-orders-orders-mini__pass-cell .passagier-item__name.car:before,
.complex-orders-orders-mini__pass-cell .passagier-item__name.bus:before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	min-width: 8px;
	margin-right: 4px;
	border-radius: 50%;
	background: rgb(41, 121, 255);
	background-image: none !important;
	vertical-align: middle;
}

