@charset "UTF-8";
/* Все переменные, которые будут использоваться внутри файлов scss */
/* Fonts */
/* Colors */
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Medium.woff") format("woff"), url("../fonts/Inter-Medium.ttf") format "truetype", url("../fonts/Inter-Medium.woff2") format "woff2";
  font-weight: 500;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-SemiBold.woff") format("woff"), url("../fonts/Inter-SemiBold.ttf") format "truetype", url("../fonts/Inter-SemiBold.woff2") format "woff2";
  font-weight: 600;
}
.bgc-white {
  background-color: #fff;
}

.bgc-blue {
  background-color: #2788F2;
}

.bgc-light-blue {
  background-color: #57A3F5;
}

.bgc-blue-2 {
  background-color: #B7D7FB;
}

.bgc-dark-blue {
  background-color: #0A56A8;
}

.bgc-light-grey {
  background-color: #f8f8f8;
}

.bgc-grey {
  background-color: #eee;
}

.bgc-light-orange {
  background-color: #FEF2E6;
}

.bgc-disabled {
  background-color: #eee;
}

.bgc-light-yellow {
  background-color: #FFF5B3;
}

.bgc-red {
  background-color: #E43535;
}

.bgc-blue-opacity {
  background-color: rgba(39, 136, 242, 0.15);
}

.bgc-light-blue-opacity {
  background-color: rgba(87, 163, 245, 0.15);
}

.bgc-status-blue-opacity {
  background-color: rgba(34, 133, 213, 0.15);
}

.bgc-grey-opacity {
  background-color: rgba(248, 248, 248, 0.15);
}

.bgc-green-opacity {
  background-color: rgba(78, 191, 104, 0.15);
}

.bgc-red-opacity {
  background-color: rgba(228, 53, 53, 0.15);
}

.bgc-orange-opacity {
  background-color: rgba(230, 146, 52, 0.15);
}

.bgc-yellow-opacity {
  background-color: rgba(195, 195, 27, 0.15);
}

.bgc-purple-opacity {
  background-color: rgba(82, 20, 159, 0.15);
}

.bgc-light-yellow-opacity {
  background-color: rgba(255, 245, 179, 0.6);
}

html {
  font-size: 16px;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

a {
  display: block;
  font-family: inherit;
  text-decoration: none;
  color: inherit;
}

ul {
  margin: 0;
  padding-left: 0;
}

li {
  list-style: none;
}

input {
  border: none;
  display: block;
  font-family: inherit;
}
input:hover {
  outline: none;
}
input:focus {
  outline: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
}

select {
  font-family: inherit;
  appearance: none;
}
select option {
  font-family: inherit;
}

textarea {
  font-family: inherit;
}

button {
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  padding: 0;
  transition: 0.3s;
  user-select: none;
}

body {
  height: 100%;
  margin: 0;
  font-family: "Inter", sans-serif;
}

table,
tbody,
th,
td {
  padding: 0;
  margin: 0;
}

table {
  border-spacing: 0;
}

p {
  margin: 0;
}

/* полоса прокрутки (скроллбар) */
::-webkit-scrollbar {
  width: 16px; /* ширина для вертикального скролла */
  height: 8px; /* высота для горизонтального скролла */
  background-color: #fff;
}

::-webkit-scrollbar:hover {
  background-color: #fff;
}

::-webkit-scrollbar-track {
  border-radius: 0px;
  margin-block: 15px;
}

/* ползунок скроллбара */
::-webkit-scrollbar-thumb {
  border: 5px solid #fff;
  box-shadow: inset 0 0 5px #fff;
  background-clip: padding-box;
  border-radius: 9999px;
  background-color: #AAAAAA;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #717171;
}

/* Стрелки */
::-webkit-scrollbar-button:vertical:start:decrement {
  display: none;
}

::-webkit-scrollbar-button:vertical:end:increment {
  display: none;
}

::-webkit-scrollbar-button:horizontal:start:decrement {
  display: none;
}

::-webkit-scrollbar-button:horizontal:end:increment {
  display: none;
}

.page {
  width: 100%;
  max-width: 100vw;
  height: 100%;
  background-color: #fff;
  color: #505050;
}

.container {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: start;
  position: relative;
}

.column {
  width: 100%;
}
.column.full-width {
  margin: 0 auto;
  padding: 20px;
}
.column.sidebar-main {
  height: 100vh;
  display: flex;
  justify-content: start;
  align-items: center;
  flex-direction: column;
  gap: 1.5rem;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  background-color: #fff;
}
.column.sidebar-main.full {
  width: 228px;
  min-width: 228px;
  max-width: 228px;
}
.column.sidebar-main.small {
  width: 88px;
  padding: 2rem 1.25rem;
  gap: 60px;
}
.column.sidebar-visit {
  width: 348px;
  height: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 1.5rem;
  background-color: #fff;
  overflow-y: auto;
  border-right: 1px solid #eee;
}
.column.chat {
  width: 366px;
  height: 100%;
  background-color: #eee;
}
.column.chat.hidden {
  display: none;
}
.column.main-content {
  flex: 1;
  height: 100vh;
  overflow-y: auto;
  position: relative;
}
.column.main-content.rescheduling-mode {
  box-shadow: inset 0 0 40px rgba(195, 195, 27, 0.5);
}
.column.hidden {
  display: none;
}
.column.cancellations {
  width: 260px;
  height: 100vh;
  overflow-y: auto;
  border-left: 1px solid rgba(80, 80, 80, 0.1);
  background-color: #fff;
  position: relative;
}

.schedule-section .column.main-content {
  overflow-y: hidden;
}

@media (max-width: 1440px) {
  .column.sidebar-main.full {
    width: 198px;
    min-width: 198px;
    max-width: 198px;
    gap: 1rem;
  }
  .column.sidebar-main.full .button.button__menu.medium {
    height: fit-content;
    font-size: 0.875rem;
    line-height: 1.15;
    gap: 0.5rem;
  }
  .column.sidebar-main.full .button.button__menu.medium .icon.large {
    width: 20px;
    min-width: 20px;
    height: 20px;
  }
  .column.sidebar-visit {
    width: 268px;
    height: 100%;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 1rem;
    background-color: #fff;
    overflow-y: auto;
    border-right: 1px solid #eee;
  }
}
@media (max-width: 768px) {
  .column.sidebar-main {
    display: none;
  }
  .column.sidebar-main.fixed {
    height: 100dvh;
    max-height: 100%;
    display: flex;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 3000;
  }
  .column.sidebar-main.fixed .calendar-statistic-container {
    display: none !important;
  }
  .column.sidebar-main.fixed.hidden {
    display: none;
  }
  .column.cancellations.fixed {
    position: fixed;
    right: 0;
    z-index: 3000;
    width: 100vw;
  }
  .chat.mobile {
    width: 100vw;
  }
}
@media (max-width: 480px) {
  .column.sidebar-visit {
    display: none;
  }
  .column.sidebar-visit.fixed {
    display: flex;
    position: fixed;
    left: 0;
    top: 135px;
    z-index: 3000;
  }
}
.section-header {
  width: 100%;
  height: fit-content;
  padding: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  border-bottom: 1px solid #eee;
}
.section-header .section-title {
  font-size: 1rem;
  line-height: 1.85;
}
.section-header .section-button.button__classic {
  width: fit-content;
  max-width: none;
}
.section-header .burger-menu {
  display: none;
}
.section-header .header-box {
  width: fit-content;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 1.5rem;
}

.section-body {
  width: 100%;
  height: fit-content;
  padding: 1rem;
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 1rem;
}

.section-block {
  width: 100%;
  height: fit-content;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid #eee;
}

.section-link {
  width: fit-content;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.5rem;
}
.section-link:hover {
  text-decoration: underline;
  color: #2788F2;
}
.section-link:hover .icon i::before {
  background-color: #2788F2;
}

@media (max-width: 768px) {
  .section-header {
    justify-content: left;
    gap: 1rem;
  }
  .section-header .section-title {
    font-size: 1rem;
    margin-right: 0.5rem;
  }
  .section-header .burger-menu {
    display: block;
  }
  .section-header .header-box {
    gap: 0.5rem;
  }
  .section-header .button__classic span {
    white-space: nowrap;
  }
}
.box-elements {
  width: 100%;
  padding: 20px;
  background-color: #fff;
  display: flex;
  align-items: start;
  justify-content: left;
  gap: 20px;
  flex-wrap: wrap;
}

.icon-box {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 2px;
}

.schedule {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding: 0.5rem 0;
  position: relative;
  height: 100%;
}
.schedule.no-scroll {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scroll-behavior: auto;
  user-select: none;
}
.schedule.no-scroll .client-card.small {
  pointer-events: auto;
}

.icon-box.prev-columns {
  position: absolute;
  top: 8px;
  left: 0;
  width: 42px;
  height: 75px;
  padding: 8px;
  border-radius: 0 0.5rem 0.5rem 0;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0px -18px 0px 0px #fff, -8px -15px 0px 0px #fff, -9px 0px 0px 0px #fff, 3px 0px 1px 1px #fff;
  border: 1px solid #e3e3e3;
  z-index: 101;
}
.icon-box.prev-columns:hover {
  background-color: #f8f8f8;
}
.icon-box.prev-columns.disabled {
  cursor: default;
  background-color: #e8e8e8;
}
.icon-box.prev-columns.disabled .icon i::before {
  background-color: #aaaaaa;
}
.icon-box.prev-columns .icon {
  width: 24px;
  height: 24px;
}

.schedule-arrow-right-container {
  position: fixed;
  right: 0;
  top: 97px;
  transform: translateY(-50%);
  z-index: 101;
  display: flex;
  align-items: center;
  pointer-events: none;
  width: 42px;
  height: 76px;
  justify-content: flex-end;
  border-radius: 0.5rem 0 0 0.5rem;
}
.schedule-arrow-right-container .icon-box {
  width: 42px;
  height: 75px;
  padding: 8px;
  border-radius: 0.5rem 0 0 0.5rem;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  border: 1px solid #e3e3e3;
  margin-top: 1px;
}
.schedule-arrow-right-container .icon-box:hover {
  background-color: #f8f8f8;
}
.schedule-arrow-right-container .icon-box.disabled {
  cursor: default;
  background-color: #e8e8e8;
}
.schedule-arrow-right-container .icon-box.disabled .icon i::before {
  background-color: #aaaaaa;
}
.schedule-arrow-right-container .icon-box .icon {
  width: 24px;
  height: 24px;
}

.time {
  width: 52px;
  height: 100%;
  padding: 0 0 0.5rem 0;
  text-align: right;
}
.time .icon-box {
  width: 42px;
  height: 70px;
  padding: 1rem;
  margin-bottom: -4px;
  border-radius: 0.5rem;
  background-color: #fff;
  border: 1px solid #e3e3e3;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 105;
  cursor: pointer;
}
.time .icon-box:hover {
  background-color: #f8f8f8;
}
.time .icon-box.disabled, .time .icon-box:disabled {
  cursor: default;
  background-color: #e8e8e8;
}

.hours {
  display: grid;
  gap: 24px;
  padding-bottom: 24px;
  position: relative;
}

.hour {
  height: 24px;
  font-size: 0.875rem;
}
.hour span {
  color: rgba(0, 0, 0, 0.5);
  font-size: 10px;
  vertical-align: top;
}

.grid-column {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  position: relative;
}
.grid-column.time.left {
  position: sticky;
  z-index: 20;
  background-color: #fff;
  width: 48px;
  height: 100%;
  overflow: hidden;
  padding-right: 3px;
}
.grid-column.time.left .hours {
  position: relative;
  width: 100%;
  height: auto;
  transform: translateY(0);
  will-change: transform;
  z-index: 2;
  top: 88px;
}
.grid-column.time.left .icon-box {
  height: 75px;
  box-shadow: 0px -11px 0px 0px #fff;
  z-index: 101;
  position: relative;
  align-self: end;
}
.grid-column.time.right {
  position: fixed;
  right: 0;
  z-index: 21;
  background-color: #fff;
}

.workers-schedule {
  width: 100%;
  height: 100%;
  gap: 0;
  display: flex;
  position: relative;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: none;
  -webkit-overflow-scrolling: touch;
}
.workers-schedule::-webkit-scrollbar {
  display: none;
}

.worker {
  min-width: 115px;
  height: auto;
  padding: 0 0.25rem;
  background-color: #fbfbfb;
  flex-shrink: 0;
  scroll-snap-align: start;
}
.worker.is-rescheduling {
  background-color: rgba(255, 245, 179, 0.6);
}
.worker.is-fired {
  background-color: #FDE9E7;
}
.worker.is-fired .worker-info {
  background-color: #FDE9E7;
  box-shadow: 0px -6px 0 1px #FDE9E7, 0px -1px 0 1px #FDE9E7;
}
.worker.is-fired .worker-interval {
  pointer-events: none !important;
}
.worker.non-working-day {
  background-color: #eee;
}
.worker.non-working-day .worker-interval {
  pointer-events: none !important;
}

.worker-info {
  width: 100.2%;
  height: 75px;
  padding: 0 5px 0;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 2px;
  border-radius: 8px;
  position: sticky;
  top: 0;
  padding-top: 5px;
  z-index: 20;
  background-color: #fbfbfb;
  box-shadow: 0px -4px 0px 1px #fbfbfb;
}
.worker-info:hover {
  background-color: #eee;
}
.worker-info .worker-avatar {
  width: 28px;
  min-width: 28px;
  height: 28px;
  min-height: 28px;
  margin-bottom: 2px;
  border-radius: 50%;
  overflow: hidden;
}
.worker-info .worker-avatar img {
  width: 100%;
}
.worker-info .worker-name {
  font-size: 0.75rem;
  line-height: 1.15;
  width: 100%;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.worker-info .worker-job {
  width: 100%;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.75rem;
  line-height: 1.3;
}

.worker-info__popup {
  position: fixed;
  background-color: #fff;
  border: 1px solid #b9b9b9;
  border-radius: 0.5rem;
  min-width: 150px;
  display: block;
  color: #505050;
}
.worker-info__popup .popup-link {
  padding: 0.5rem;
  font-size: 0.75rem;
  display: flex;
  gap: 0.25rem;
  transition: 0.2s;
  cursor: pointer;
  color: #505050;
}
.worker-info__popup .popup-link:hover {
  background-color: #eee;
}

.worker-schedule {
  width: 100%;
  height: auto;
  position: relative;
}

.worker-mini-schedule {
  width: 440px;
  height: fit-content;
  max-height: 90vh;
  overflow: scroll;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  background-color: #fff;
  border-radius: 0.5rem;
  border: 1px solid #b9b9b9;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 2rem;
}
.worker-mini-schedule .close {
  position: absolute;
  top: 8px;
  right: 8px;
}
.worker-mini-schedule #controls {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.worker-mini-schedule #controls button {
  padding: 0.5rem;
  margin: 0.5rem;
  border: 1px solid #b9b9b9;
  border-radius: 0.5rem;
  background-color: #fff;
}
.worker-mini-schedule #worker-schedule-calendar {
  display: grid;
  width: 330px;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}
.worker-mini-schedule .day {
  width: 40px !important;
  height: 40px !important;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
  user-select: none;
  font-size: 1rem !important;
}
.worker-mini-schedule .day.current-date {
  border: 1px solid #505050;
}
.worker-mini-schedule .description {
  display: flex;
  flex-direction: column;
  width: 320px;
  align-items: flex-start;
  margin-top: 1rem;
}
.worker-mini-schedule .description .description-wrp {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  margin-top: 1rem;
}
.worker-mini-schedule .day.selected {
  background-color: #E69234;
  color: #fff;
}
.worker-mini-schedule .day.selected.new {
  background-color: #4EBF68;
  color: #505050;
}

.time-range-picker {
  width: fit-content;
  height: fit-content;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
  background-color: #fff;
  border-radius: 0.5rem;
  border: 1px solid #b9b9b9;
  padding: 1.25rem;
}
.time-range-picker .time-input-group {
  display: flex;
  gap: 1rem;
}
.time-range-picker .time-range-date {
  font-weight: 600;
  margin-bottom: 1rem;
}
.time-range-picker input {
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 0.5rem;
  border: 1px solid #b9b9b9;
  border-radius: 0.5rem;
}

.popup__bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.5);
}

.worker-hour {
  width: 100%;
  height: 96px;
  border-top: 1px dashed rgba(80, 80, 80, 0.2);
}

.worker-interval {
  width: 100%;
  height: 24px;
  padding: 3px 1px 2px 1px;
  border-top: 1px dashed rgba(80, 80, 80, 0.1);
}
.worker-interval.half-hour {
  border-top: 1px dashed rgba(80, 80, 80, 0.2);
}
.worker-interval:hover {
  border-top: 1px dashed #2788F2;
}
.worker-interval .set-new-record {
  width: 100%;
  height: 100%;
  padding: 0px 2px;
  border-radius: 2px;
  background-color: #E7F2FE;
  color: #2788F2;
  font-size: 9px;
  font-family: inherit;
  text-align: left;
}
.worker-interval.break {
  background-color: rgba(227, 227, 227, 0.9);
}

.schedule-header {
  width: 100%;
  height: 52px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  position: sticky;
  top: 0;
  z-index: 110;
  background-color: #fff;
  border-bottom: 1px solid #eee;
}
.schedule-header .button__counter {
  background-color: #fff;
}
.schedule-header .icon-arrow {
  background-color: #fff;
  border: 1px solid #e3e3e3;
}
.schedule-header .hidden-columns {
  min-width: 221px;
}
.schedule-header .burger-menu {
  display: none;
}
.schedule-header .date-info .burger-menu {
  display: flex;
  align-items: center;
  justify-content: center;
}
.schedule-header .cancellations,
.schedule-header .add-worker {
  display: flex;
  align-items: center;
  justify-content: center;
}
.schedule-header .icon-square.medium {
  width: 36px;
  height: 36px;
  padding: 0.5rem;
}
.schedule-header .icon-square.small {
  width: 32px;
  height: 32px;
  padding: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.schedule-header .button__border {
  width: fit-content;
  height: 32px;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  line-height: 1.15;
}
.schedule-header .icon-square-dropdown.medium {
  width: fit-content;
  height: 36px;
  padding: 0.5rem;
  gap: 0.25rem;
}
.schedule-header .icon-square-dropdown.two-icons.medium {
  height: 36px;
  padding: 0.5rem;
  gap: 0.25rem;
}
.schedule-header .button__switch.medium {
  width: fit-content;
  height: 36px;
  padding: 0.5rem;
}
.schedule-header .button__switch.medium span {
  white-space: nowrap;
}
.schedule-header .button__counter.medium {
  height: 36px;
  padding: 0.5rem;
  gap: 6px;
}
.schedule-header .button__counter.medium .icon-btn {
  height: 16px;
}
.schedule-header .button__counter.medium .number {
  padding: 0 4px;
}

.date-switch {
  width: fit-content;
}
.date-switch .buttons-box {
  width: fit-content;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 0.5rem;
}

.date-info {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 1.25rem;
}

.date-text {
  font-size: 0.875rem;
  color: #505050;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.date-text .date-text-arrow {
  display: none;
}

.schedule-info {
  display: flex;
  justify-content: right;
  align-items: center;
  gap: 0.5rem;
}

.time-line {
  display: flex;
  align-items: center;
  justify-content: left;
  position: absolute;
  z-index: 100;
  left: 8px;
  pointer-events: none;
  width: 100%;
  overflow: visible;
}
.time-line .time {
  width: fit-content;
  height: fit-content;
  padding: 4px 8px;
  border-radius: 90px;
  background-color: rgba(28, 28, 28, 0.65);
  font-size: 0.75rem;
  color: #fff;
}
.time-line .line {
  height: 1px;
  pointer-events: none;
  background-color: #1c1c1c;
  width: 100%;
  position: relative;
}

.no-schedule {
  width: fit-content;
  height: 100vh;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.no-schedule .title {
  width: fit-content;
  margin-bottom: 0.5rem;
  font-size: 2rem;
  color: #555555;
  text-align: center;
}
.no-schedule .text {
  width: fit-content;
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.25rem;
  color: #aaaaaa;
  text-align: center;
}
.no-schedule .button__text {
  height: 3.25rem;
  padding: 1rem 1.5rem;
  font-size: 1rem;
}

@media (max-width: 1000px) {
  .grid-column.time {
    width: 68px;
    padding: 0 0.5rem;
  }
  .grid-column.time .icon-box {
    width: 44px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 768px) {
  .worker-info {
    z-index: 20;
  }
  .grid-column.time {
    width: 60px;
    padding: 0 0.25rem;
  }
  .grid-column.time.left {
    z-index: 30;
  }
  .grid-column.time.right {
    z-index: 30;
  }
  .grid-column.time .hours {
    z-index: 100;
  }
  .grid-column.time .hour {
    font-size: 0.875rem;
  }
  .grid-column.time .hour span {
    font-size: 10px;
  }
  .time-line {
    z-index: 40;
  }
  .schedule-header {
    height: fit-content;
    padding: 0.75rem;
  }
  .schedule-header .date-info {
    gap: 0.75rem;
  }
  .schedule-header .hidden-columns {
    display: none;
  }
  .schedule-header .button__counter {
    display: none;
  }
  .schedule-header .messages {
    display: none;
  }
  .schedule-header .burger-menu {
    display: block;
  }
  .date-text {
    font-size: 1rem;
  }
}
@media (max-width: 480px) {
  .schedule-header {
    padding: 0.5rem;
    gap: 0;
  }
  .schedule-header .date-info {
    gap: 0.3rem;
    width: fit-content;
  }
  .schedule-header .date-info .date-text {
    font-size: 0.85rem;
  }
  .schedule {
    padding: 0;
  }
  .date-switch {
    width: fit-content;
    height: fit-content;
    padding: 0.25rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    display: none;
    position: absolute;
    top: 52px;
    left: 40px;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 0.5rem;
  }
  .date-switch.active {
    display: flex;
  }
  .date-switch .calendar {
    width: 220px;
  }
  .date-switch .calendar .month-year {
    font-size: 0.875rem;
  }
  .date-switch .calendar .calendar-header-row {
    margin-bottom: 0.5rem;
    grid-template-columns: repeat(7, 28px);
    gap: 0.25rem;
  }
  .date-switch .calendar .calendar-header-cell {
    width: 28px;
    padding: 3px;
    font-size: 0.875rem;
  }
  .date-switch .calendar .dates {
    grid-template-columns: repeat(7, 28px);
    gap: 0.25rem;
  }
  .date-switch .calendar .calendar-date {
    width: 28px;
    height: 26px;
    padding: 4px;
    border: 2px solid transparent;
    font-size: 0.75rem;
    line-height: 1.25;
  }
  .date-text {
    font-size: 0.875rem;
    display: flex;
    gap: 4px;
    align-items: center;
  }
  .date-text .date-text-arrow {
    display: inline-block;
    height: 16px;
    overflow: visible;
  }
  .date-text .date-text-arrow .icon.transform {
    transform: rotate(180deg);
  }
  .grid-column.time {
    width: fit-content;
    margin-top: 112px;
    padding: 0 0.25rem;
    grid-template-columns: 42px;
  }
  .grid-column.time.right {
    display: none;
  }
  .grid-column.time.left {
    margin-top: 0;
    z-index: 30;
  }
  .grid-column.time.left .hours {
    top: 56px;
  }
  .grid-column.time .hours {
    grid-template-columns: 36px;
  }
  .grid-column.time .icon-box {
    width: 36px;
    display: none;
  }
  .grid-column.time .icon-box .icon.large {
    width: 20px;
    min-width: 20px;
    height: 20px;
  }
  .grid-column.time .hour {
    font-size: 0.75rem;
  }
  .grid-column.time .hour span {
    font-size: 10px;
  }
  .icon-box.prev-columns {
    display: none;
  }
  .schedule-arrow-right-container {
    display: none;
  }
  .worker {
    min-width: 70px;
    padding: 2px;
    gap: 0;
  }
  .worker-info {
    height: 60px;
    padding: 0.5rem 0.25rem;
    font-size: 0.75rem;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    z-index: 20;
    justify-content: space-between;
  }
  .worker-info .worker-details {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    flex: 1;
    overflow: hidden;
  }
  .worker-info .worker-avatar {
    width: 30px;
    min-width: 30px;
    height: 30px;
    min-height: 30px;
  }
  .worker-info .worker-job {
    width: 100%;
    font-size: 0.5rem;
    line-height: 1.5;
    vertical-align: text-top;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-wrap: wrap;
  }
  .workers-schedule {
    gap: 2px;
  }
  .time-line {
    z-index: 40;
  }
}
.visit-tags {
  width: fit-content;
  max-width: 420px;
  height: fit-content;
  padding: 1rem;
  position: absolute;
  z-index: 1500;
  right: 0px;
  opacity: 100%;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 0.5rem;
  font-size: 0.75rem;
  border: 1px solid rgba(80, 80, 80, 0.3);
  color: #505050;
  background-color: #fff;
}
.visit-tags .visit-small-menu {
  width: 100%;
  height: fit-content;
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 0.25rem;
}
.visit-tags .status-tabs {
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: left;
  gap: 2px;
  background-color: #f8f8f8;
  border-radius: 0.5rem;
}
.visit-tags .short-visit-info {
  width: 100%;
  min-width: 172px;
  max-width: 400px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 2px;
}
.visit-tags .short-visit-info .visit-info__item {
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.25rem;
  width: 100%;
}
.visit-tags .short-visit-info .visit-info__item .phone-container {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.25rem;
  white-space: nowrap;
}
.visit-tags .short-visit-info .visit-info__item .phone-container span {
  font-size: 0.875rem;
  color: #505050;
  overflow-wrap: break-word;
  word-break: break-word;
}
.visit-tags .short-visit-info .visit-info__item .label {
  flex-shrink: 0;
  color: #2788F2;
  width: 100px;
  display: inline-block;
}
.visit-tags .short-visit-info .visit-info__item span.value {
  flex: 1;
  overflow-wrap: break-word;
  word-break: break-word;
}
.visit-tags .short-visit-info .visit-info__comment {
  display: block;
  width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}
.visit-tags .short-visit-info .visit-info__comment .label {
  width: 100px;
  display: inline-block;
  vertical-align: top;
}
.visit-tags .short-visit-info .visit-info__comment .comment-text {
  font-size: 0.875rem;
  color: #505050;
  display: inline;
  overflow-wrap: break-word;
  word-break: break-word;
}

.cancellations.icon-square {
  position: relative;
}
.cancellations.icon-square .cancellations__visits-counter {
  width: fit-content;
  min-width: 16px;
  height: 16px;
  padding: 2px;
  border-radius: 50px;
  background-color: #E43535;
  font-size: 10px;
  color: #fff;
  text-align: center;
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.column.cancellations {
  overflow-x: hidden;
  z-index: 101;
}

.cancellations-header {
  width: 260px;
  height: 52px;
  padding: 0 10px;
  border-bottom: 1px solid rgba(80, 80, 80, 0.1);
  background-color: #fff;
  display: flex;
  align-items: center;
  gap: 5px;
  position: fixed;
  z-index: 1;
  overflow: hidden;
}
.cancellations-header .button__chip.cancellations {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 8px 10px;
  border-radius: 40px;
  font-size: 13px;
  cursor: pointer;
  border: none;
  text-align: center;
}
.cancellations-header .button__chip.cancellations:focus {
  outline: none;
}
.cancellations-header .button__chip.cancellations.default {
  background-color: #eee;
  color: #AFAFAF;
}
.cancellations-header .button__chip.cancellations.default .cancellations__counter {
  background-color: #c6c6c6;
  color: #fff;
}
.cancellations-header .button__chip.cancellations.select {
  background-color: #2788F2;
  color: #fff;
}
.cancellations-header .button__chip.cancellations.select .icon {
  display: none;
}
.cancellations-header .button__chip.cancellations.select .cancellations__counter {
  background-color: #fff;
  color: #2788F2;
}
.cancellations-header .button__chip.cancellations .cancellations__counter {
  width: fit-content;
  min-width: 16px;
  height: 16px;
  padding: 2px;
  border-radius: 50px;
  font-size: 10px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cancellations-close {
  display: block;
  right: 8px;
  top: 8px;
}

.cancellations-main {
  width: 260px;
  height: calc(100vh - 52px);
  overflow-y: auto;
  padding: 0.75rem 1.25rem;
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  gap: 0.25rem;
}

@media (max-width: 768px) {
  .cancellations-header {
    padding: 20px 44px 20px 16px;
    width: 100%;
    gap: 16px;
  }
  .cancellations-header .button__chip.cancellations {
    padding: 10px 14px;
    font-size: 14px;
    max-width: none;
  }
  .cancellations-header .button__chip.cancellations .cancellations__counter {
    min-width: 18px;
    height: 18px;
    font-size: 11px;
    padding: 3px;
  }
  .cancellations-main {
    width: 100%;
    height: calc(100vh - 52px - 5rem);
  }
  .cancellations.icon-square .cancellations__visits-counter {
    min-width: 14px;
    height: 14px;
    font-size: 9px;
  }
}
.popup {
  position: fixed;
  z-index: 120;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
}

.popup-content {
  width: 400px;
  min-width: fit-content;
  max-width: 100vw;
  height: fit-content;
  background-color: white;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
}

.popup__title {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.popup__form {
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 1rem;
}
.popup__form .input-group {
  width: 100%;
  height: fit-content;
  font-size: 0.75rem;
}
.popup__form .input-group label {
  display: block;
  margin-bottom: 0.5rem;
}
.popup__form .input-group .input {
  font-size: 0.75rem;
}

.side-peek-container {
  width: 100vw;
  max-width: 100%;
  height: 100vh;
  max-height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200 !important;
}

#side-peek-container {
  width: 100vw;
  max-width: 100%;
  height: 100vh;
  max-height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200 !important;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Основная карточка клиента */
.client-card.side-peek {
  width: 462px;
  height: 100%;
  padding: 0.75rem 1.25rem 0;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.5rem;
  position: relative;
}
.client-card.side-peek .card-header {
  width: 100%;
  padding-bottom: 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
}
.client-card.side-peek .card-header .comment {
  margin-top: 0.5rem;
}
.client-card.side-peek .header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.client-card.side-peek .header .button-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}
.client-card.side-peek .button__text {
  width: 100%;
  padding: 0.25rem 0.5rem;
}
.client-card.side-peek .status-tabs {
  width: 100%;
  border-radius: 0.5rem;
  background-color: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  user-select: none;
}
.client-card.side-peek .client-statistic {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 2px;
}
.client-card.side-peek .client-statistic .title {
  width: 100%;
  margin-bottom: 0;
}
.client-card.side-peek .client-statistic .title .info-title {
  font-size: 0.875rem;
  margin-bottom: 0;
}
.client-card.side-peek .client-statistic .visits-statistic {
  width: 100%;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.client-card.side-peek .client-statistic .visits-count {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.25rem;
}
.client-card.side-peek .client-statistic .visits-count .count-tag.green {
  color: #1D942B;
}
.client-card.side-peek .client-statistic .visits-count .count-tag.green .icon i::before {
  background-color: #1D942B;
}
.client-card.side-peek .client-statistic .visits-count .count-tag.yellow {
  color: #B29C01;
}
.client-card.side-peek .client-statistic .visits-count .count-tag.yellow .icon i::before {
  background-color: #B29C01;
}
.client-card.side-peek .client-statistic .visits-count .count-tag.red {
  color: #A31C0F;
}
.client-card.side-peek .client-statistic .visits-count .count-tag.red .icon i::before {
  background-color: #A31C0F;
}
.client-card.side-peek .client-statistic .payments-amount {
  width: 100%;
}
.client-card.side-peek .client-statistic .client-comment {
  width: 100%;
  margin-top: 0.5rem;
  font-size: 0.875rem;
}
.client-card.side-peek .client-statistic .client-comment span:first-child {
  color: #505050;
}
.client-card.side-peek .client-statistic .client-comment span:nth-child(2) {
  word-break: break-all;
}
.client-card.side-peek .client-statistic .consecutive-visits {
  color: rgba(80, 80, 80, 0.5);
  font-size: 0.75rem;
}
.client-card.side-peek {
  /* Поле комментария к визиту */
}
.client-card.side-peek .side-peek__comment-box_visit {
  width: 100%;
  padding: 0.5rem 0;
}
.client-card.side-peek .side-peek__comment-box_visit .input {
  display: none;
  border: 1px solid #2788F2;
  padding: 0.5rem;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 0.5rem;
  background-color: #f8f8f8;
}
.client-card.side-peek .side-peek__comment-box_visit.active .input {
  display: block;
}
.client-card.side-peek .side-peek__comment-box_visit .comment {
  background-color: transparent;
  margin: 0 2px;
}
.client-card.side-peek {
  /* Поле комментария к клиенту */
}
.client-card.side-peek .side-peek__comment-box_client {
  width: 100%;
  display: none;
}
.client-card.side-peek .side-peek__comment-box_client.active {
  display: block;
}
.client-card.side-peek .side-peek__comment-box_client .input {
  margin-bottom: 0.5rem;
  border: 1px solid #2788F2;
  width: 100%;
  padding: 0.5rem;
  box-sizing: border-box;
  background-color: #f8f8f8;
}
.client-card.side-peek .side-peek__comment-box_client .input.comment-client {
  background-color: #fff;
}
.client-card.side-peek {
  /* Общие стили для комментариев */
}
.client-card.side-peek .comment {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  color: #2788F2;
  font-size: 0.875rem;
  background-color: #fff;
}
.client-card.side-peek .comment .icon i::before {
  background-color: #2788F2;
}
.client-card.side-peek .info-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  font-size: 1.25rem;
  line-height: 1.5rem;
  margin-bottom: 0.75rem;
  color: #393939;
}
.client-card.side-peek .info-title .icon i::before {
  background-color: #393939;
}
.client-card.side-peek .card-body {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 2rem;
}
.client-card.side-peek .card-body .client-container, .client-card.side-peek .card-body .employee-container, .client-card.side-peek .card-body .services-container {
  width: 100%;
  padding-bottom: 0;
  gap: 0;
}
.client-card.side-peek .card-body .summary {
  width: 100%;
}
.client-card.side-peek .card-body .summary .record-summary {
  width: 100%;
  gap: 0.5rem;
}
.client-card.side-peek .card-body .client {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  background-color: #f8f8f8;
  position: relative;
}
.client-card.side-peek .card-body .client .client-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.client-card.side-peek .card-body .client .client-info .client-id {
  display: flex;
  align-items: center;
  color: #aaaaaa;
  font-size: 14px;
  line-height: 1.5;
}
.client-card.side-peek .card-body .client .client-info .client-id .client-comment {
  font-size: 14px;
  color: #aaaaaa;
  margin-right: 0.25rem;
  word-break: break-all;
  cursor: pointer;
}
.client-card.side-peek .card-body .client .client-info .client-id .edit-client-comment {
  width: 18px;
  height: 17px;
  padding: 0;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.client-card.side-peek .card-body .client .client-info .client-id .edit-client-comment .icon {
  width: 16px;
  height: 16px;
}
.client-card.side-peek .card-body .client .client-info .client-id .edit-client-comment .icon i::before {
  background-color: #8e8e8e;
}
.client-card.side-peek .card-body .client .client-info .client-id .edit-client-comment:hover .icon i::before {
  background-color: #2788F2; /* Цвет иконки при наведении */
}
.client-card.side-peek .card-body .client .client-avatar {
  width: 32px;
  min-width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
}
.client-card.side-peek .card-body .client .client-avatar img {
  width: 100%;
}
.client-card.side-peek .card-body .client .client-name {
  margin-bottom: 2px;
  font-size: 0.875rem;
  line-height: 1.15;
  color: #393939;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.25rem;
}
.client-card.side-peek .card-body .client .icon.arrow {
  position: absolute;
  top: calc(50% - 10px);
  right: 12px;
}
.client-card.side-peek .card-body .client .icon i::before {
  background-color: #c6c6c6;
}
.client-card.side-peek .card-body .client-contacts {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
}
.client-card.side-peek .card-body .client-contacts .client-phone {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 0.75rem 0.75rem 1rem;
  background-color: #f8f8f8 !important;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #393939;
  font-size: 0.875rem;
}
.client-card.side-peek .card-body .client-contacts .client-phone span.masked {
  color: #aaaaaa;
}
.client-card.side-peek .card-body .client-contacts .client-phone .icon-btn {
  padding: 0;
  background: none;
  border: none;
}
.client-card.side-peek .card-body .client-contacts .client-phone .icon-btn .icon {
  width: 24px;
  height: 24px;
}
.client-card.side-peek .card-body .client-contacts .client-phone .icon-btn .icon i::before {
  background-color: #c6c6c6;
}
.client-card.side-peek .card-body .client-contacts .client-phone .icon-btn#client-show-phone:focus, .client-card.side-peek .card-body .client-contacts .client-phone .icon-btn#client-show-phone:focus-visible {
  outline: none;
}
.client-card.side-peek .card-body .client-contacts .client-phone .icon-btn#client-show-phone .icon i.icon-ab-eye-open-visible.icon-color-grey::before {
  background-color: #c6c6c6 !important;
}
.client-card.side-peek .card-body .client-contacts .client-phone .icon-btn#client-show-phone .icon i.icon-ab-eye-close-invisible.icon-color-grey::before {
  background-color: #c6c6c6 !important;
}
.client-card.side-peek .card-body .client-contacts .icon-square.ig {
  background-color: rgba(215, 187, 247, 0.25);
  padding: 0.75rem;
  flex-shrink: 0;
}
.client-card.side-peek .card-body .client-contacts .icon-square.ig .icon i::before {
  background: linear-gradient(to top, rgb(224, 155, 61), rgb(199, 76, 77), rgb(194, 25, 117), #7024c4);
}
.client-card.side-peek .card-body .client-contacts .icon-square.ig:disabled, .client-card.side-peek .card-body .client-contacts .icon-square.ig.disabled {
  background-color: #eee;
}
.client-card.side-peek .card-body .client-contacts .icon-square.ig:disabled .icon i::before, .client-card.side-peek .card-body .client-contacts .icon-square.ig.disabled .icon i::before {
  background: rgba(80, 80, 80, 0.3);
}
.client-card.side-peek .card-body .client-contacts .icon-square.wa {
  background-color: #EAFBEC;
  padding: 0.5rem;
  flex-shrink: 0;
}
.client-card.side-peek .card-body .client-contacts .icon-square.wa .icon i::before {
  background-color: #42D751;
}
.client-card.side-peek .card-body .client-contacts .icon-square.wa:disabled, .client-card.side-peek .card-body .client-contacts .icon-square.wa.disabled {
  background-color: #eee;
}
.client-card.side-peek .card-body .client-contacts .icon-square.wa:disabled .icon i::before, .client-card.side-peek .card-body .client-contacts .icon-square.wa.disabled .icon i::before {
  background-color: rgba(80, 80, 80, 0.3);
}
.client-card.side-peek .card-body .employee {
  width: 100%;
  padding: 1rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  background-color: #f8f8f8;
  border-radius: 0.5rem;
}
.client-card.side-peek .card-body .employee .employee-avatar {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  overflow: hidden;
}
.client-card.side-peek .card-body .employee .employee-avatar img {
  width: 100%;
}
.client-card.side-peek .card-body .employee .employee-name {
  margin-bottom: 0.25rem;
  font-size: 1rem;
  color: #393939;
  line-height: 1.25rem;
}
.client-card.side-peek .card-body .employee .employee-job {
  font-size: 0.875rem;
  line-height: 16.1px;
  color: #aaaaaa;
}
.client-card.side-peek .card-body .employee .icon {
  position: absolute;
  top: 26px;
  right: 16px;
}
.client-card.side-peek .card-body .employee .icon i::before {
  background-color: #c6c6c6;
}
.client-card.side-peek .card-body .services {
  width: 100%;
  max-width: 402px;
  margin-left: 0.75rem;
  padding-left: 1.25rem;
  border-left: 1px solid #eee;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.75rem;
}
.client-card.side-peek .card-body .services .service-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}
.client-card.side-peek .card-body .services .service-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
}
.client-card.side-peek .card-body .services .service-info {
  width: 100%;
  padding: 0.75rem 0.75rem 0.75rem 1rem;
  border-radius: 0.5rem;
  background-color: #f8f8f8;
}
.client-card.side-peek .card-body .services .service-name {
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  line-height: 16.1px;
  color: #393939;
}
.client-card.side-peek .card-body .services .service-price {
  font-size: 0.875rem;
  line-height: 16.1px;
  color: #aaaaaa;
}
.client-card.side-peek .card-body .services .service-quantity {
  width: 80px;
  height: 60px;
  padding: 22px 1rem;
  background-color: #f8f8f8;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  line-height: 16.1px;
  color: #393939;
  text-align: center;
}
.client-card.side-peek .card-footer {
  width: 462px;
  height: 92px;
  padding: 0.75rem 1.25rem;
  margin-left: -1.25rem;
  border-top: 1px solid #eee;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.08);
  background-color: #fff;
  position: sticky;
  bottom: 0;
  right: 0;
}
.client-card.side-peek .card-footer .visit-results {
  width: 100%;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.client-card.side-peek .card-footer .visit-results .text {
  width: 100%;
  display: block;
  font-size: 1rem;
  line-height: 1.25rem;
  color: #aaaaaa;
}
.client-card.side-peek .card-footer .visit-results .results {
  width: 100%;
  text-align: right;
  color: #393939;
  font-size: 1rem;
  line-height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}
.client-card.side-peek .card-footer .button__text {
  padding: 0.5rem 0.75rem;
}
.client-card.side-peek .card-footer .button__text.reschedule {
  margin-bottom: 0.5rem;
}

/* Контент вкладок */
.sidepeek-tab-content {
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.5rem;
  position: relative;
}
.sidepeek-tab-content.active {
  display: flex;
}
.sidepeek-tab-content .small-chat .messages-section__body.small-chat-sidepeek {
  height: calc(100vh - 106px - 139px - 68px);
}

.sidepeek-menu {
  width: 100%;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}
.sidepeek-menu .sidepeek-tab {
  user-select: none;
  cursor: pointer;
}
.sidepeek-menu .sidepeek-tab:disabled, .sidepeek-menu .sidepeek-tab.disabled {
  pointer-events: none;
  color: #aaaaaa;
  background-color: #eee;
}

@media (max-width: 480px) {
  .client-card.side-peek {
    width: 100vw;
  }
  .client-card.side-peek .client-contacts {
    flex-wrap: wrap;
  }
}
.visit-full {
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: 3100;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}
.visit-full.no-display {
  display: none !important;
}
.visit-full .burger-menu {
  display: none;
}
.visit-full .visit-menu-close {
  display: none !important;
}
.visit-full .summary {
  width: 100%;
}
.visit-full .comment-box {
  margin-top: 1rem;
  position: relative;
}
.visit-full .comment-box .search-results {
  width: 100%;
  height: fit-content;
  max-height: 368px;
  margin-top: 0.25rem;
  overflow-y: auto;
  border: 1px solid #eee;
  border-radius: 0.5rem;
  box-shadow: 2px 4px 10px rgba(80, 80, 80, 0.1);
  position: absolute;
  z-index: 3;
}
.visit-full .comment-box .search-results .tags-li {
  height: fit-content;
  padding: 0.5rem;
  font-size: 0.875rem;
  background-color: #fff;
  border-bottom: 1px solid #eee;
}
.visit-full .comment-box .search-results .tags-li:hover {
  background-color: #f8f8f8;
  cursor: pointer;
}
.visit-full .comment {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 0.5rem;
  color: #2788F2;
  font-size: 0.875rem;
  background-color: #fff;
}
.visit-full .comment .icon i::before {
  background-color: #2788F2;
}
.visit-full .comment.source-of-appointment {
  margin-top: 1rem;
}
.visit-full .comment.source-of-appointment span {
  width: 30%;
}
.visit-full .comment.source-of-appointment .input {
  padding: 0.5rem;
  font-size: 0.875rem;
}
.visit-full .container {
  width: 100%;
  height: 100vh;
  max-width: 1400px;
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  flex-direction: column;
  align-items: start;
  justify-content: start;
}
.visit-full .container .close {
  position: absolute;
  top: 8px;
  right: -52px;
  cursor: pointer;
}
.visit-full .container .main-content {
  flex-grow: 1;
  overflow-y: auto;
  width: 100%;
  padding-bottom: 120px;
}
.visit-full .container .main-content .visit {
  flex-grow: 1;
  background-color: #fff;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 2.5rem;
  overflow: visible !important;
}

.main-content.visit-column {
  overflow-y: auto;
}

.tab-content {
  display: none;
}
.tab-content.active {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  min-height: 0;
}

.input-search-box {
  width: 100%;
}

.input-container {
  width: 100%;
  height: fit-content;
  position: relative;
}
.input-container .icon-btn {
  position: absolute;
  top: calc(50% - 10px);
  right: 12px;
}
.input-container .icon-btn .icon i::before {
  background-color: #c6c6c6;
}

.technological-map {
  max-width: 220px;
}

.container-visit {
  width: 100%;
  height: calc(100vh - 151px);
  display: flex;
  align-items: start;
  justify-content: start;
}

.visit-header {
  width: 100%;
  height: fit-content;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
}
.visit-header .status-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background-color: #f8f8f8;
  border-radius: 0.5rem;
}
.visit-header .buttons-box {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 1rem;
}
.visit-header .button__switch {
  width: fit-content;
  min-width: 150px;
  gap: 0.75rem;
  background-color: #fff;
}
.visit-header .button__switch .icon i::before {
  background-color: #505050;
}
.visit-header .button__switch span {
  display: inline-block;
  white-space: nowrap;
  text-align: right;
}

.visit-column {
  width: 100%;
}
.visit-column .icon-square {
  background-color: #f8f8f8;
}
.visit-column .comment {
  margin-top: 0.5rem;
}
.visit-column .comment span {
  word-break: break-all;
}
.visit-column .title {
  width: 100%;
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.visit-column .title .info-title {
  display: inline-block;
  font-size: 1.25rem;
  line-height: 1.5rem;
  color: #393939;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 0.5rem;
}
.visit-column .title .info-title .icon i::before {
  background-color: #393939;
}
.visit-column .client-container, .visit-column .services-container, .visit-column .employee-container, .visit-column .time-container {
  width: 100%;
}
.visit-column .employee-container {
  padding-bottom: 0;
}
.visit-column .client-container .title {
  position: relative;
}
.visit-column .client-container .title .visit-connect {
  position: absolute;
  bottom: 6px;
  left: 86px;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.25rem;
}
.visit-column .client-container .title .visit-connect .icon i::before {
  background-color: #2788F2;
}
.visit-column .client-container .title .visit-connect .visit-connect-number {
  color: #2788F2;
}
.visit-column .search-results {
  width: 100%;
  height: fit-content;
  max-height: 368px;
  margin-top: 0.25rem;
  overflow-y: auto;
  border: 1px solid #eee;
  border-radius: 0.5rem;
  box-shadow: 2px 4px 10px rgba(80, 80, 80, 0.1);
  position: absolute;
  z-index: 3;
}
.visit-column .search-result {
  width: 100%;
  height: fit-content;
  padding: 0.75rem 1.25rem 0.75rem 1rem;
  font-size: 0.875rem;
  background-color: #fff;
  border-bottom: 1px solid #eee;
}
.visit-column .search-result:hover {
  background-color: #f8f8f8;
  cursor: pointer;
}
.visit-column .no-search-results {
  width: 100%;
  height: fit-content;
  padding: 0.75rem 1.25rem 0.75rem 1rem;
  font-size: 0.875rem;
  background-color: #fff;
  border-bottom: 1px solid #eee;
}
.visit-column .client-search-result {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 1rem;
}
.visit-column .client-search-result .client-info {
  height: fit-content;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 0.5rem;
}
.visit-column .client-search-result .client-info .client-name {
  height: fit-content;
}
.visit-column .client-search-result .client-info .client-id {
  height: fit-content;
  font-size: 0.75rem;
  color: #c6c6c6;
}
.visit-column .client-search-result .client-phone {
  color: #aaaaaa;
}
.visit-column .service-name {
  margin-bottom: 2px;
}
.visit-column .employee-search-result {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 1rem;
}
.visit-column .employee-search-result.available {
  background-color: #EAFBEC;
}
.visit-column .avatar {
  width: 36px;
  min-width: 36px;
  max-width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
}
.visit-column .avatar img {
  width: 100%;
}
.visit-column .input {
  background-color: #f8f8f8;
}
.visit-column .client-input-div {
  padding-right: 2.25rem;
  background-color: #f8f8f8;
  position: relative;
}
.visit-column .client {
  width: 100%;
  height: fit-content;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 1rem;
}
.visit-column .client .client-info {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 0.25rem;
  font-size: 0.875rem;
  line-height: 115%;
}
.visit-column .client .client-info .client-name {
  color: #393939;
}
.visit-column .client .client-info .client-id {
  text-transform: uppercase;
  color: #aaaaaa;
}
.visit-column .client .client-info .client-id .client-comment {
  white-space: wrap;
  text-transform: none;
}
.visit-column .client .client-info .client-id .icon-btn.edit-client-comment {
  position: static;
}
.visit-column .client .client-info .client-id .icon-btn.edit-client-comment .icon {
  position: static;
  margin-bottom: -3px;
  margin-left: 2px;
}
.visit-column .client .client-info .client-id .icon-btn.edit-client-comment .icon i::before {
  background-color: #8e8e8e;
}
.visit-column .client-contacts {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 0.5rem;
}
.visit-column .client-contacts .client-phone, .visit-column .client-contacts .client-email {
  width: 100%;
  height: fit-content;
  padding: 0.75rem 0.75rem 0.75rem 1rem;
  background-color: #f8f8f8;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #393939;
  font-size: 0.875rem;
  line-height: 115%;
}
.visit-column .client-contacts .client-phone .icon i::before, .visit-column .client-contacts .client-email .icon i::before {
  background-color: #aaaaaa;
}
.visit-column .client-contacts .icon-square.ig {
  background-color: rgba(215, 187, 247, 0.25);
  padding: 0.75rem;
}
.visit-column .client-contacts .icon-square.ig .icon i::before {
  background: linear-gradient(to top, rgb(224, 155, 61), rgb(199, 76, 77), rgb(194, 25, 117), #7024c4);
}
.visit-column .client-contacts .icon-square.ig:disabled, .visit-column .client-contacts .icon-square.ig.disabled {
  background-color: #eee;
}
.visit-column .client-contacts .icon-square.ig:disabled .icon i::before, .visit-column .client-contacts .icon-square.ig.disabled .icon i::before {
  background: rgba(80, 80, 80, 0.3);
}
.visit-column .client-contacts .icon-square.wa {
  background-color: #EAFBEC;
  padding: 0.5rem;
}
.visit-column .client-contacts .icon-square.wa .icon i::before {
  background-color: #42D751;
}
.visit-column .client-contacts .icon-square.wa:disabled, .visit-column .client-contacts .icon-square.wa.disabled {
  background-color: #eee;
}
.visit-column .client-contacts .icon-square.wa:disabled .icon i::before, .visit-column .client-contacts .icon-square.wa.disabled .icon i::before {
  background-color: rgba(80, 80, 80, 0.3);
}
.visit-column .services-container .button__classic {
  width: 100%;
  max-width: 100%;
  margin-top: 1rem;
}
.visit-column .products .services-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  gap: 0.25rem;
}
.visit-column .services .services-item {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: start;
  gap: 0.25rem;
}
.visit-column .services, .visit-column .products {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 1rem;
}
.visit-column .services .item-box, .visit-column .products .item-box {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 0.5rem;
}
.visit-column .services .item-box .service-info, .visit-column .products .item-box .service-info {
  background-color: #f8f8f8;
}
.visit-column .services .item-box .service-price, .visit-column .products .item-box .service-price {
  color: #aaaaaa;
}
.visit-column .services-box {
  width: 100%;
}
.visit-column .services-box.hidden {
  display: none;
}
.visit-column .products-box {
  width: 100%;
  margin-top: 0.5rem;
}
.visit-column .products-box.hidden {
  display: none;
}
.visit-column .input-div {
  min-height: 44px;
  white-space: nowrap;
  overflow-x: auto;
}
.visit-column .employee-input-div {
  padding-right: 2.75rem;
}
.visit-column .employee-input-div .employee {
  width: 100%;
  height: fit-content;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 1rem;
}
.visit-column .employee-input-div .employee-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
}
.visit-column .employee-input-div .employee-avatar img {
  width: 100%;
}
.visit-column .employee-input-div .employee-info {
  line-height: 1.15;
}
.visit-column .employee-input-div .employee-name {
  margin-bottom: 0.25rem;
}
.visit-column .employee-input-div .employee-job {
  color: #aaaaaa;
}
.visit-column .date-time {
  width: 100%;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.5rem;
  position: relative;
}
.visit-column .date-time .input-date::-webkit-calendar-picker-indicator {
  opacity: 0;
  display: none;
}
.visit-column .date-time .calendar__absolute {
  position: absolute;
  top: -190px;
  box-shadow: 0 0 5px rgba(238, 238, 238, 0.1);
}
.visit-column .date-time .input-time-box {
  width: 100%;
  position: relative;
}
.visit-column .date-time .input-time-box .icon {
  position: absolute;
  z-index: 12;
  top: calc(50% - 10px);
  right: 12px;
  pointer-events: none;
}
.visit-column .date-time .input-time-box .icon i::before {
  background-color: #c6c6c6;
}
.visit-column .date-time .input-time-box .icon.active {
  transform: rotate(180deg);
}
.visit-column .date-time .input-time-box .icon.active i::before {
  background-color: #2788F2;
}
.visit-column .date-time .input-time {
  width: 100%;
  padding-right: 2.5rem;
}
.visit-column .date-time .input-time option {
  min-height: 40px;
  padding: 0.75rem 1.25rem 0.75rem 1rem;
  background-color: #fff;
  border-bottom: 1px solid #eee;
  font-size: 0.875rem;
  line-height: 250%;
}
.visit-column .date-time.hidden {
  display: none;
}
.visit-column .counter.button__counter {
  width: fit-content;
  background-color: #f8f8f8;
  border: 1px solid transparent;
  padding: 0.75rem 0.5rem;
  gap: 0.5rem;
}
.visit-column .counter.button__counter .input-number {
  width: 4ch;
  height: fit-content;
  padding: 0;
  color: black;
  display: inline-block;
  border: none;
  text-align: center;
  background-color: transparent;
}
.visit-column .counter.button__counter .input-number:focus, .visit-column .counter.button__counter .input-number:active {
  border: none;
  outline: none;
}
.visit-column #client-phone-input-div {
  position: relative;
}
.visit-column #show-phone-btn,
.visit-column #show-client-phone-btn {
  position: absolute;
  top: calc(50% - 22px);
  right: 0;
  background: none;
  border: none;
}
.visit-column #show-client-phone-btn {
  top: 1.25rem;
}

.visit-footer {
  width: 100%;
  height: fit-content;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #eee;
  background-color: #fff;
  z-index: 10;
}
.visit-footer .button__text {
  height: 2.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}
.visit-footer .buttons-container {
  display: flex;
  align-items: center;
  justify-content: right;
  gap: 0.5rem;
}
.visit-footer .buttons-container:first-child {
  justify-content: start;
}
.visit-footer .visit-id-field {
  width: fit-content;
  height: fit-content;
  font-size: 0.875rem;
  line-height: 1.15;
  color: rgba(80, 80, 80, 0.5);
}

.blacklist-label {
  width: fit-content;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.5rem;
}
.blacklist-label span {
  display: inline-block;
  color: #A31C0F;
  font-size: 0.75rem;
}
.blacklist-label .icon i::before {
  background-color: #A31C0F;
}

.creator-container {
  width: 100%;
  height: fit-content;
}
.creator-container .input {
  width: 100%;
}

.colors-container {
  width: 100%;
  height: fit-content;
  padding-bottom: 1.25rem;
}
.colors-container .input-group-checkbox {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.colors-container .input-group-checkbox label {
  display: inline-block;
}
.colors-container .color-field-box {
  width: 100%;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.colors-container .color-field-box label {
  display: inline-block;
}

.client-information .title {
  margin-top: 0.5rem;
  margin-bottom: 0;
}
.client-information .visits-statistic {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.client-information .visits-count {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 0.25rem;
}

.button.button__menu.menu-item.full.visit-tab.has-attachments .icon i.icon-ab-camera::before {
  background-color: #42D751;
}

@media (max-width: 1440px) {
  .visit-header {
    padding: 0.75rem 1rem;
  }
  .visit-header .status-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background-color: #f8f8f8;
    border-radius: 0.5rem;
  }
  .visit-header .status-tabs .button__text.medium {
    height: fit-content;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
  .visit-header .button__switch.medium {
    min-width: 136px;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
  .visit-header .button__switch.medium span {
    min-width: 74px;
  }
  .visit-header .button__switch.medium .icon.medium {
    width: 16px;
    min-width: 16px;
    height: 16px;
  }
  .visit-header .icon-square.medium {
    width: 32px;
    height: 32px;
    padding: 0.5rem;
  }
  .visit-header .icon-square.medium .icon.medium {
    width: 16px;
    min-width: 16px;
    height: 16px;
  }
  .visit-full {
    height: 100vh;
  }
  .visit-full .container {
    max-width: 1200px;
    height: 100vh;
  }
  .visit-full .container .main-content, .visit-full .container .main-content .visit, .visit-full .container .sidebar-visit {
    height: calc(100vh - 113px);
  }
  .visit-full .container .main-content.visit {
    gap: 1.5rem;
  }
  .visit-full .container .sidebar-visit .button.button__menu {
    max-width: none;
    height: fit-content;
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
  }
  .visit-full .container .sidebar-visit .button.button__menu::before {
    height: 100%;
  }
  .visit-full .container .sidebar-visit .button.button__menu .icon.large {
    width: 20px;
    min-width: 20px;
    height: 20px;
  }
  .visit-full .container .sidebar-visit .button.button__menu span {
    font-size: 0.75rem;
  }
  .visit-full .messages-section.small-chat .messages-section__body {
    height: calc(100vh - 282px);
  }
  .visit-full .visit-column .title {
    margin-bottom: 0.5rem;
  }
  .visit-full .visit-column .title .icon-square.medium {
    width: 32px;
    height: 32px;
    padding: 0.5rem;
  }
  .visit-full .visit-column .title .icon-square.medium .icon.medium {
    width: 16px;
    min-width: 16px;
    height: 16px;
  }
  .visit-full .visit-column .info-title {
    font-size: 1rem;
  }
  .visit-full .visit-column .comment.source-of-appointment span {
    width: 40%;
    word-break: normal;
    font-size: 0.75rem;
  }
  .visit-full .visit-column .date-time {
    flex-wrap: wrap;
  }
  .visit-full .visit-column .date-time .calendar-container, .visit-full .visit-column .date-time .input-time-box {
    flex-basis: calc((100% - 8px) / 2);
  }
  .visit-full .visit-column .date-time .calendar-container, .visit-full .visit-column .date-time .input-date-box {
    max-width: none;
    margin-bottom: 0;
  }
  .visit-full .visit-column .date-time .input-date-box .input-date {
    width: 100%;
  }
  .visit-full .employee-container {
    gap: 0;
  }
  .visit-full .input-group-checkbox label {
    font-size: 0.875rem;
  }
  .container-visit {
    height: calc(100vh - 113px);
  }
  .visit-footer {
    padding: 0.75rem 1rem;
  }
  .visit-footer .button__text {
    height: fit-content;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
  .tab-content.active {
    padding: 1rem;
  }
}
@media (max-width: 768px) {
  .visit-header {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .visit-header .button__switch {
    min-width: 120px;
  }
  #show-phone-btn,
  #show-client-phone-btn {
    top: calc(50% - 16px);
  }
  .status-tabs .button__text.medium.visit-status-tab {
    padding: 0.5rem 0.75rem;
  }
  .visit-column .client-contacts .icon-square.wa .icon, .visit-column .client-contacts .icon-square.ig .icon {
    width: 16px;
    min-width: 16px;
    height: 16px;
  }
  .visit-column .client-contacts .icon-square.ig {
    padding: 0.45rem;
  }
}
@media (max-width: 480px) {
  .visit-full {
    height: 100dvh;
  }
  .visit-full .burger-menu {
    display: inline-block;
  }
  .visit-full .visit-menu-close {
    position: absolute;
    top: 8px;
    left: 8px;
    display: inline-block !important;
  }
  .visit-full .container {
    height: 100dvh;
  }
  .visit-full .container .main-content, .visit-full .container .sidebar-visit {
    height: calc(100dvh - 135px - 56px);
  }
  .visit-full .container .sidebar-visit {
    overflow-y: auto;
  }
  .visit-full .messages-section.small-chat .messages-section__body {
    height: calc(100vh - 370px);
  }
  .icon-square.ig .icon.large,
  .icon-square.wa .icon.large {
    width: 16px;
    min-width: 16px;
    height: 16px;
  }
  .visit-column .date-time {
    flex-wrap: wrap;
  }
  .visit-column .date-time .calendar-container {
    width: 100%;
    max-width: 100%;
  }
  .visit-column .date-time .calendar-container .input-date-box {
    max-width: 100%;
  }
  .visit-column .date-time .calendar-container .input-date-box .input-date {
    width: 100%;
  }
  .visit-column .date-time .calendar-date {
    padding: 4px;
    line-height: 1.2;
  }
  .visit-header {
    padding: 0.75rem;
  }
  .visit-full .container .close {
    top: 0.75rem;
    right: 0.75rem;
    border: 1px solid #eee;
  }
  .visit-header .button__switch {
    min-width: 0;
    width: fit-content;
  }
  .visit-header .button__switch span {
    display: none;
  }
  .visit-full .container .main-content .visit {
    gap: 2rem;
  }
}
@media (max-width: 450px) {
  .status-tabs {
    margin: auto;
  }
  .status-tabs .button__text.medium.visit-status-tab {
    padding: 0.5rem;
  }
  .status-tabs .button__text.medium {
    padding: 0.5rem 0.5rem;
  }
}
@media (max-width: 420px) {
  .status-tabs .button__text.medium.visit-status-tab {
    font-size: 0.7rem;
  }
}
.payment-details {
  width: 100%;
}

.payment {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 1.5rem;
}
.payment .info-title {
  font-size: 1.25rem;
  line-height: 1.2;
  margin-bottom: 0;
}
.payment .status-tabs {
  width: fit-content;
  height: fit-content;
  padding: 0.5rem;
  border-radius: 0.5rem;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 0.5rem;
}
.payment .buttons-container {
  width: 100%;
  height: fit-content;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 0.5rem;
  padding: 0.5rem;
}
.payment .buttons-container .button {
  max-width: none;
  font-size: 1rem;
}
.payment .switch-block {
  width: 100%;
  height: fit-content;
  padding: 1rem;
  border-radius: 0.5rem;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 2rem;
  color: #505050;
  font-size: 0.875rem;
  line-height: 1.15;
}
.payment .client-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 1rem;
}
.payment .client {
  width: 100%;
  height: fit-content;
  padding: 1rem 0.75rem;
  margin-bottom: 0.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 0.75rem;
  background-color: #f8f8f8;
  position: relative;
}
.payment .client .client-info {
  width: 100%;
}
.payment .client .client-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
}
.payment .client .client-avatar img {
  width: 100%;
}
.payment .client .client-name {
  margin-bottom: 0.25rem;
  font-size: 1rem;
  line-height: 1.25rem;
  color: #393939;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 0.25rem;
}
.payment .client .client-id {
  color: #aaaaaa;
  font-size: 0.875rem;
  line-height: 16.1px;
}
.payment .client .icon.arrow {
  position: absolute;
  top: 26px;
  right: 12px;
}
.payment .client .icon i::before {
  background-color: #c6c6c6;
}
.payment .payments-details {
  font-size: 18px;
  font-weight: 500;
  background-color: #f8f8f8;
  padding: 1rem;
  border-radius: 0.5rem;
}
.payment .payments-details li {
  display: grid;
  margin-top: 0.5rem;
  grid-template-columns: 120px 200px;
}
.payment .visit-container {
  width: 100%;
}
.payment .visit-container .visit-id {
  padding: 0.25rem 0.4rem;
  background-color: #f8f8f8;
  border-radius: 0.5rem;
  margin-left: 0.5rem;
}
.payment .visit-container .timestamp-container {
  display: flex;
  gap: 2rem;
}
.payment .visit-container .timestamp-container .timestamp-item {
  font-size: 14px;
}
.payment .visit-container .timestamp-container .timestamp-item div {
  padding: 0.75rem 1rem;
  background-color: #f8f8f8;
  border-radius: 0.5rem;
}
.payment .visit-container .payments-list {
  list-style-type: none;
  width: 100%;
}
.payment .visit-container .payments-list a {
  padding: 0.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: end;
}
.payment .visit-container .purchased-products-list {
  list-style-type: none;
  width: 100%;
}
.payment .visit-container .purchased-products-list li {
  font-size: 14px;
  padding: 0.5rem;
  display: grid;
  grid-template-columns: 40px 2fr 1fr 1fr 1fr;
  align-items: center;
}

.payment-page {
  padding: 2rem;
  flex: 1;
  height: 100vh;
  max-height: 100%;
  overflow: scroll;
}

.paid-services {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 0;
  color: rgba(80, 80, 80, 0.3);
}
.paid-services__header {
  width: 100%;
  height: fit-content;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(80, 80, 80, 0.3);
}
.paid-services__header-cell {
  width: 100%;
  height: fit-content;
  padding-bottom: 0.5rem;
}
.paid-services__body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 0.5rem;
  color: #505050;
}
.paid-services__body-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.5rem;
}
.paid-services__body-row div {
  width: 100%;
  padding: 0.5rem 0;
}
.paid-services__footer {
  width: 100%;
  height: fit-content;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.5rem;
  border-top: 1px solid rgba(80, 80, 80, 0.3);
}
.paid-services__footer-cell {
  width: 100%;
}

.unpaid-services {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 0;
}
.unpaid-services__header, .unpaid-services__body-row, .unpaid-services__footer {
  width: 100%;
  height: fit-content;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  display: grid;
  grid-template-columns: 5fr 2fr 2fr 2fr 2fr 1fr;
  gap: 0.5rem;
}
.unpaid-services__header {
  border-bottom: 1px solid #eee;
}
.unpaid-services__footer {
  border-top: 1px solid #eee;
}
.unpaid-services__header-cell, .unpaid-services__footer-cell {
  padding: 0 0.25rem;
}

.tab-content.client-information {
  gap: 1rem;
}

.visit-item {
  width: 100%;
  height: fit-content;
  margin-bottom: 2.5rem;
  border-top: 1px solid rgba(80, 80, 80, 0.3);
  font-size: 0.875rem;
  color: #505050;
}
.visit-item .visit-item-header {
  width: 100%;
  height: fit-content;
  padding: 1rem 0;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 2rem;
}
.visit-item .visit-date-time {
  width: fit-content;
  height: fit-content;
}
.visit-item .visit-date {
  width: 100%;
  margin-bottom: 0.5rem;
  color: rgba(80, 80, 80, 0.3);
}
.visit-item .visit-time {
  width: 100%;
  color: rgba(80, 80, 80, 0.3);
}
.visit-item .visit-table {
  width: 100%;
  display: flex;
  align-items: start;
  justify-content: left;
  gap: 1.5rem;
}
.visit-item .visit-info-column {
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 1rem;
}
.visit-item .visit-info-column .status-tag {
  max-width: 130px;
}
.visit-item .visit-info-column:nth-child(1) {
  max-width: 270px;
}
.visit-item .visit-info-column:nth-child(2) {
  max-width: 120px;
}
.visit-item .visit-info-column .employee {
  width: 100%;
  height: fit-content;
  padding: 0.5rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 1rem;
  background-color: #f8f8f8;
  border-radius: 0.5rem;
}
.visit-item .visit-info-column .employee .employee-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
}
.visit-item .visit-info-column .employee .employee-avatar img {
  width: 100%;
}
.visit-item .visit-info-column .employee .employee-name {
  margin-bottom: 2px;
  color: #505050;
  line-height: 1.15;
}
.visit-item .visit-info-column .employee .employee-job {
  font-size: 0.875rem;
  line-height: 1.15;
  color: rgba(80, 80, 80, 0.3);
}
.visit-item .visit-info-column .employee .icon {
  position: absolute;
  top: calc(50% - 12px);
  right: 8px;
}
.visit-item .visit-info-column .employee .icon i::before {
  background-color: rgba(80, 80, 80, 0.3);
}
.visit-item .visit-info-column .visit-comment p:first-child {
  margin-bottom: 0.5rem;
  color: rgba(80, 80, 80, 0.3);
}
.visit-item .visit-info-column .visit-comment p:last-child {
  line-height: 1.45;
}
.visit-item .visit-info-column .service-item {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 6fr 3fr 2fr 3fr;
  align-items: start;
  gap: 1rem;
}
.visit-item .visit-info-column .service-item.sum {
  padding-top: 0.5rem;
  border-top: 1px solid #eee;
}
.visit-item .visit-info-column .service-item .icon {
  min-width: 16px;
  margin-right: -0.5rem;
}
.visit-item .visit-info-column .service-item .icon i::before {
  background-color: #505050;
}
.visit-item .visit-info-column .service-item .button__text-arrow .icon i::before {
  background-color: #2285D5;
}
.visit-item .visit-info-column .service-item .service-name, .visit-item .visit-info-column .service-item .service-price, .visit-item .visit-info-column .service-item .service-discount, .visit-item .visit-info-column .service-item .service-discount-price {
  width: 100%;
}
.visit-item .visit-info-column .service-item .service-name span {
  display: inline-block;
  padding-left: 0.5rem;
  font-size: 0.75rem;
  color: rgba(80, 80, 80, 0.8);
}
.visit-item .visit-info-column .service-item .service-price, .visit-item .visit-info-column .service-item .service-discount, .visit-item .visit-info-column .service-item .service-discount-price {
  max-width: 80px;
}
.visit-item .consumables-list {
  height: fit-content;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: rgba(80, 80, 80, 0.6);
}
.visit-item .consumables-list li {
  margin-bottom: 0.5rem;
  display: none;
}
.visit-item .consumables-list li:first-child, .visit-item .consumables-list li:nth-child(2) {
  display: block;
}

.no-visits {
  align-self: center;
  margin-top: 20%;
  font-size: 1.5rem;
}

.table-consumables__head-row, .table-consumables__body-row, .table-consumables__footer-row {
  display: grid;
  grid-template-columns: 4fr 4fr 2fr 2fr 1fr;
  grid-auto-rows: 50px;
  align-items: center;
  gap: 0.5rem;
}
.table-consumables__body-row .table-consumables__body-cell:nth-child(3) {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.25rem;
}
.table-consumables__body-row .search-results {
  background-color: #fff;
}
.table-consumables__body-row .search-results li {
  margin-bottom: 2px;
}
.table-consumables .search-results {
  width: 100%;
  height: fit-content;
  margin-top: 0.25rem;
  overflow-y: auto;
  border: 1px solid #eee;
  border-radius: 0.5rem;
  box-shadow: 2px 4px 10px rgba(80, 80, 80, 0.1);
  background-color: #fff;
  position: absolute;
  z-index: 3;
}
.table-consumables .search-results li {
  width: 100%;
  height: fit-content;
  padding: 0.5rem 0.75rem;
  background-color: #fff;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.table-consumables__body-cell .icon i::before {
  background-color: #393939;
}

.visit-note-consumables {
  width: 100%;
  margin-bottom: 0.5rem;
}
.visit-note-consumables .input-group {
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 0.25rem;
}
.visit-note-consumables .input-group label {
  display: inline-block;
  font-weight: 600;
}

@media (max-width: 480px) {
  .table-consumables {
    width: calc(100vw - 3rem);
    overflow-x: auto;
  }
  .table-consumables .table-consumables__head-cell, .table-consumables .table-consumables__footer-cell {
    width: fit-content;
    min-width: 150px;
    font-size: 0.875rem;
  }
  .table-consumables .table-consumables__head-cell:last-child, .table-consumables .table-consumables__footer-cell:last-child {
    width: fit-content;
  }
  .table-consumables .table-consumables__body-cell {
    width: fit-content;
    min-width: 150px;
  }
  .table-consumables .table-consumables__body-cell:first-child .input {
    padding-right: 2rem;
  }
  .table-consumables .table-consumables__body-cell:last-child {
    width: fit-content;
  }
  .service-consumables .title .info-title {
    font-size: 1rem;
  }
}
.warehouses__body {
  width: 100%;
}
.warehouses__body .button__text {
  padding: 0.25rem 0.5rem;
}

.warehouses__table-header,
.warehouses__table-body {
  width: 100%;
}

.warehouses__table-header,
.warehouses__table-body-row {
  height: fit-content;
  padding: 1rem 0;
  display: grid;
  grid-template-columns: 1fr 3fr 3fr 1fr;
  border: 1px solid #eee;
}

.warehouses__table-body-cell {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 0.5rem;
}
.warehouses__table-body-cell .button.button__text {
  width: fit-content;
  max-width: none;
  white-space: nowrap;
}
.warehouses__table-body-cell .warehouse__name {
  cursor: pointer;
}

.warehouses__popup-content {
  min-width: 600px;
  position: relative;
}
.warehouses__popup-content .button__text {
  padding: 0.5rem 1rem;
}
.warehouses__popup-content .close {
  position: absolute;
  top: 0;
  right: -50px;
}
.warehouses__popup-content .popup__title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.warehouses__popup-content .popup__form {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 1rem;
}
.warehouses__popup-content .popup__form label {
  margin-bottom: -0.5rem;
}
.warehouses__popup-content .radio-desription {
  font-size: 0.875rem;
}
.warehouses__popup-content .radio-desription input {
  display: inline-block;
}
.warehouses__popup-content .buttons-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.products__body {
  padding: 1rem;
}

.products__search {
  width: 100%;
  height: fit-content;
  padding: 0 1.5rem 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 1rem;
}
.products__search .button.button__text {
  max-width: none;
  width: fit-content;
  height: fit-content;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  line-height: 115%;
}

.products__container {
  height: 100%;
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 1rem;
}

.products__block {
  width: 100%;
  height: fit-content;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid #eee;
}
.products__block .button.button__text {
  width: fit-content;
  max-width: none;
  height: fit-content;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
}
.products__block .block-title {
  font-size: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eee;
}
.products__block .block-body {
  font-size: 0.875rem;
}

.products__section {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 1rem;
}

.products__table {
  font-size: 0.875rem;
}

.products__table-header,
.products__table-body-row {
  height: fit-content;
  padding: 1rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr 5fr 3fr 3fr 1fr;
  border-bottom: 1px solid #eee;
}

.products__table-body-row:last-child {
  border-bottom: none;
}

.products__table-body-cell,
.products__table-header-cell {
  padding: 0.25rem 0.5rem;
}

.products__table-body-cell {
  display: flex;
  align-items: center;
  justify-content: left;
}

.products__popup-content {
  max-height: calc(100vh - 200px);
  display: flex;
  flex-direction: column;
}
.products__popup-content .product-form.popup-form {
  height: fit-content;
  flex-grow: 1;
  overflow-y: scroll;
}

.popup-form-category {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 1rem;
}
.popup-form-category .input-group {
  width: 100%;
}
.popup-form-category .input-group label {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.employee-schedule .prev-month-date, .employee-schedule .next-month-date {
  font-size: 0.875rem;
  color: #aaaaaa;
}
.employee-schedule .button.button__text {
  width: fit-content;
  max-width: none;
  height: fit-content;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}

.schedule-table__body-cell,
.schedule-table__header-cell {
  width: 100%;
  height: fit-content;
  padding: 2px;
  text-align: center;
  border-bottom: 1px solid #f8f8f8;
  border-right: 1px solid #f8f8f8;
}

.schedule-table__header-cell span {
  display: inline-block;
  width: 100%;
}

.products__body {
  padding: 1rem;
}

.products__search {
  width: 100%;
  height: fit-content;
  padding: 0 1.5rem 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 1rem;
}
.products__search .button.button__text {
  max-width: none;
  width: fit-content;
  height: fit-content;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  line-height: 115%;
}

.products__container {
  height: 100%;
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 1rem;
}

.products__block {
  width: 100%;
  height: fit-content;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid #eee;
}
.products__block .button.button__text {
  width: fit-content;
  max-width: none;
  height: fit-content;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
}
.products__block .block-title {
  font-size: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eee;
}
.products__block .block-body {
  font-size: 0.875rem;
}

.products__section {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 1rem;
}

.products__table {
  font-size: 0.875rem;
}

.products__table-header,
.products__table-body-row {
  height: fit-content;
  padding: 1rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr 5fr 3fr 3fr 1fr;
  border-bottom: 1px solid #eee;
}

.products__table-body-row:last-child {
  border-bottom: none;
}

.products__table-body-cell,
.products__table-header-cell {
  padding: 0.25rem 0.5rem;
}

.products__table-body-cell {
  display: flex;
  align-items: center;
  justify-content: left;
}

.products__popup-content {
  max-height: calc(100vh - 200px);
  display: flex;
  flex-direction: column;
}
.products__popup-content .product-form.popup-form {
  height: fit-content;
  flex-grow: 1;
  overflow-y: scroll;
}

.popup-form-category {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 1rem;
}
.popup-form-category .input-group {
  width: 100%;
}
.popup-form-category .input-group label {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.products__list {
  width: 100%;
  height: calc(100vh - 95px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 0.5rem;
}
.products__list .products__list-row {
  width: 100%;
  height: fit-content;
  padding: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid #eee;
  background-color: #fff;
  cursor: pointer;
}
.products__list .products__list-row:hover {
  background-color: #f8f8f8;
}
.products__list .products__list-row:active, .products__list .products__list-row.active {
  border: 1px solid #2788F2;
  color: #2788F2;
}

.products__section.large {
  flex: 1;
}

.products__section.small {
  max-width: 300px;
  min-width: 300px;
}

.product-form {
  width: 100%;
  height: fit-content;
  padding: 1rem;
  border: 1px solid #eee;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 1rem;
  font-size: 0.875rem;
}
.product-form .input-group {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 1rem;
}
.product-form .input-group label {
  width: 30%;
  display: inline-block;
}
.product-form .input-group input, .product-form .input-group select {
  width: 70%;
}
.product-form .input-group.checkboxes {
  gap: 2rem;
}
.product-form .input-group .checkbox-label-container {
  width: 100%;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 0.5rem;
}
.product-form .input-group .checkbox-label-container label {
  width: 90%;
}
.product-form .input-group .checkbox-label-container input {
  width: 10%;
}
.product-form .buttons-container {
  width: fit-content;
  height: fit-content;
  margin: 1rem auto 0;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 1.5rem;
}
.product-form .buttons-container .button__text {
  width: fit-content;
  max-width: none;
  height: fit-content;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}

.chats__body {
  display: flex;
  align-items: start;
  justify-content: start;
}
.chats__body .client-avatar {
  width: 40px;
  min-width: 40px;
  height: 40px;
  border: 1px solid #eee;
  border-radius: 50%;
  background-color: #eee;
  pointer-events: none;
  position: relative;
}
.chats__body .client-avatar img {
  width: 40px;
  border-radius: 50%;
}
.chats__body .client-avatar .chat-type {
  border-radius: 50%;
  position: absolute;
  bottom: -5px;
  right: -2px;
}

.chats-section {
  max-width: 400px;
  min-width: 400px;
  background-color: #fff;
  border-right: 1px solid #eee;
}
.chats-section__header {
  width: 100%;
  height: fit-content;
}
.chats-section__header .chats-title-section {
  padding: 1rem;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 1rem;
}
.chats-section__header .chats-title-section .burger-menu {
  display: none;
}
.chats-section__header .buttons-box {
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 0;
}
.chats-section__header .buttons-box .chat-type__button {
  width: 100%;
  height: fit-content;
  padding: 0.5rem 0.75rem;
  color: #505050;
  font-size: 0.875rem;
  line-height: 1.15;
  text-align: center;
  background-color: #fff;
  border-bottom: 1px solid #eee;
  user-select: none;
}
.chats-section__header .buttons-box .chat-type__button:first-child {
  border-right: 1px solid #eee;
}
.chats-section__header .buttons-box .chat-type__button.active {
  background-color: #E8F2FA;
  color: #2788F2;
}
.chats-section__header .chats-section__search {
  margin: auto;
  margin-bottom: 1rem;
  width: 95%;
}
.chats-section__body {
  width: 100%;
  height: calc(100vh - 154px);
  overflow-y: auto;
}
.chats-section__body .chat {
  height: 80px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 1rem;
  border-right: 3px solid #fff;
  position: relative;
  cursor: pointer;
}
.chats-section__body .chat:hover {
  background-color: #f8f8f8;
  border-right: 3px solid #eee;
}
.chats-section__body .chat:active, .chats-section__body .chat.active {
  background-color: #f8f8f8;
  border-right: 3px solid #2788F2;
}
.chats-section__body .chat .client-name {
  font-size: 1rem;
  pointer-events: none;
}
.chats-section__body .chat .chat-text {
  width: 100%;
  max-width: 250px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 0.875rem;
  color: #aaaaaa;
  pointer-events: none;
}
.chats-section__body .chat .chat-time {
  font-size: 0.875rem;
  color: #aaaaaa;
  position: absolute;
  top: 16px;
  right: 16px;
  pointer-events: none;
}
.chats-section__body .chat .unread-messages {
  width: 24px;
  height: 24px;
  padding: 0.25rem;
  position: absolute;
  top: 40px;
  right: 16px;
  text-align: center;
  font-size: 0.75rem;
  color: #fff;
  background-color: #57A3F5;
  border-radius: 50%;
  pointer-events: none;
}

.messages-section {
  flex: 1;
  height: 100vh;
  overflow: auto;
}
.messages-section.small-chat {
  width: 100%;
  height: 100%;
  flex: none;
}
.messages-section.small-chat .client-avatar {
  width: 40px;
  min-width: 40px;
  height: 40px;
  border: 1px solid #eee;
  border-radius: 50%;
  background-color: #eee;
  pointer-events: none;
  position: relative;
  overflow: hidden;
}
.messages-section.small-chat .client-avatar img {
  width: 100%;
  border-radius: 50%;
}
.messages-section.small-chat .buttons-box {
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 0;
}
.messages-section.small-chat .buttons-box .chat-type__button {
  width: 100%;
  height: fit-content;
  padding: 0.5rem 0.75rem;
  color: #505050;
  font-size: 0.875rem;
  line-height: 1.15;
  text-align: center;
  background-color: #fff;
  border-bottom: 1px solid #eee;
  user-select: none;
}
.messages-section.small-chat .buttons-box .chat-type__button:first-child {
  border-right: 1px solid #eee;
}
.messages-section.small-chat .buttons-box .chat-type__button.active {
  background-color: #E8F2FA;
  color: #2788F2;
}
.messages-section.small-chat .buttons-box .chat-type__button:disabled {
  background-color: #eee;
  color: #aaaaaa;
}
.messages-section.small-chat .messages-section__body {
  height: calc(100vh - 327px);
}
.messages-section.small-chat .messages-section__body.attachments {
  height: calc(100vh - 342px);
}
.messages-section.small-chat .messages-section__footer {
  height: fit-content;
  background-color: #fff;
}
.messages-section.client-card-chat .messages-section__body {
  height: calc(100vh - 249px);
}
.messages-section.client-card-chat .messages-section__body.attachments {
  height: calc(100vh - 273px);
}
.messages-section.client-card-chat .messages-section__footer {
  height: fit-content;
  background-color: #fff;
}
.messages-section__header {
  width: 100%;
  height: 70px;
  padding: 1rem;
  border-bottom: 1px solid #eee;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 1rem;
}
.messages-section__header .client-name {
  font-size: 1.25rem;
}
.messages-section__header .burger-menu {
  display: none;
}
.messages-section__body {
  width: 100%;
  height: calc(100vh - 210px);
  padding: 1rem;
  overflow-y: auto;
  background-color: #f8f8f8;
  display: flex;
  flex-direction: column-reverse;
  gap: 1.5rem;
}
.messages-section__body.attachments {
  height: calc(100vh - 238px);
}
.messages-section__footer {
  width: 100%;
  padding: 1rem 1rem 5rem 1rem;
  position: sticky;
  border-top: 1px solid #eee;
}
.messages-section__footer .input-file-list {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}
.messages-section__footer .new-message-area {
  width: 100%;
  height: fit-content;
  padding: 1rem;
  resize: none;
  font-size: 0.875rem;
  color: #505050;
}
.messages-section__footer .new-message-area::placeholder {
  font-size: 0.875rem;
  color: #aaaaaa;
}
.messages-section .message-date {
  width: fit-content;
  height: fit-content;
  padding: 0.5rem 1rem;
  margin: 0 auto;
  background-color: #B7D7FB;
  border-radius: 1rem;
  font-size: 0.875rem;
  color: #042548;
  opacity: 0.6;
}
.messages-section .button.button__text {
  width: 100%;
  max-width: none;
  height: fit-content;
  padding: 0.5rem 0.75rem;
  margin-top: 0.5rem;
  font-size: 0.75rem;
}
.messages-section .call-info-message {
  width: 80%;
  height: fit-content;
  padding: 1rem;
  margin: 0 auto;
  background-color: rgba(215, 187, 247, 0.7);
  color: #505050;
  text-align: center;
  border-radius: 0.5rem;
}
.messages-section .call-info-message .call-type {
  width: 100%;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}
.messages-section .call-info-message .call-duration {
  width: 100%;
  font-size: 0.875rem;
}

.message__box {
  width: 70%;
  height: fit-content;
  display: flex;
  align-items: end;
}
.message__box .message__container {
  padding: 0.75rem;
  border-radius: 0.5rem;
}
.message__box .message__container .message__time {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  opacity: 0.7;
}
.message__box .message__container .phone-clickable {
  border-radius: 0.5rem;
  padding: 0 0.2rem;
  cursor: pointer;
}
.message__box-right {
  margin-left: auto;
  justify-content: end;
}
.message__box-right .message__container {
  background-color: #2788F2;
  color: #fff;
}
.message__box-right .message__container .message__time {
  text-align: left;
}
.message__box-right .message__container .phone-clickable {
  background-color: #0D6FD8;
}
.message__box-right .message__attachments .file-link {
  color: #fff;
}
.message__box-left {
  margin-right: auto;
  justify-content: start;
  gap: 0.5rem;
}
.message__box-left .message__container {
  background-color: #fff;
  color: #505050;
}
.message__box-left .message__container .message__time {
  text-align: right;
}
.message__box-left .message__container .phone-clickable {
  background-color: #eee;
}

.message__attachments {
  width: 100%;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 0.25rem;
}
.message__attachments .file-link {
  color: #2788F2;
  text-decoration: underline;
}
.message__attachments img {
  width: 100%;
  max-width: 200px;
}

.message__area {
  width: 100%;
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 0.25rem;
}

@media (max-width: 768px) {
  .chats-section__header .chats-title-section .burger-menu {
    display: block;
  }
}
@media (max-width: 480px) {
  .chats-section {
    display: none;
  }
  .chats-section__body {
    height: calc(100vh - 154px - 5rem);
  }
  .chats-section.fixed {
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    display: block;
    position: fixed;
    z-index: 1000;
  }
  .messages-section.small-chat .messages-section__body {
    height: calc(100vh - 370px);
  }
  .messages-section__body {
    height: calc(100vh - 210px - 5rem);
  }
  .messages-section__header .burger-menu {
    display: flex;
  }
}
.auth-form {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 2rem;
  border: 1px solid #b9b9b9;
  border-radius: 0.5rem;
}
.auth-form .form-row {
  display: flex;
  width: 100%;
  justify-content: space-between;
}
.auth-form .auth-form__header {
  margin: 0;
}
.auth-form label {
  color: #555555;
}
.auth-form .input {
  margin-top: 0.5rem;
}
.auth-form button {
  max-width: 100% !important;
}
.auth-form .reset-password {
  text-align: end;
  color: #505050;
  font-size: 0.875rem;
}
.auth-form .password-requirements {
  font-size: 0.875rem;
  max-width: 90%;
  margin: auto;
}
.auth-form .password-requirements li {
  list-style: disc !important;
  color: #1c1c1c;
  padding: 0.25em 0;
}

.client__header {
  width: 100%;
  height: fit-content;
  padding: 1rem;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 1.5rem;
}
.client__header .title {
  font-size: 1.5rem;
}
.client__header .button__classic .icon i::before {
  background-color: #fff;
}
.client__header .title {
  position: relative;
}
.client__header .text-tag {
  width: fit-content;
  height: fit-content;
  display: block;
  position: absolute;
  top: 0;
  right: -40px;
  border-radius: 3px;
  color: #fff;
  font-size: 0.75rem;
  background-color: #2788F2;
}

.client__body {
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 0;
}
.client__body .tab-content {
  width: 100%;
}

.client__menu {
  min-width: 306px;
  max-width: 306px;
  height: 100%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 0.5rem;
}

.tab-content {
  width: 100%;
  flex: 1;
  display: none;
}
.tab-content .active {
  display: flex;
}

.tab-content.chat {
  padding: 0;
  background-color: #f8f8f8;
}
.tab-content.chat .buttons-box {
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 0;
}
.tab-content.chat .buttons-box .chat-type__button {
  width: 100%;
  height: fit-content;
  padding: 0.5rem 0.75rem;
  color: #505050;
  font-size: 0.875rem;
  line-height: 1.15;
  text-align: center;
  background-color: #fff;
  border-bottom: 1px solid #eee;
  user-select: none;
}
.tab-content.chat .buttons-box .chat-type__button:first-child {
  border-right: 1px solid #eee;
}
.tab-content.chat .buttons-box .chat-type__button.active {
  background-color: #E8F2FA;
  color: #2788F2;
}
.tab-content.chat .buttons-box .chat-type__button span {
  display: inline-block;
  width: 100%;
}

.tab-content.client-statistic {
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 1rem;
}
.tab-content.client-statistic .title {
  width: 100%;
  margin-top: 0.5rem;
  margin-bottom: 0;
}
.tab-content.client-statistic .visits-statistic {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.tab-content.client-statistic .visits-count {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 0.25rem;
}
.tab-content.client-statistic .payments-amount {
  width: 100%;
}

.client__form {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 1rem;
  flex-grow: 1;
  overflow-y: scroll;
}
.client__form .input-group {
  width: 100%;
}
.client__form .input-group label {
  display: inline-block;
  margin-bottom: 0.25rem;
}
.client__form .input-group .checkbox {
  width: fit-content;
  padding: 0;
}
.client__form .button.button__text {
  width: fit-content;
  height: fit-content;
  max-height: none;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}

.clients__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.clients__header .burger-menu {
  display: none;
}

.clients__search {
  width: 100%;
  height: fit-content;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 1rem;
}

.clients__add-button.button.medium {
  width: fit-content;
  max-width: none;
}
.clients__add-button.button.medium span {
  white-space: nowrap;
}

.clients-container__table .container__title, .clients-container__table .container__lists {
  grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 768px) {
  .clients__header {
    justify-content: left;
    gap: 1rem;
  }
  .clients__header .title {
    margin-right: 1rem;
  }
  .clients__header .burger-menu {
    display: block;
  }
}
.technological-maps__container {
  width: 100%;
}

.technological-maps__table {
  width: 100%;
}

.technological-maps__table-header,
.technological-maps__table-row {
  width: 100%;
  height: fit-content;
  padding: 0.5rem;
  display: grid;
  grid-template-columns: 1fr 5fr 4fr 3fr 1fr;
  border-bottom: 1px solid #eee;
}

.technological-maps__table-header {
  font-size: 1rem;
  border-bottom: 2px solid #eee;
}

.technological-maps__table-row {
  font-size: 0.875rem;
}

.technological-map__popup-content {
  min-width: 600px;
  height: fit-content;
  max-height: none;
  position: relative;
}
.technological-map__popup-content .close {
  position: absolute;
  top: 0;
  right: -50px;
}
.technological-map__popup-content .popup__title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.technological-map__popup-content .popup__form {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 1rem;
}
.technological-map__popup-content .input-group {
  width: 100%;
}
.technological-map__popup-content .input-group label {
  display: inline-block;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .technological-maps__header.section-header {
    flex-wrap: wrap;
  }
}
.technological-map__header {
  width: 100%;
  height: fit-content;
  padding: 1rem;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 1.5rem;
}
.technological-map__header .title {
  font-size: 1.5rem;
}
.technological-map__header .button__classic .icon i::before {
  background-color: #fff;
}
.technological-map__header .burger-menu {
  display: none;
}

.technological-map__body {
  width: 100%;
  padding: 1rem;
}

.technological-map__form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 1rem;
}
.technological-map__form .input-group {
  width: 100%;
}
.technological-map__form .input-group label,
.technological-map__form .input-group span {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.consumables__table {
  margin-bottom: 0.5rem;
}

.consumables__cell,
.consumables__header-cell {
  padding: 0.5rem;
  border: 1px solid #eee;
}

.consumables__cell {
  font-size: 0.875rem;
}

.consumables__header-row,
.consumables__row {
  display: grid;
  grid-template-columns: 1fr 4fr 3fr 2fr;
}
.consumables__header-row.selected,
.consumables__row.selected {
  grid-template-columns: 4fr 3fr 2fr;
}

@media (max-width: 768px) {
  .technological-map__header .burger-menu {
    display: block;
  }
}
.visits-review-container {
  padding-left: 0.8rem;
  padding-right: 0.8rem;
}

.visits-review-table {
  width: 100%;
}
.visits-review-table th {
  padding: 1.5rem 1rem;
  border-bottom: 2px solid #e7e7e7;
}

.filter-groups-wrp {
  display: grid;
  padding-top: 1rem;
  padding-bottom: 1rem;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 100px 100px;
}

.date-filter-group {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 0.5rem;
  grid-row: 1/3;
  grid-column: 1/2;
}

.filter-group {
  padding-left: 1rem;
  align-self: center;
}

.filter-group__title {
  margin-bottom: 0.5rem;
}

.filter-group__content {
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 1rem;
}
.filter-group__content label {
  font-size: 0.875rem;
}

.filter-group__label {
  padding-bottom: 0.3rem;
}

.filters-apply-button-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-right: 1rem;
  padding-bottom: 1rem;
}
.filters-apply-button-container .filters-results {
  width: fit-content;
  height: fit-content;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.5rem;
  border: 1px solid #eee;
  border-radius: 0.5rem;
}
.filters-apply-button-container .filters-results .results-title {
  color: #aaaaaa;
}
.filters-apply-button-container .filters-results .results-count {
  color: #505050;
}

#statusFilterWrp {
  margin-top: 1.25rem;
}

#sourceOfAppointmentFilterWrp {
  margin-top: 1.75rem;
}

.selectFilterContainer {
  grid-row: 1/3;
  grid-column: 2/3;
}

.visit-review-table__column-item {
  text-align: center;
  padding: 1rem;
  border-bottom: 1px solid #e7e7e7;
}

.tagsFilterContainer {
  grid-column: 3/4;
  grid-row: 1/3;
  align-self: center;
  margin-left: 1rem;
}
.tagsFilterContainer .select2.select2-container .select2-selection {
  height: 32px;
  padding: 0;
}

.select2-container--default {
  width: 100% !important;
}

.select2.select2-container .select2-selection {
  border: none;
  border-radius: 0.5rem;
  height: 40px;
  padding: 0.25rem;
  outline: none !important;
  background-color: #F8F8F8;
}

.select2.select2-container .select2-selection--multiple .select2-selection__choice {
  background-color: #f8f8f8;
  border: 1px solid #e7e7e7;
  border-radius: 0.5rem;
  position: relative;
}

.select2-container .select2-dropdown {
  border: 1px solid #e7e7e7;
}

.statistics__header {
  width: 100%;
  height: fit-content;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: left;
}
.statistics__header .burger-menu {
  display: none;
}

.statistics__body {
  width: 100%;
  height: fit-content;
  padding: 1rem;
}
.statistics__body .container__title, .statistics__body .container__lists {
  grid-template-columns: 1fr 1fr;
}

.statistics__date-picker {
  display: flex;
  gap: 1rem;
}
.statistics__date-picker .input-date {
  position: relative;
}
.statistics__date-picker .date-picker__label {
  padding: 0.5rem;
}
.statistics__date-picker .button {
  height: 40px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  align-self: flex-end;
}
.statistics__date-picker .input-date::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
  color: transparent;
  background: transparent;
}

.statistics__table-lists .container__lists-p:nth-child(odd) {
  align-items: flex-start;
}
.statistics__table-lists .container__sub-p {
  font-size: 0.8rem;
  color: gray;
}

@media (max-width: 768px) {
  .statistics__header {
    gap: 1rem;
  }
  .statistics__header .burger-menu {
    display: block;
  }
  .statistics__body .input-date {
    width: 200px;
  }
}
@media (max-width: 480px) {
  .container__statistics-title {
    font-size: 1.25rem;
    margin: 0;
  }
  .statistics__date-picker {
    flex-direction: column;
    gap: 0.5rem;
  }
  .statistics__date-picker label {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 0.5rem;
  }
  .statistics__date-picker .button {
    width: 100%;
  }
  .statistics__date-picker .date-picker__label {
    width: fit-content;
    min-width: 100px;
  }
  .statistics__body {
    padding: 0.5rem;
    padding-bottom: 5rem;
  }
  .statistics__body .container__table {
    margin-top: 0.25rem;
  }
  .statistics__body .container__lists, .statistics__body .container__title {
    padding: 0;
    grid-template-columns: 3fr 2fr;
  }
  .statistics__body .container__title-p {
    padding: 0.5rem;
    font-size: 1rem;
  }
  .statistics__body .container__lists-p {
    padding: 0.5rem;
    font-size: 0.875rem;
  }
  .statistics__body .container__lists-p:nth-child(odd) {
    text-align: left;
  }
  .statistics__body .container__sub-p {
    font-size: 0.75rem;
  }
}
.employees-schedule__header {
  width: 100%;
  height: fit-content;
  padding: 0.75rem;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 1.5rem;
}
.employees-schedule__header .title {
  font-size: 1.5rem;
}
.employees-schedule__header .burger-menu {
  display: none;
}

.employees-schedule__body {
  width: 100%;
  display: flex;
  align-items: start;
  justify-content: start;
  position: relative;
}

.sidepeek-popup {
  width: 300px;
  height: calc(100vh - 78px);
  display: none;
  position: fixed;
  right: 0;
  top: 78px;
  z-index: 10;
  box-shadow: -5px 0 10px rgba(0, 0, 0, 0.2);
  background-color: #fff;
}
.sidepeek-popup.active {
  display: flex;
}

.sidepeek-popup__content {
  width: 100%;
  height: 100%;
  padding: 1rem;
}

.sidepeek-popup__title {
  width: 100%;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.sidepeek-popup__form {
  width: 100%;
  height: calc(100vh - 158px);
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: space-between;
  gap: 2rem;
}
.sidepeek-popup__form .inputs-container {
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 1rem;
}
.sidepeek-popup__form .buttons-container {
  width: 100%;
  height: fit-content;
}
.sidepeek-popup__form .buttons-container .selected-days-counter {
  width: 100%;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  line-height: 1.15;
  color: rgba(80, 80, 80, 0.7);
}
.sidepeek-popup__form .buttons-container .buttons-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.sidepeek-popup__form .buttons-container .button__text {
  width: 100%;
}
.sidepeek-popup__form .input-group {
  width: 100%;
}
.sidepeek-popup__form .input-group label {
  display: inline-block;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  color: rgba(80, 80, 80, 0.7);
}
.sidepeek-popup__form .input-group .input {
  padding: 0.5rem 0.5rem 0.5rem 0.75rem;
}
.sidepeek-popup__form .input-group .comment.breaks {
  width: fit-content;
  height: fit-content;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 0.25rem;
  background-color: transparent;
  color: rgba(80, 80, 80, 0.7);
}
.sidepeek-popup__form .input-group .comment.breaks .icon i::before {
  background-color: rgba(80, 80, 80, 0.7);
}
.sidepeek-popup__form .input-group .comment.breaks span {
  display: inline-block;
}
.sidepeek-popup__form .input-group.breaks {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 0.25rem;
}
.sidepeek-popup__form .inputs-time {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.employees-schedule__table {
  width: calc(100vw - 198px);
  height: fit-content;
  display: flex;
  align-items: start;
  justify-content: start;
}
.employees-schedule__table.active {
  width: calc(100vw - 498px);
}

.empty-header-cell {
  min-width: 200px;
  max-width: 200px;
  background-color: #fff;
  position: sticky;
  left: 0;
  z-index: 2;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.employees-schedule__table-body {
  display: grid;
  grid-auto-flow: row dense;
}

.employees-schedule__employees-list {
  width: 30%;
  height: fit-content;
  padding: 0.5rem;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 0.5rem;
}

.employees-list__item {
  width: 100%;
  height: 60px;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.25rem;
  border-bottom: 1px solid #eee;
  border-right: 1px solid #eee;
  background-color: #fff;
  position: sticky;
  z-index: 1001;
  left: 0;
}
.employees-list__item .employee-photo {
  width: 20px;
  min-width: 20px;
  height: 20px;
  background-color: #eee;
  border-radius: 50%;
  border: 1px solid #eee;
  overflow: hidden;
}
.employees-list__item .employee-photo img {
  width: 100%;
}
.employees-list__item .employee-name {
  font-size: 0.875rem;
}

.employees-schedule__dates {
  height: calc(100vh - 58px);
  width: calc(100vw - 198px);
  overflow: auto;
}

.employees-schedule__dates-header {
  display: flex;
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 2000;
}

.employees-schedule__dates-header_months {
  width: 100%;
  height: fit-content;
  display: flex;
  align-items: start;
  justify-content: start;
}
.employees-schedule__dates-header_months .header__month {
  padding-top: 1rem;
  background-color: white;
}
.employees-schedule__dates-header_months .month-section {
  width: 100%;
  height: fit-content;
  position: relative;
}
.employees-schedule__dates-header_months .month-section .month-name__box {
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.5rem;
  position: sticky;
  left: 200px;
}
.employees-schedule__dates-header_months .month-section .icon-btn .icon i::before {
  background-color: #505050;
}

.employees-schedule__dates-header_dates {
  display: grid;
}
.employees-schedule__dates-header_dates .employee-schedule__date {
  padding: 2px;
}
.employees-schedule__dates-header_dates .employee-schedule__date span {
  display: inline-block;
}
.employees-schedule__dates-header_dates .employee-schedule__date.day-off {
  color: #E43535;
}
.employees-schedule__dates-header_dates .employee-schedule__date .date-element__box {
  padding: 0.25rem;
  border-radius: 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}
.employees-schedule__dates-header_dates .employee-schedule__date.today .date-element__box {
  background-color: #2788F2;
  color: #fff;
}

.schedule-table__row {
  display: grid;
  grid-row: auto;
  height: 60px;
}
.schedule-table__row.is-fired {
  background-color: #FDE9E7;
  color: #E43535;
}
.schedule-table__row.is-fired .employees-list__item {
  background-color: #FDE9E7;
  color: #E43535;
}

.employee-schedule__date {
  padding: 2px;
  position: relative;
  border-bottom: 1px solid #eee;
  border-right: 1px solid #eee;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}
.employee-schedule__date span {
  display: inline-block;
  font-size: 0.75rem;
}
.employee-schedule__date .schedule-day__info-popup {
  width: fit-content;
  height: fit-content;
  padding: 0.5rem;
  position: absolute;
  top: -30px;
  right: -150px;
  z-index: 1000;
  border: 1px solid #eee;
  border-radius: 0.5rem;
  background-color: #fff;
  box-shadow: 0 4px 4px rgba(238, 238, 238, 0.8);
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.employee-schedule__date .schedule-day__info-popup .schedule-day__time, .employee-schedule__date .schedule-day__info-popup .schedule-day__visits {
  white-space: nowrap;
}

.employee-schedule-day.button {
  width: 100%;
  height: 100%;
  background-color: transparent;
  position: relative;
  border: 1px solid transparent;
}
.employee-schedule-day.button span {
  font-size: 0.5rem;
}
.employee-schedule-day.button .visits-existing-detector {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  padding: 1px;
  font-size: 5px;
  border-radius: 2px;
  background-color: #4EBF68;
  color: #fff;
  display: none;
}
.employee-schedule-day.button:hover {
  border: 1px dashed #4EBF68;
}
.employee-schedule-day.button.active, .employee-schedule-day.button:active {
  border: 1px dashed #4EBF68;
  background-color: rgba(192, 242, 197, 0.3);
}
.employee-schedule-day.button.working_day {
  background-color: #C0F2C5;
}
.employee-schedule-day.button.non_working_day {
  background-color: transparent;
}
.employee-schedule-day.button.non_working_day_with_visits {
  background-color: transparent;
  border: 1px dashed rgba(80, 80, 80, 0.6);
}
.employee-schedule-day.button.sick {
  background-color: rgba(183, 215, 251, 0.5);
  border: 1px dashed #2788F2;
}
.employee-schedule-day.button.vacation {
  background-color: rgba(215, 187, 247, 0.5);
  border: 1px dashed #52149F;
}
.employee-schedule-day.button.a_day_of_at_your_own_expense {
  background-color: rgba(255, 245, 179, 0.5);
  border: 1px dashed #C3C31B;
}
.employee-schedule-day.button.absence {
  background-color: rgba(248, 190, 185, 0.5);
  border: 1px dashed #E43535;
}
.employee-schedule-day.button.paid_day_off {
  background-color: rgba(255, 245, 179, 0.5);
  border: 1px dashed #C3C31B;
}

.employees-schedule__dates-body .schedule-row {
  display: grid;
}

@media (max-width: 768px) {
  .employees-schedule__header {
    height: fit-content;
    padding: 0.75rem;
  }
  .employees-schedule__header .title {
    font-size: 1.25rem;
  }
  .employees-schedule__header .burger-menu {
    display: block;
  }
  .employees-schedule__table {
    width: 100vw;
  }
  .employees-schedule__table.active {
    width: calc(100vw - 300px);
  }
  .sidepeek-popup {
    height: calc(100vh - 57px);
    top: 57px;
  }
}
@media (max-width: 480px) {
  .employees-schedule__header {
    padding: 0.5rem;
    gap: 1rem;
  }
  .employees-schedule__header .title {
    font-size: 1rem;
  }
  .empty-header-cell {
    min-width: 180px;
    max-width: 180px;
  }
  .employees-schedule__table.active {
    width: 100vw;
  }
  .employees-list__item .employee-name {
    font-size: 0.75rem;
  }
  .sidepeek-popup {
    width: 100vw;
    height: 100vh;
    top: 0px;
  }
  .sidepeek-popup__form {
    height: calc(100vh - 90px);
  }
}
.mobile-visits__popup {
  width: 100%;
  height: fit-content;
  max-height: calc(100vh - 5rem);
  padding: 0;
  margin: 0 auto;
  display: none;
  position: sticky;
  bottom: 9.5rem;
  background-color: #fff;
  border-radius: 0.5rem;
  border: 1px solid #eee;
}
.mobile-visits__popup.active {
  display: block;
  z-index: 3000;
}

.mobile-visits__header {
  width: 100%;
  height: fit-content;
  padding: 0.5rem;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 1rem;
  border-bottom: 1px solid #eee;
}

.mobile-visits-list {
  width: 100%;
  height: fit-content;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 0.25rem;
}

.card-list-item {
  width: 100%;
  height: fit-content;
  padding: 0.75rem;
  border-radius: 0.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  user-select: none;
  cursor: pointer;
}
.card-list-item .is-new-tag {
  padding: 4px 6px 3px;
  border-radius: 3px;
  font-size: 6px;
  line-height: 7px;
  font-family: inherit;
  font-weight: 600;
  text-align: center;
}
.card-list-item .is-new-tag .icon.small {
  height: 6px;
}
.card-list-item::before {
  content: "";
  width: 8px;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 0.5rem 0 0 0.5rem;
}
.card-list-item .visit-info, .card-list-item .master-info {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 0.25rem;
}
.card-list-item .visit-info .master-name, .card-list-item .master-info .master-name {
  word-break: break-all;
}
.card-list-item .visit-time {
  margin-right: 4px;
}
.card-list-item .visit-connect {
  width: 100%;
  max-width: 44px;
  height: 24px;
  padding: 0.25rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  border-radius: 70px;
}
.card-list-item .master-avatar {
  width: 16px;
  height: 16px;
}
.card-list-item .master-avatar img {
  width: 100%;
}
.card-list-item.postponed, .card-list-item.late_postponed {
  background-color: #FFF5B3;
  color: #7F6F00;
}
.card-list-item.postponed .is-new-tag, .card-list-item.late_postponed .is-new-tag {
  background-color: #7F6F00;
}
.card-list-item.postponed .is-new-tag .icon i::before, .card-list-item.late_postponed .is-new-tag .icon i::before {
  background-color: #fff;
}
.card-list-item.postponed .visit-connect-number, .card-list-item.late_postponed .visit-connect-number {
  color: #7F6F00;
}
.card-list-item.postponed .icon i::before, .card-list-item.late_postponed .icon i::before {
  background-color: #7F6F00;
}
.card-list-item.postponed::before, .card-list-item.late_postponed::before {
  background: linear-gradient(to right, #7F6F00 50%, transparent 50%, transparent 100%);
}
.card-list-item.posponed:hover, .card-list-item.late_postponed:hover {
  box-shadow: inset 0 0 0 1px #7F6F00;
}
.card-list-item.cancel {
  background-color: #FDE9E7;
  color: #A31C0F;
}
.card-list-item.cancel .is-new-tag {
  background-color: #A31C0F;
}
.card-list-item.cancel .is-new-tag .icon i::before {
  background-color: #fff;
}
.card-list-item.cancel .visit-connect-number {
  color: #A31C0F;
}
.card-list-item.cancel .icon i::before {
  background-color: #A31C0F;
}
.card-list-item.cancel::before {
  background: linear-gradient(to right, #A31C0F 50%, transparent 50%, transparent 100%);
}
.card-list-item.cancel:hover {
  box-shadow: inset 0 0 0 1px #A31C0F;
}
.card-list-item.not_confirmed {
  background-color: rgba(183, 215, 251, 0.7);
  color: #042548;
}
.card-list-item.not_confirmed::before {
  background: linear-gradient(to right, #0A56A8 50%, transparent 50%, transparent 100%);
}
.card-list-item.not_confirmed .is-new-tag {
  background-color: #0A56A8;
}
.card-list-item.not_confirmed .is-new-tag .icon i::before {
  background-color: #fff;
}
.card-list-item.not_confirmed .visit-connect-number {
  color: #0A56A8;
}
.card-list-item.not_confirmed .icon i::before {
  background-color: #0A56A8;
}
.card-list-item.not_confirmed:hover {
  box-shadow: inset 0 0 0 1px #0A56A8;
}
.card-list-item.confirmed {
  background-color: rgba(215, 187, 247, 0.7);
  color: #230844;
}
.card-list-item.confirmed::before {
  background: linear-gradient(to right, #52149F 50%, transparent 50%, transparent 100%);
}
.card-list-item.confirmed .is-new-tag {
  background-color: #52149F;
}
.card-list-item.confirmed .is-new-tag .icon i::before {
  background-color: #fff;
}
.card-list-item.confirmed .visit-connect-number {
  color: #52149F;
}
.card-list-item.confirmed .icon i::before {
  background-color: #52149F;
}
.card-list-item.confirmed:hover {
  box-shadow: inset 0 0 0 1px #52149F;
}
.card-list-item.client_came {
  background-color: rgba(192, 242, 197, 0.7);
  color: #0E3F12;
}
.card-list-item.client_came::before {
  background: linear-gradient(to right, #1D942B 50%, transparent 50%, transparent 100%);
}
.card-list-item.client_came .is-new-tag {
  background-color: #1D942B;
}
.card-list-item.client_came .is-new-tag .icon i::before {
  background-color: #fff;
}
.card-list-item.client_came .visit-connect-number {
  color: #1D942B;
}
.card-list-item.client_came .icon i::before {
  background-color: #1D942B;
}
.card-list-item.client_came:hover {
  box-shadow: inset 0 0 0 1px #1D942B;
}
.card-list-item.client_paid {
  background-color: rgba(192, 238, 241, 0.7);
  color: #0E3C3F;
}
.card-list-item.client_paid::before {
  background: linear-gradient(to right, #208B92 50%, transparent 50%, transparent 100%);
}
.card-list-item.client_paid .is-new-tag {
  background-color: #208B92;
}
.card-list-item.client_paid .is-new-tag .icon i::before {
  background-color: #fff;
}
.card-list-item.client_paid .visit-connect-number {
  color: #208B92;
}
.card-list-item.client_paid .icon i::before {
  background-color: #208B92;
}
.card-list-item.client_paid:hover {
  box-shadow: inset 0 0 0 1px #208B92;
}

.changes-history__list {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 1.5rem;
}

.change__list-item {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 0.5rem;
  color: #8e8e8e;
}
.change__list-item .change-info, .change__list-item .change-details {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.25rem;
}
.change__list-item .change-details {
  font-size: 0.875rem;
}
.change__list-item .change-details .changes-arrow {
  transform: rotate(90deg);
}
.change__list-item .employee-name, .change__list-item .change-date {
  color: #505050;
}

.visit-header #toggle-visit-menu-btn.burger-menu,
.container__payments-header #toggle-visit-menu-btn.burger-menu {
  display: none !important;
}

.container__payments-header {
  width: 100%;
  height: fit-content;
  padding: 1rem;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 1rem;
}

.container-payments__body {
  width: 100%;
  height: fit-content;
  padding: 1rem;
}

.container-payments__table {
  width: 100%;
  height: fit-content;
}
.container-payments__table .container__title, .container-payments__table .container__lists {
  width: 100%;
  grid-template-columns: 2fr 1fr 2fr;
}

@media (max-width: 768px) {
  .visit-header #toggle-visit-menu-btn.burger-menu,
  .container__payments-header #toggle-visit-menu-btn.burger-menu {
    display: flex !important; /* Показать на мобильных */
  }
}
.column.short-visits-history {
  width: 366px;
  height: 100%;
  background-color: #eee;
}
.column.short-visits-history.hidden {
  display: none;
}
.column.short-visits-history .short-history-close {
  display: none;
}

.short-visits-list {
  width: 100%;
  height: calc(100vh - 113px);
  padding: 1rem;
  background-color: #fff;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 1.5rem;
}
.short-visits-list .visits-list__item {
  width: 100%;
  height: fit-content;
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 0.25rem;
}
.short-visits-list .employee-avatar {
  width: 36px;
  min-width: 36px;
  height: 36px;
  border-radius: 0.5rem;
  overflow: hidden;
}
.short-visits-list .employee-avatar img {
  width: 100%;
}
.short-visits-list .visit-info {
  width: 100%;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #aaaaaa;
}
.short-visits-list .visit-info .employee-name {
  font-size: 0.875rem;
  color: #505050;
}
.short-visits-list .visit-info .visit-status {
  width: fit-content;
  height: fit-content;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}
.short-visits-list .visit-info .visit-status.not_confirmed {
  background-color: rgba(34, 133, 213, 0.15);
  color: #2788F2;
}
.short-visits-list .visit-info .visit-status.confirmed {
  background-color: rgba(215, 187, 247, 0.5);
  color: #52149F;
}
.short-visits-list .visit-info .visit-status.client_came {
  background-color: rgba(192, 242, 197, 0.5);
  color: #1D942B;
}
.short-visits-list .visit-info .visit-status.client_paid {
  background-color: rgba(192, 238, 241, 0.5);
  color: #208B92;
}
.short-visits-list .visit-info .visit-status.postponed {
  background-color: rgba(255, 245, 179, 0.5);
  color: #B29C01;
}
.short-visits-list .visit-info .visit-status.late_postponed {
  background-color: rgba(255, 245, 179, 0.5);
  color: #B29C01;
}
.short-visits-list .visit-info .visit-status.cancel {
  background-color: rgba(248, 190, 185, 0.5);
  color: #E43535;
}
.short-visits-list .visit-box {
  width: 100%;
}
.short-visits-list .visit-services {
  width: 100%;
  height: fit-content;
}
.short-visits-list .visit-service__item {
  width: 100%;
  height: fit-content;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.short-visits-list .visit-service__item span {
  padding-left: 1rem;
}
.short-visits-list .visit-service__item .service-price {
  white-space: nowrap;
}
.short-visits-list .visit-comment {
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: #aaaaaa;
}
.short-visits-list .visit-comment span {
  display: inline-block;
}
.short-visits-list .visit-comment span:last-child {
  color: #505050;
}

@media (max-width: 480px) {
  .column.short-visits-history.mobile {
    width: 100vw;
    background-color: #fff;
  }
  .column.short-visits-history.mobile .short-history-close {
    display: block;
    margin-bottom: 0.25rem;
    margin-left: auto;
    margin-right: 0.5rem;
    margin-top: 0.25rem;
  }
  .column.short-visits-history.mobile .short-visits-list {
    height: calc(100vh - 184px - 76px - 64px);
  }
}
.visit-tags__column {
  width: 300px;
  height: fit-content;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 1rem;
  border: 1px solid #eee;
  border-radius: 0.5rem;
}

.visit-tags__card {
  width: 100%;
  height: fit-content;
  padding: 1rem;
  border: 1px solid #eee;
  border-radius: 0.5rem;
}
.visit-tags__card .buttons-container {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.5rem;
}

.visit-tags__form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 1rem;
}

.visit-tags__popup .close {
  top: 0;
  right: 0;
  position: absolute;
}

.client-communication__header {
  width: 100%;
  height: fit-content;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 1rem;
}
.client-communication__header .date-time__container {
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 0.5rem;
}
.client-communication__header .date-time__container .input-group {
  width: 100%;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.5rem;
}
.client-communication__header .date-time__container .input-group label {
  min-width: 130px;
  display: inline-block;
  white-space: nowrap;
}
.client-communication__header .client-communication__comment {
  width: 100%;
  height: fit-content;
  font-size: 0.75rem;
  color: #aaaaaa;
}

.client-communication__body {
  width: 100%;
  height: fit-content;
}

.client-communication__table {
  width: 100%;
  height: fit-content;
}

.communication-table__body {
  width: 100%;
}

.communication-table__header,
.communication-table__body-row {
  width: 100%;
  height: fit-content;
  display: grid;
  grid-template-columns: 1fr 2fr 5fr;
}

.communication-table__header {
  border-bottom: 2px solid #eee;
}

.communication-table__header-cell {
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-bottom: 2px solid #eee;
  border-right: 1px solid #eee;
}

.communication-table__body-cell {
  padding: 0.5rem;
  font-size: 0.875rem;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 0.25rem;
  border-right: 1px solid #eee;
}
.communication-table__body-cell .records-block {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 0.25rem;
}
.communication-table__body-cell .record-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.2rem;
}

.communication-table__body-row {
  background-color: #fff;
  border-bottom: 1px solid #eee;
}
.communication-table__body-row.outgoing {
  background-color: #fff;
}
.communication-table__body-row.incoming {
  background-color: #EAFBEC;
}
.communication-table__body-row.missed_outgoing {
  background-color: #e3e3e3;
}
.communication-table__body-row.missed_incoming {
  background-color: rgba(248, 190, 185, 0.7);
}

.section-body__inventory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .section-body__inventory {
    grid-template-columns: 1fr;
  }
}
.company-branch-settings-form {
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 1rem;
}
.company-branch-settings-form .input-group {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.5rem;
}
.company-branch-settings-form .input-group label {
  width: 50%;
  display: inline-block;
}
.company-branch-settings-form .input-group .input {
  max-width: 50%;
}
.company-branch-settings-form .button.button__text {
  width: 100%;
}

.salary-payments__table {
  width: 100%;
  height: fit-content;
}
.salary-payments__table .container__title, .salary-payments__table .container__lists {
  grid-template-columns: 1fr 2fr 1fr;
}

.calendar {
  width: 196px;
  height: fit-content;
  margin: 0 auto;
  box-sizing: border-box;
  color: #505050;
  background-color: #fff;
  user-select: none;
}

.calendar-container {
  width: 100%;
  max-width: 196px;
  height: 100%;
  position: relative;
}

.calendar-table {
  width: 100%;
  max-width: 196px;
  border-collapse: collapse;
  border: none;
  display: block;
}

.table-head {
  width: 100%;
  max-width: 196px;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}
.table-head .month-year {
  font-size: 0.875rem;
  line-height: 1.15;
  color: #393939;
}

.calendar-header-row {
  width: 100%;
  height: 28px;
  margin-bottom: 0.5rem;
  color: #AFAFAF;
  display: grid;
  grid-template-columns: repeat(7, 28px);
  gap: 0;
}

.calendar-header-cell {
  width: 28px;
  height: 100%;
  padding: 5px;
}

.calendar-date {
  width: 28px;
  height: 28px;
  padding: 2px;
  border-radius: 0.5rem;
  color: #393939;
  font-size: 0.875rem;
  text-align: center;
  line-height: 1.4;
  cursor: pointer;
  justify-content: center;
  border: 2px solid transparent;
}
.calendar-date.active {
  background-color: #2788F2;
  color: #fff;
}
.calendar-date.active:hover {
  background-color: #57A3F5;
  color: #fff;
}
.calendar-date:active {
  background-color: #2788F2;
  color: #fff;
}
.calendar-date.disabled {
  color: #AFAFAF;
  pointer-events: none;
}
.calendar-date:hover {
  background-color: #f5f5f5;
}
.calendar-date.current-date {
  border: 1px solid #505050;
  line-height: 1.5;
}
.calendar-date.workday {
  border: 1px solid #4EBF68;
  color: #4EBF68;
}

.calendar-test {
  width: 100%;
  max-width: 340px;
  color: #505050;
}

.date-picker {
  display: inline-block;
  position: relative;
}

.date-picker .week-days div {
  width: 32px;
  text-align: center;
}

.date-picker .dates {
  gap: 0;
  display: grid;
  grid-template-columns: repeat(7, 28px);
}

.date-picker .prev-month,
.date-picker .next-month {
  cursor: pointer;
  background-color: #fff;
}
.date-picker .prev-month .icon i::before,
.date-picker .next-month .icon i::before {
  background-color: #393939;
}

.date-picker .prev-month {
  left: 0;
}

.date-picker .next-month {
  right: 0;
}

.prev-month-day {
  opacity: 0;
}

@media (max-width: 1440px) {
  .calendar {
    width: 168px;
  }
  .table-head {
    max-width: 168px;
  }
  .month-year {
    font-size: 0.75rem;
  }
  .calendar-header-row {
    height: 24px;
    grid-template-columns: repeat(7, 24px);
  }
  .date-picker .week-days div {
    width: 24px;
  }
  .calendar-header-cell {
    font-size: 0.75rem;
  }
  .date-picker .dates {
    grid-template-columns: repeat(7, 24px);
  }
  .calendar-date {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }
}
.mobile-calendar {
  width: 460px;
  height: fit-content;
  padding: 0.25rem;
  margin: 0 auto;
  background-color: #505050;
  border-radius: 0.5rem;
  display: none;
  overflow-x: auto;
  justify-content: left;
  gap: 0.25rem;
  align-items: center;
  position: sticky;
  z-index: 1005;
  bottom: 2rem;
}
.mobile-calendar::-webkit-scrollbar {
  display: none;
}

.mobile-calendar__month {
  width: fit-content;
  display: flex;
  justify-content: left;
  gap: 0.25rem;
  align-items: center;
}

.mobile-calendar__date {
  width: 40px;
  min-width: 40px;
  padding: 0.25rem;
  border-radius: 0.5rem;
  border: 1px solid #505050;
  background-color: #505050;
  color: #fff;
  font-size: 0.875rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}
.mobile-calendar__date:hover {
  background-color: #0A56A8;
  border: 1px solid #0A56A8;
}
.mobile-calendar__date:active {
  background-color: #57A3F5;
  color: #fff;
}
.mobile-calendar__date span {
  display: inline-block;
}
.mobile-calendar__date.selected-date {
  background-color: #57A3F5;
  color: #fff;
}
.mobile-calendar__date.current-date {
  border: 1px solid #fff;
}
.mobile-calendar__date.weekend {
  color: #F8BEB9;
}
.mobile-calendar__date.disabled {
  color: #eee;
  pointer-events: none;
}

@media (max-width: 768px) {
  .mobile-calendar {
    display: flex;
  }
}
@media (max-width: 480px) {
  .mobile-calendar {
    width: 336px;
    padding: 0.25rem;
    bottom: 8rem;
  }
  .mobile-calendar__date {
    width: 44px;
    min-width: 44px;
    padding: 2px;
    font-size: 0.75rem;
  }
}
.button {
  width: fit-content;
  border-radius: 0.5rem;
  font-family: inherit;
  display: flex;
  justify-content: center;
  align-items: center;
}
.button.button__add {
  max-width: 105px;
}
.button.button__add.small {
  max-width: 87px;
}
.button:disabled {
  cursor: default;
}

.button__classic {
  width: fit-content;
  height: fit-content;
}
.button__classic.bgc-disabled {
  color: #c6c6c6;
}
.button__classic.large {
  padding: 1rem 1.5rem;
  gap: 1rem;
  font-size: 0.875rem;
}
.button__classic.medium {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  gap: 0.75rem;
}
.button__classic.small {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  gap: 0.5rem;
}
.button__classic:hover {
  background-color: #57A3F5;
}
.button__classic:focus {
  background-color: #57A3F5;
}
.button__classic:disabled {
  background-color: #eee;
  color: #c6c6c6;
}
.button__classic:disabled .icon i::before {
  background-color: #c6c6c6;
}
.button__classic:active, .button__classic.active {
  background-color: #0D6FD8;
}
.button__classic.bgc-light-grey:hover {
  background-color: #eee;
}
.button__classic.bgc-light-grey:active {
  background-color: #e3e3e3;
  color: #8e8e8e;
}
.button__classic.bgc-light-grey.active {
  background-color: #2788F2;
  color: #fff;
}
.button__classic.bgc-light-grey:focus {
  background-color: #eee;
}

.button__text {
  width: fit-content;
  height: 2rem;
  font-size: 0.75rem;
  white-space: nowrap;
}
.button__text:hover {
  background-color: #57A3F5;
}
.button__text:focus {
  background-color: #57A3F5;
}
.button__text:disabled {
  background-color: #eee;
  color: #c6c6c6;
}
.button__text.bgc-light-grey:hover {
  background-color: #eee;
  color: #505050;
}
.button__text.bgc-light-grey:focus {
  background-color: #eee;
  color: #505050;
}
.button__text.bgc-light-grey:active, .button__text.bgc-light-grey.active {
  background-color: #2285D5;
  color: #fff;
}
.button__text.bgc-light-grey:active .icon i::before, .button__text.bgc-light-grey.active .icon i::before {
  background-color: #fff;
}
.button__text.bgc-light-grey:disabled {
  color: rgba(80, 80, 80, 0.3);
}
.button__text.large {
  height: fit-content;
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
}
.button__text.medium {
  height: fit-content;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}
.button__text.small {
  height: fit-content;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
}
.button__text.border {
  background-color: #fff;
  border: 1px solid #e3e3e3;
  gap: 0.5rem;
}
.button__text.border .icon i::before {
  background-color: #505050;
}

.button__add {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.button__add.medium {
  height: 2.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}
.button__add.small {
  height: 2rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
}
.button__add.border-grey {
  background-color: #fff;
  border: 1px solid #b9b9b9;
}
.button__add.border-black {
  background-color: #fff;
  border: 1px solid #505050;
}
.button__add:hover {
  border: 1px solid #505050;
  color: #505050;
}
.button__add:hover .icon i::before {
  background-color: #505050;
}
.button__add:focus {
  border: 1px solid #505050;
  color: #505050;
}
.button__add:focus .icon i::before {
  background-color: #505050;
}
.button__add:disabled {
  background-color: #eee;
  border: none;
  color: #cdcdcd;
}
.button__add:disabled .icon i::before {
  background-color: #cdcdcd;
}
.button__add:active {
  background-color: #eee;
}

.button.button__menu {
  width: 100%;
  max-width: 276px;
  height: 48px;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: start;
  position: relative;
}
.button.button__menu.medium {
  height: 40px;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  line-height: 1.25;
}
.button.button__menu.small {
  height: 36px;
  padding: 0.5rem;
  font-size: 0.875rem;
  gap: 0.5rem;
}
.button.button__menu:hover {
  background-color: #f8f8f8;
}
.button.button__menu:active, .button.button__menu.active {
  background-color: #E7F2FE;
  color: #2788F2;
}
.button.button__menu:active .icon i::before, .button.button__menu.active .icon i::before {
  background-color: #2788F2;
}
.button.button__menu:active.medium.full::before, .button.button__menu.active.medium.full::before {
  content: "";
  width: 6px;
  height: 100%;
  display: block;
  background-color: #2788F2;
  border-radius: 0 6px 6px 0;
  position: absolute;
  right: 0px;
}
.button.button__menu:active.full::before, .button.button__menu.active.full::before {
  content: "";
  width: 6px;
  height: 48px;
  display: block;
  background-color: #2788F2;
  border-radius: 0 6px 6px 0;
  position: absolute;
  right: 0px;
}
.button.button__menu:disabled, .button.button__menu.disabled {
  color: rgba(80, 80, 80, 0.3);
  pointer-events: none;
  cursor: default;
}
.button.button__menu:disabled .icon i::before, .button.button__menu.disabled .icon i::before {
  background-color: rgba(80, 80, 80, 0.3);
}
.button.button__menu.delete {
  color: #EA3B2E;
}
.button.button__menu.delete .icon i::before {
  background-color: #EA3B2E;
}
.button.button__menu.delete:hover {
  background-color: #FDE9E7;
}
.button.button__menu.delete:disabled, .button.button__menu.delete.disabled {
  color: rgba(80, 80, 80, 0.3);
  pointer-events: none;
  cursor: default;
}
.button.button__menu.delete:disabled .icon i::before, .button.button__menu.delete.disabled .icon i::before {
  background-color: rgba(80, 80, 80, 0.3);
}

.button__dropdown {
  width: 100%;
  height: 3.5rem;
  gap: 0.75rem;
}

.icon-square {
  background-color: #fff;
  border-radius: 0.5rem;
  border: 1px solid #fff;
}
.icon-square .icon {
  pointer-events: none;
}
.icon-square .icon i::before {
  background-color: #505050;
}
.icon-square:hover {
  background-color: #f8f8f8;
  border: 1px solid #f8f8f8;
}
.icon-square:hover .icon i::before {
  background-color: #505050;
}
.icon-square:active, .icon-square.active {
  border: 1px solid #2788F2;
  background-color: #E7F2FE;
}
.icon-square:active .icon i::before, .icon-square.active .icon i::before {
  background-color: #2788F2;
}
.icon-square:disabled, .icon-square.disabled {
  background-color: #eee;
}
.icon-square:disabled .icon i::before, .icon-square.disabled .icon i::before {
  background-color: rgba(80, 80, 80, 0.3);
}
.icon-square.border {
  border: 1px solid #e3e3e3;
}
.icon-square.border:hover {
  background-color: #f8f8f8;
  border: 1px solid #e3e3e3;
}
.icon-square.border:hover .icon i::before {
  background-color: #505050;
}
.icon-square.border:active {
  border: 1px solid #2788F2;
  background-color: #E7F2FE;
}
.icon-square.border:active .icon i::before {
  background-color: #2788F2;
}
.icon-square.border.active {
  border: 1px solid #2788F2;
  background-color: #E7F2FE;
}
.icon-square.border.active .icon i::before {
  background-color: #2788F2;
}
.icon-square.large {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-square.medium {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-square.small {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-square-dropdown {
  width: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid #e3e3e3;
  border-radius: 0.5rem;
  background-color: #fff;
  color: #505050;
}
.icon-square-dropdown span {
  display: inline-block;
  font-size: 1rem;
  line-height: 1.25rem;
  white-space: nowrap;
}
.icon-square-dropdown:hover {
  background-color: #f8f8f8;
}
.icon-square-dropdown:active, .icon-square-dropdown.active {
  border: 1px solid #2788F2;
  background-color: #E7F2FE;
}
.icon-square-dropdown:active .icon i::before, .icon-square-dropdown.active .icon i::before {
  background-color: #2788F2;
}
.icon-square-dropdown:active .icon.arrow, .icon-square-dropdown.active .icon.arrow {
  transform: rotate(180deg);
}
.icon-square-dropdown .icon {
  display: inline-block;
  pointer-events: none;
}
.icon-square-dropdown .icon i::before {
  background-color: rgba(80, 80, 80, 0.3);
}
.icon-square-dropdown.large {
  height: 56px;
  padding: 1rem;
}
.icon-square-dropdown.medium {
  height: 44px;
  padding: 0.75rem 1rem;
}
.icon-square-dropdown.small {
  height: 32px;
  padding: 0.5rem;
}
.icon-square-dropdown.small span {
  font-size: 0.75rem;
}
.icon-square-dropdown.two-icons .icon:first-child i::before {
  background-color: #505050;
}
.icon-square-dropdown.two-icons:active, .icon-square-dropdown.two-icons.active {
  border: 1px solid #2788F2;
  background-color: #E7F2FE;
}
.icon-square-dropdown.two-icons:active .icon i::before, .icon-square-dropdown.two-icons.active .icon i::before {
  background-color: #2788F2;
}
.icon-square-dropdown.two-icons.medium {
  padding: 0.75rem;
}
.icon-square-dropdown:disabled, .icon-square-dropdown.disabled {
  background-color: #eee;
}
.icon-square-dropdown:disabled .icon i::before, .icon-square-dropdown.disabled .icon i::before {
  background-color: rgba(80, 80, 80, 0.3);
}

.button__counter {
  width: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.875rem;
  border-radius: 0.5rem;
  border: 1px solid #e3e3e3;
}
.button__counter .icon i::before {
  background-color: #505050;
}
.button__counter.large {
  height: 56px;
  padding: 1rem 1rem;
}
.button__counter.medium {
  height: 44px;
  padding: 0.75rem 1rem;
}
.button__counter.small {
  gap: 0.5rem;
  height: 32px;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}
.button__counter:disabled, .button__counter.disabled {
  background-color: #eee;
}
.button__counter:disabled .icon i::before, .button__counter.disabled .icon i::before {
  background-color: rgba(80, 80, 80, 0.3);
}

.button__switch {
  width: fit-content;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #505050;
  border: 1px solid #e3e3e3;
  border-radius: 0.5rem;
}
.button__switch.large {
  padding: 1rem 1rem;
  font-size: 1rem;
}
.button__switch.medium {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}
.button__switch.small {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
}
.button__switch:disabled, .button__switch.disabled {
  background-color: #eee;
}
.button__switch.chat span {
  width: 83.7px;
}

.button__chip {
  width: fit-content;
  height: 32px;
  padding: 0.5rem 0.75rem;
  border-radius: 40px;
  display: inline-block;
  font-size: 14px;
}
.button__chip.default {
  background-color: #eee;
  color: #8e8e8e;
}
.button__chip.default .icon {
  display: none;
}
.button__chip.select {
  background-color: #2788F2;
  color: #fff;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  align-items: center;
}
.button__chip.select .icon {
  display: block;
}
.button__chip.select .icon i::before {
  background-color: #fff;
}

.button__border {
  width: 100%;
  height: 44px;
  padding: 0.75rem 1rem;
  display: inline-block;
  border: 1px solid #e3e3e3;
  border-radius: 0.5rem;
  background-color: #fff;
  color: #505050;
  font-size: 1rem;
}
.button__border:hover {
  background-color: #f8f8f8;
}
.button__border:active {
  border: 1px solid #2788F2;
  background-color: #E7F2FE;
}
.button__border:disabled {
  background-color: #eee;
}

.icon-btn {
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}
.icon-btn.transform {
  transform: rotate(180deg);
}
.icon-btn .icon {
  pointer-events: none;
}
.icon-btn.visit-menu-close {
  display: none !important;
}

.button__text-arrow {
  width: fit-content;
  height: fit-content;
  color: #2285D5;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 0.5rem;
  flex-wrap: nowrap;
}
.button__text-arrow span {
  display: inline-block;
  white-space: nowrap;
  pointer-events: none;
}
.button__text-arrow .icon {
  pointer-events: none;
}
.button__text-arrow .icon i::before {
  background-color: #2285D5;
}
.button__text-arrow.small {
  font-size: 0.75rem;
  gap: 0.25rem;
}
.button__text-arrow.small span {
  height: 16px;
}
.button__text-arrow:hover {
  color: #57A3F5;
}
.button__text-arrow:hover .icon i::before {
  background-color: #57A3F5;
}
.button__text-arrow:active, .button__text-arrow.active {
  color: #0D6FD8;
}
.button__text-arrow:active .icon, .button__text-arrow.active .icon {
  transform: rotate(180deg);
}
.button__text-arrow:active .icon i::before, .button__text-arrow.active .icon i::before {
  background-color: #0D6FD8;
}

@media (max-width: 768px) {
  .button__border {
    width: fit-content;
    height: fit-content;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
  .button__text.large {
    height: fit-content;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }
  .button__text.medium {
    height: fit-content;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
  .button__text.small {
    height: fit-content;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
  .icon-square {
    background-color: #fff;
    border-radius: 0.5rem;
    border: 1px solid #fff;
  }
  .icon-square.large {
    width: 44px;
    height: 44px;
    padding: 0.75rem;
  }
  .icon-square.medium {
    width: 32px;
    height: 32px;
    padding: 0.5rem;
  }
  .icon-square.small {
    width: 32px;
    height: 32px;
    padding: 0.5rem;
  }
  .icon-square .icon.large {
    width: 20px;
    min-width: 20px;
    height: 20px;
  }
  .icon-square .icon.medium {
    width: 16px;
    min-width: 16px;
    height: 16px;
    display: block;
  }
  .button__classic.large {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    gap: 0.75rem;
  }
  .button__classic.medium {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    gap: 0.5rem;
  }
  .button__classic .icon.large {
    width: 20px;
    min-width: 20px;
    height: 20px;
  }
  .button__classic .icon.medium {
    width: 16px;
    min-width: 16px;
    height: 16px;
    display: block;
  }
  .button__switch.large {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }
  .button__switch.medium {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
  .button__switch .icon.large {
    width: 20px;
    min-width: 20px;
    height: 20px;
  }
  .button__switch .icon.medium {
    width: 16px;
    min-width: 16px;
    height: 16px;
    display: block;
  }
  .icon-square-dropdown.two-icons.medium {
    width: fit-content;
    height: fit-content;
    padding: 0.5rem;
  }
  .icon-square-dropdown.two-icons.medium .icon.medium {
    width: 16px;
    min-width: 16px;
    height: 16px;
  }
}
.text-blue {
  color: #2788F2;
}

.text-green {
  color: #4EBF68;
}

.text-red {
  color: #E43535;
}

.text-orange {
  color: #E69234;
}

.text-orange-2 {
  color: #f78D22;
}

.text-yellow {
  color: #C3C31B;
}

.text-light-yellow {
  color: #FFF5B3;
}

.text-white {
  color: #fff;
}

.text-black {
  color: #505050;
}

.text-grey {
  color: #eee;
}

.text-light-grey {
  color: #f8f8f8;
}

.text-icon-grey {
  color: #c6c6c6;
}

.text-disabled {
  color: rgba(80, 80, 80, 0.3);
}

.text-border-grey {
  color: #b9b9b9;
}

.text-grey-2 {
  color: #cdcdcd;
}

.text-purple {
  color: #52149F;
}

/* Как добавить новую иконку:

1. Добавляем файл svg в папку с иконками
2. В файле с иконкой меняем ширину и высоту иконки на 100%
3. Добавляем название иконки в $icon-names

4. Добавляем иконку в html файл. Пример: <div class="icon large"><i class="icon-ab-arrow-down icon-color-blue"></i></div>
                                        large/medium/small - нужный размер иконки
                                        icon-color-blue - нужный цвет иконки

Если нет нужных размеров или цветов, можно добавить новые

Цвета также можно задавать исходя из стилей родительского элемента
Пример:
    .button-green{
        & .icon i::before {
            background-color: green;
        }
    }
*/
.icon-ab-coin-share::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/coin-share.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-add-circle::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/add-circle.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-add-square::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/add-square.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-check-square::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/check-square.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-minus-square::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/minus-square.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-padlock-square::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/padlock-square.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-credit-card::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/credit-card.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-arrow-left::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/arrow left.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-arrow-right::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/arrow right.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-arrow-down::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/arrow down.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-blank-calendar::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/blank-calendar.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-calendar-edit::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/calendar-edit.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-user-multiple-group::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/user-multiple-group.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-no-poverty::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/no-poverty.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-eye-open-visible::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/eye open visible.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-eye-close-invisible::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/eye close invisible.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-graph::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/graph.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-dollar-coin::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/dollar-coin.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-calculator::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/calculator.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-warehouse::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/warehouse.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-arrow-left-circle::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/arrow left circle.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-arrow-right-circle::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/arrow right circle.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-information-circle::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/information-circle.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-circle-clock::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/circle-clock.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-link-chain::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/link-chain.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-calendar-jump::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/calendar-jump.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-check-circle::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/check-circle.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-user-check-validate::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/user-check-validate.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-user-profile-focus::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/user-profile-focus.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-receipt-check::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/receipt-check.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-delete::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/delete.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-delete-cross::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/delete cross.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-user-single::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/user-single.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-funnel-filter::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/funnel filter.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-add-user-people::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/add user people.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-subtract::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/subtract.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-add::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/add.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-chat-two-bubbles::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/chat-two-bubbles.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-user-remove::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/user-remove.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-check::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/check.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-browser-delete::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/browser-delete.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-whatsapp-logo::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/whatsapp-logo.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-telegram-logo::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/telegram-logo.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-instagram-logo::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/instagram-logo.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-chat-bubble-typing::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/chat-bubble-typing.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-logout-exit::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/logout exit.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-layout-window::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/layout-window.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-arrow-push-right::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/arrow push right.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-arrow-push-left::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/arrow push left.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-arrows-expand::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/arrows expand.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-recycle-bin::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/recycle-bin.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-browser-check::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/browser-check.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-hand-held-tablet::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/hand-held-tablet.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-archive-box::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/archive-box.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-user-sync::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/user-sync.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-cashflow::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/cashflow.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-paperclip::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/paperclip.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-menu::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/menu.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-dots-menu::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/dots menu.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-arrow-up::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/arrow-up.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-settings::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/settings.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-dashboard::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/dashboard.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-chat-bubble::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/chat-bubble.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-payment-cash::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/payment-cash.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-is-new-icon::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/is-new-icon.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-phone::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/phone.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-incoming-call::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/incoming-call.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-missed-call::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/missed-call.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-outgoing-call::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/outgoing-call.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-save-disk::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/save-disk.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-camera::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/camera.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon-ab-wallet::before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url("../images/icons/wallet.svg");
  background-repeat: no-repeat;
  display: block;
  background-color: #fff;
}

.icon {
  display: inline-block;
}

.icon.large {
  width: 24px;
  min-width: 24px;
  height: 24px;
}

.icon.medium {
  width: 20px;
  min-width: 20px;
  height: 20px;
  display: block;
}

.icon.small {
  width: 16px;
  min-width: 16px;
  height: 16px;
}

.icon.x-small {
  width: 12px;
  min-width: 12px;
  height: 12px;
}

.icon.payment-size {
  width: 170px;
  height: 170px;
}

.icon-color-black::before {
  background-color: #505050;
}

.icon-color-white::before {
  background-color: #fff;
}

.icon-color-white-opacity::before {
  background-color: rgba(255, 255, 255, 0.3);
}

.icon-color-blue::before {
  background-color: #2788F2;
}

.icon-color-dark-blue-opacity::before {
  background-color: rgba(10, 86, 168, 0.7);
}

.icon-color-grey::before {
  background-color: #c6c6c6;
}

.icon-color-disabled::before {
  background-color: rgba(80, 80, 80, 0.3);
}

.icon-color-border-grey::before {
  background-color: #b9b9b9;
}

.icon-color-text-grey-2::before {
  background-color: #cdcdcd;
}

.icon-color-red::before {
  background-color: #E43535;
}

.icon-color-green::before {
  background-color: #4EBF68;
}

.icon-color-orange::before {
  background-color: #E69234;
}

.icon-color-yellow::before {
  background-color: #C3C31B;
}

.icon-color-purple::before {
  background-color: #52149F;
}

.icon-color-inst::before {
  background: linear-gradient(to top, rgb(224, 155, 61), rgb(199, 76, 77), rgb(194, 25, 117), #7024c4);
}

.status-tag {
  width: 100%;
  max-width: 78px;
  height: 24px;
  padding: 0.25rem 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  border-radius: 0.375rem;
}
.status-tag.small {
  max-width: 64px;
  padding: 0.25rem 0.25rem;
  font-size: 0.75rem;
}

.status-tag-text {
  height: 24px;
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
}

.tag {
  width: fit-content;
  height: 24px;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  border-radius: 0.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
}
.tag.border-red {
  border: 1px solid #E43535;
}
.tag.border-green {
  border: 1px solid #4EBF68;
}
.tag.border-yellow {
  border: 1px solid #C3C31B;
}
.tag.border-blue {
  border: 1px solid #2788F2;
}

.text-tag {
  width: 27px;
  height: 14px;
  padding: 3px 6px;
  margin-left: 4px;
  border-radius: 3px;
  display: inline-block;
  vertical-align: middle;
  font-size: 7px;
  text-align: center;
}
.text-tag .bgc-dark-blue {
  color: #fff;
}

.count-tag {
  width: fit-content;
  height: fit-content;
  padding: 6px 8px;
  font-size: 0.875rem;
  line-height: 1.15;
  text-align: center;
  border: 1px solid #e3e3e3;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}
.count-tag.default {
  color: #393939;
}
.count-tag.default .icon i::before {
  background-color: #393939;
}
.count-tag.green {
  color: #1D942B;
}
.count-tag.green .icon i::before {
  background-color: #1D942B;
}
.count-tag.yellow {
  color: #B29C01;
}
.count-tag.yellow .icon i::before {
  background-color: #B29C01;
}
.count-tag.red {
  color: #A31C0F;
}
.count-tag.red .icon i::before {
  background-color: #A31C0F;
}

.payment-amount-tag {
  width: 100%;
  min-width: fit-content;
  height: fit-content;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  color: #393939;
  font-size: 0.875rem;
  line-height: 1.15;
  border: 1px solid #e3e3e3;
  border-radius: 120px;
}
.payment-amount-tag .icon i::before {
  background-color: #393939;
}

.fired-tag {
  width: fit-content;
  height: fit-content;
  background-color: #E43535;
  color: #fff;
  border-radius: 0.5rem;
  position: absolute;
  top: 8px;
  right: 8px;
}
.fired-tag.large {
  padding: 1rem 1.25rem;
  font-size: 1rem;
}
.fired-tag.medium {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}
.fired-tag.small {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
}

.non-working-tag {
  width: fit-content;
  max-width: 100px;
  height: fit-content;
  padding: 2px 4px;
  font-size: 10px;
  color: #505050;
  border-radius: 0.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  position: absolute;
  top: 0;
  right: 0;
}
.non-working-tag.non_working_day, .non-working-tag.non_working_day_with_visits {
  background-color: transparent;
  border: 1px dashed rgba(80, 80, 80, 0.3);
}
.non-working-tag.sick {
  background-color: rgba(183, 215, 251, 0.5);
  border: 1px dashed #2788F2;
}
.non-working-tag.vacation {
  background-color: rgba(215, 187, 247, 0.5);
  border: 1px dashed #52149F;
}
.non-working-tag.a_day_of_at_your_own_expense {
  background-color: rgba(255, 245, 179, 0.5);
  border: 1px dashed #C3C31B;
}
.non-working-tag.absence {
  background-color: rgba(248, 190, 185, 0.5);
  border: 1px dashed #E43535;
}
.non-working-tag.paid_day_off {
  background-color: rgba(255, 245, 179, 0.5);
  border: 1px dashed #C3C31B;
}

@media (max-width: 768px) {
  .non-working-tag {
    width: fit-content;
    max-width: 66px;
    height: fit-content;
    padding: 0.1rem 0.2rem;
    font-size: 0.5rem;
    top: 4px;
    right: 4px;
  }
  .fired-tag {
    top: 4px;
    right: 4px;
  }
  .fired-tag.large {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }
  .fired-tag.medium {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
  .fired-tag.small {
    padding: 0.1rem 0.35rem;
    font-size: 0.5rem;
    top: 2px;
    right: 2px;
  }
}
.user-container {
  width: 100%;
  height: 52px;
  position: relative;
  border-bottom: 1px solid #eee;
}

.user-button {
  cursor: pointer;
}
.user-button:hover {
  background-color: #fbfbfb;
}
.user-button:active, .user-button.active {
  background-color: #f8f8f8;
}
.user-button:active .icon, .user-button.active .icon {
  transform: rotate(180deg);
}

.user-info {
  width: 100%;
  padding: 0.72rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  background-color: #fff;
}

.user-avatar {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  overflow: hidden;
}
.user-avatar img,
.user-avatar .user-logo {
  width: 100%;
  height: 100%;
}

.user-contacts {
  font-size: 0.75rem;
  line-height: 1.15;
  text-align: left;
  max-width: 100px;
  overflow: hidden;
}

.user-email {
  font-size: 0.75rem;
  overflow: hidden;
  max-width: 100px;
  text-overflow: ellipsis;
}

.user-name {
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-dropdown {
  width: fit-content;
  height: fit-content;
  padding: 0.5rem;
  border-radius: 1rem;
  border: 1px solid #eee;
  background-color: #fff;
  position: absolute;
  z-index: 121;
  top: 165px;
  flex-direction: column;
  gap: 0.5rem;
}

.users-list {
  width: 100%;
  height: fit-content;
}

.available-users__list {
  width: 100%;
  height: fit-content;
}
.available-users__list .users-list__item {
  width: 100%;
  height: fit-content;
  border-bottom: 1px solid #eee;
  position: relative;
}
.available-users__list .users-list__item.selected {
  font-weight: 600;
  background-color: #E7F2FE;
}
.available-users__list .users-list__item.selected .user-contacts {
  color: #2788F2;
}
.available-users__list .users-list__item.selected .user-info {
  background-color: #E7F2FE;
}
.available-users__list .users-list__item .user-info {
  width: fit-content;
  padding: 0.75rem 3rem 0.75rem 1rem;
  justify-content: start;
}
.available-users__list .users-list__item .user-info:hover {
  background-color: #fbfbfb;
}
.available-users__list .users-list__item .icon-btn {
  position: absolute;
  top: calc(50% - 10px);
  right: 20px;
}

.input {
  width: 100%;
  height: fit-content;
  padding: 0.75rem 0.75rem 0.75rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  background-color: #eee;
  display: block;
  font-size: 0.875rem;
  color: #393939;
  line-height: 115%;
  text-align: left;
  position: relative;
}
.input::placeholder {
  color: #8e8e8e;
  font-size: 0.875rem;
  line-height: 1.15;
}
.input:focus {
  outline: none;
  border: 1px solid #2788F2;
  box-shadow: 0 0 3px #E7F2FE;
}
.input .icon {
  position: absolute;
  top: calc(50% - 10px);
  right: 12px;
}
.input .icon i::before {
  background-color: #8e8e8e;
}

.input-date {
  width: 260px;
  height: 40px;
  padding: 0.75rem 0.75rem 0.75rem 1rem;
  border-radius: 0.5rem;
  border: none;
  background-color: #f8f8f8;
  color: #505050;
  font-size: 14px;
  display: block;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.input-date::placeholder {
  font-size: 14px;
  color: rgba(80, 80, 80, 0.3);
}

.input-date-box {
  width: 100%;
  max-width: 260px;
  height: 100%;
  margin-bottom: 10px;
  position: relative;
}
.input-date-box .position {
  width: 40px;
  height: 40px;
  padding: 8px;
  position: absolute;
  top: 0px;
  right: 4px;
  cursor: pointer;
}

.checkbox-container {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.5rem;
}
.checkbox-container label {
  display: inline-block;
}

.input-color {
  width: 30px;
  min-width: 30px;
  height: 30px;
  border: none;
  background-color: transparent;
}

.client-card .client-card__box {
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
}
.client-card .information-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10;
}
.client-card.small {
  width: 100%;
  height: 184px;
  padding: 4px 4px 0px 4px;
  border-radius: 0.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
  position: relative;
  user-select: none;
  z-index: 20;
}
.client-card.small:hover {
  padding-top: 4px;
}
.client-card.small.active {
  z-index: 1000;
  min-height: 184px;
}
.client-card.small .attachment-icon {
  position: absolute;
  top: 8px;
  right: 22px;
  z-index: 10;
  display: none;
}
.client-card.small.has-attachments {
  width: 100%;
}
.client-card.small.has-attachments .visit-time {
  max-width: 70px;
}
@media (max-width: 125px) {
  .client-card.small.has-attachments .visit-time {
    max-width: 70px;
  }
}
.client-card.small.has-attachments .attachment-icon {
  display: block;
}
.client-card.small.has-attachments .attachment-icon i.icon-ab-camera::before {
  background-color: #42D751;
}
.client-card.small.has-old-attachments {
  width: 100%;
}
.client-card.small.has-old-attachments .visit-time {
  max-width: 70px;
}
@media (max-width: 125px) {
  .client-card.small.has-old-attachments .visit-time {
    max-width: 70px;
  }
}
.client-card.small.has-old-attachments .attachment-icon {
  display: block;
}
.client-card.small.has-old-attachments .attachment-icon i.icon-ab-camera::before {
  background-color: #ddd;
}
.client-card.small .card-container {
  width: 100%;
}
.client-card.small .card-container .icon.small:first-child {
  pointer-events: none;
}
.client-card.small .card-container .icon.small:nth-child(3) {
  position: absolute;
  top: calc(50% - 8px);
  right: 8px;
}
.client-card.small .card-container .visit-time {
  pointer-events: none;
}
.client-card.small .card-container .client-info {
  pointer-events: none;
  padding-left: 6px;
}
.client-card.small .card-container .comment {
  pointer-events: none;
  padding-left: 6px;
}
.client-card.small.default {
  background-color: rgba(183, 215, 251, 0.7);
  border-left: 4px solid #0A56A8;
  color: #042548;
}
.client-card.small.default .time-info {
  background-color: #0A56A8;
}
.client-card.small.default .visit-connect-number {
  color: rgba(10, 86, 168, 0.7);
}
.client-card.small.default .visit-info .icon i::before {
  background-color: rgba(10, 86, 168, 0.8);
}
.client-card.small.default .is-new-tag {
  background-color: #0A56A8;
}
.client-card.small.default .visit-tags {
  background-color: #fff;
  color: #042548;
}
.client-card.small.confirmed {
  background-color: rgba(215, 187, 247, 0.8);
  border-left: 4px solid #52149F;
  color: #230844;
}
.client-card.small.confirmed .time-info {
  background-color: #52149F;
}
.client-card.small.confirmed .visit-connect-number {
  color: rgba(82, 20, 159, 0.7);
}
.client-card.small.confirmed .visit-info .icon i::before {
  background-color: rgba(82, 20, 159, 0.7);
}
.client-card.small.confirmed .is-new-tag {
  background-color: #52149F;
}
.client-card.small.confirmed .visit-tags {
  background-color: #fff;
  color: #230844;
}
.client-card.small.came {
  background-color: rgba(192, 242, 197, 0.8);
  border-left: 4px solid #1D942B;
  color: #0E3F12;
}
.client-card.small.came .time-info {
  background-color: #1D942B;
}
.client-card.small.came .visit-connect-number {
  color: rgba(29, 148, 43, 0.7);
}
.client-card.small.came .visit-info .icon i::before {
  background-color: rgba(29, 148, 43, 0.7);
}
.client-card.small.came .is-new-tag {
  background-color: #1D942B;
}
.client-card.small.came .visit-tags {
  background-color: #fff;
  color: #0E3F12;
}
.client-card.small.paid {
  background-color: rgba(192, 238, 241, 0.8);
  border-left: 4px solid #208B92;
  color: #0E3C3F;
  position: relative;
  overflow: hidden;
}
.client-card.small.paid .time-info {
  background-color: #208B92;
}
.client-card.small.paid .visit-connect-number {
  color: rgba(32, 139, 146, 0.7);
}
.client-card.small.paid .visit-info .icon i::before {
  background-color: rgba(32, 139, 146, 0.7);
}
.client-card.small.paid .is-new-tag {
  background-color: #208B92;
}
.client-card.small.paid .visit-tags {
  background-color: #fff;
  color: #0E3C3F;
}
.client-card.small.paid:hover .paid-label {
  display: none;
  transition: 0.3s;
}
.client-card.small.rescheduling {
  background-color: rgba(255, 245, 179, 0.8);
  border-left: 4px solid #B29C01;
  color: #4D4300;
}
.client-card.small.rescheduling .time-info {
  background-color: #B29C01;
}
.client-card.small.rescheduling .visit-connect-number {
  color: rgba(178, 156, 1, 0.7);
}
.client-card.small.rescheduling .visit-info .icon i::before {
  background-color: rgba(178, 156, 1, 0.7);
}
.client-card.small.rescheduling .is-new-tag {
  background-color: #B29C01;
}
.client-card.small.rescheduling .visit-tags {
  background-color: #fff;
  color: #4D4300;
}
.client-card.small.cancel {
  background-color: rgba(248, 190, 185, 0.8);
  border-left: 4px solid #A31C0F;
  color: #460B07;
}
.client-card.small.cancel .time-info {
  background-color: #A31C0F;
}
.client-card.small.cancel .visit-connect-number {
  color: rgba(163, 28, 15, 0.7);
}
.client-card.small.cancel .visit-info .icon i::before {
  background-color: rgba(163, 28, 15, 0.7);
}
.client-card.small.cancel .is-new-tag {
  background-color: #A31C0F;
}
.client-card.small.cancel .visit-tags {
  background-color: #fff;
  color: #460B07;
}
.client-card.small.not-client.default, .client-card.small.not-client.confirmed, .client-card.small.not-client.came, .client-card.small.not-client.paid, .client-card.small.not-client.rescheduling, .client-card.small.not-client.cancel {
  background-color: rgba(227, 227, 227, 0.7);
  color: #1c1c1c;
}
.client-card.small.not-client.default .is-new-tag, .client-card.small.not-client.confirmed .is-new-tag, .client-card.small.not-client.came .is-new-tag, .client-card.small.not-client.paid .is-new-tag, .client-card.small.not-client.rescheduling .is-new-tag, .client-card.small.not-client.cancel .is-new-tag {
  background-color: #555555;
}
.client-card.small.not-client.default .visit-info .icon i::before, .client-card.small.not-client.confirmed .visit-info .icon i::before, .client-card.small.not-client.came .visit-info .icon i::before, .client-card.small.not-client.paid .visit-info .icon i::before, .client-card.small.not-client.rescheduling .visit-info .icon i::before, .client-card.small.not-client.cancel .visit-info .icon i::before {
  background-color: rgba(85, 85, 85, 0.7);
}
.client-card.small.not-client.default .visit-connect-number, .client-card.small.not-client.confirmed .visit-connect-number, .client-card.small.not-client.came .visit-connect-number, .client-card.small.not-client.paid .visit-connect-number, .client-card.small.not-client.rescheduling .visit-connect-number, .client-card.small.not-client.cancel .visit-connect-number {
  color: rgba(85, 85, 85, 0.7);
}
.client-card.small.not-client.default:hover, .client-card.small.not-client.confirmed:hover, .client-card.small.not-client.came:hover, .client-card.small.not-client.paid:hover, .client-card.small.not-client.rescheduling:hover, .client-card.small.not-client.cancel:hover {
  background-color: #e3e3e3;
}
.client-card.small.not-client.default:hover .visit-info .icon i::before, .client-card.small.not-client.confirmed:hover .visit-info .icon i::before, .client-card.small.not-client.came:hover .visit-info .icon i::before, .client-card.small.not-client.paid:hover .visit-info .icon i::before, .client-card.small.not-client.rescheduling:hover .visit-info .icon i::before, .client-card.small.not-client.cancel:hover .visit-info .icon i::before {
  background-color: #555555;
}
.client-card.small.not-client.default:hover .visit-connect-number, .client-card.small.not-client.confirmed:hover .visit-connect-number, .client-card.small.not-client.came:hover .visit-connect-number, .client-card.small.not-client.paid:hover .visit-connect-number, .client-card.small.not-client.rescheduling:hover .visit-connect-number, .client-card.small.not-client.cancel:hover .visit-connect-number {
  color: #555555;
}
.client-card.small.not-client.model .time-info, .client-card.small.not-client.employee .time-info {
  border-radius: 0.25rem;
  overflow: hidden;
}
.client-card.small.not-client.model .time-info:before, .client-card.small.not-client.employee .time-info:before {
  content: "";
  width: 4px;
  height: 40px;
  display: block;
  position: absolute;
  top: -8px;
  right: 38px;
  background-color: #fff;
  transform: rotate(30deg);
}
.client-card.small.not-client.employee .time-info:after {
  content: "";
  width: 4px;
  height: 40px;
  display: block;
  position: absolute;
  top: -8px;
  right: 31px;
  background-color: #fff;
  transform: rotate(30deg);
}
.client-card.small .resize-line {
  width: 100%;
  height: 8px;
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: transparent;
}
.client-card.small .resize-line:hover {
  cursor: ns-resize;
}
.client-card.small .time-info {
  width: 100%;
  height: 20px;
  padding: 0.25rem;
  margin-bottom: 8px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 0.25rem;
  font-size: 10px;
  color: #fff;
  position: relative;
  pointer-events: auto;
}
.client-card.small .time-info .visit-time {
  min-width: 30px;
  padding-right: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
  font-weight: 600;
}
.client-card.small .time-info .icon:last-child {
  position: absolute;
  top: 0.25rem;
  right: 0.5rem;
}
.client-card.small .time-info:hover {
  box-shadow: inset 0 0 0 2px #ffffff;
  transition: box-shadow 0.2s ease;
}
.client-card.small .client-name {
  margin-bottom: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.25rem;
}
.client-card.small .client-name span {
  display: inline-block;
}
.client-card.small .client-number {
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 600;
}
.client-card.small .comment {
  height: fit-content;
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 12px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
}
.client-card.small .services-list {
  width: 100%;
  height: fit-content;
  padding-left: 6px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 0.25rem;
}
.client-card.small .services-list .service-item {
  width: 100%;
  height: fit-content;
  font-size: 10px;
  font-weight: 600;
}
.client-card.small .visit-info {
  width: 100%;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
}
.client-card.small .visit-info .icon-color-prepayment::before {
  background-color: #f78d22 !important;
}
.client-card.small .visit-details {
  width: fit-content;
  height: 24px;
  padding: 2px 4px;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 0.25rem;
  border-radius: 70px;
}
.client-card.small .visit-connect {
  width: 100%;
  max-width: 44px;
  height: 20px;
  padding: 2px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  border-radius: 70px;
}
.client-card.small .visit-connect, .client-card.small .visit-details {
  background-color: rgba(255, 255, 255, 0.3);
}
.client-card.small .visit-connect-number {
  font-size: 12px;
  font-weight: 600;
}
.client-card.small .is-new-tag {
  padding: 4px 6px 3px;
  border-radius: 3px;
  font-size: 6px;
  line-height: 7px;
  font-family: inherit;
  font-weight: 600;
  text-align: center;
}
.client-card.small .is-new-tag .icon.small {
  height: 6px;
}
.client-card.compact {
  width: 220px;
  height: fit-content;
  padding: 0.75rem;
  border-radius: 0.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  user-select: none;
  cursor: pointer;
}
.client-card.compact::before {
  content: "";
  width: 8px;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 0.5rem 0 0 0.5rem;
}
.client-card.compact .visit-info, .client-card.compact .master-info {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 0.25rem;
}
.client-card.compact .visit-info .client-avatar-wrapper {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  pointer-events: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.client-card.compact .visit-info .client-avatar-wrapper img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
}
.client-card.compact .visit-info .client-name {
  font-size: 0.75rem;
  color: #505050;
}
.client-card.compact .visit-info .visit-time {
  font-size: 0.75rem;
  color: #8e8e8e;
  margin-right: 4px;
}
.client-card.compact .master-info .master-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.client-card.compact .master-info .master-avatar.small {
  width: 18px;
  height: 18px;
}
.client-card.compact .master-info .master-avatar img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
}
.client-card.compact .master-info .master-name {
  font-size: 0.75rem;
  color: #505050;
}
.client-card.compact .visit-comment {
  font-size: 0.75rem;
}
.client-card.compact .is-new-tag {
  padding: 4px 6px 3px;
  border-radius: 3px;
  font-size: 6px;
  line-height: 7px;
  font-family: inherit;
  font-weight: 600;
  text-align: center;
}
.client-card.compact .is-new-tag .icon.small {
  height: 6px;
}
.client-card.compact.rescheduling {
  background-color: #FFF5B3;
  color: #7F6F00;
}
.client-card.compact.rescheduling .is-new-tag {
  background-color: #7F6F00;
}
.client-card.compact.rescheduling .is-new-tag .icon i::before {
  background-color: #fff;
}
.client-card.compact.rescheduling .icon i::before {
  background-color: #7F6F00;
}
.client-card.compact.rescheduling::before {
  background: linear-gradient(to right, #7F6F00 50%, transparent 50%, transparent 100%);
}
.client-card.compact.rescheduling:hover {
  box-shadow: inset 0 0 0 1px #7F6F00;
}
.client-card.compact.cancel {
  background-color: #FDE9E7;
  color: #A31C0F;
}
.client-card.compact.cancel .is-new-tag {
  background-color: #A31C0F;
}
.client-card.compact.cancel .is-new-tag .icon i::before {
  background-color: #fff;
}
.client-card.compact.cancel .icon i::before {
  background-color: #A31C0F;
}
.client-card.compact.cancel::before {
  background: linear-gradient(to right, #A31C0F 50%, transparent 50%, transparent 100%);
}
.client-card.compact.cancel:hover {
  box-shadow: inset 0 0 0 1px #A31C0F;
}

.paid-label {
  width: 244px;
  height: 44px;
  padding: 0.5rem;
  border-radius: 0.25rem;
  background-color: #208B92;
  position: absolute;
  bottom: 10px;
  right: -50px;
  transform: rotate(-30deg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}
.paid-label span {
  display: block;
  font-size: 12px;
  color: #fff;
}

@media (max-width: 480px) {
  .client-card.small {
    padding: 0.25rem 0.25rem 0px 0.25rem;
  }
  .client-card.small:hover {
    padding-top: 0.25rem;
  }
  .client-card.small .information-icon {
    display: none;
  }
  .client-card.small .time-info {
    padding: 0.25rem;
  }
  .client-card.small .time-info .icon {
    display: none;
  }
  .client-card.small .time-info .visit-time {
    padding: 0;
    font-size: 10px;
  }
  .client-card.small .paid-label {
    display: none;
  }
  .client-card.small .client-name {
    font-size: 0.75rem;
    flex-wrap: wrap;
    gap: 2px;
  }
  .client-card.compact {
    width: 100%;
    padding: 0.5rem;
  }
  .client-card.compact .visit-info .client-avatar-wrapper {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .client-card.compact .visit-info .client-avatar-wrapper img.client-avatar {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
  }
  .client-card.compact .visit-info .client-name {
    font-size: 0.7rem;
    color: #505050;
  }
  .client-card.compact .visit-info .visit-time {
    font-size: 0.7rem;
    color: #8e8e8e;
  }
  .client-card.compact .master-info .master-avatar {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .client-card.compact .master-info .master-avatar.small {
    width: 18px;
    height: 18px;
  }
  .client-card.compact .master-info .master-avatar img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
  }
  .client-card.compact .master-info .master-name {
    font-size: 0.7rem;
    color: #505050;
  }
  .client-card.compact .visit-comment {
    font-size: 0.7rem;
    color: #AFAFAF;
  }
}
.switch-container {
  width: 36px;
  height: 20px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}
.switch .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #b9b9b9;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
.switch .slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: #fff;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
.switch input:checked + .slider {
  background-color: #2788F2;
}
.switch input:checked + .slider:before {
  -webkit-transform: translateX(16px);
  -ms-transform: translateX(16px);
  transform: translateX(16px);
}
.switch input:checked:disabled + .slider {
  background-color: #ddd;
  box-shadow: none;
}
.switch input:checked:disabled + .slider:before {
  background-color: #fff;
}
.switch input:disabled + .slider {
  background-color: #f5f5f5;
  box-shadow: inset 0 0 0 1px rgba(80, 80, 80, 0.05);
}
.switch input:disabled + .slider:before {
  background-color: #e7e7e7;
}
.switch {
  /* Rounded sliders */
}
.switch .slider.round {
  border-radius: 110px;
}
.switch .slider.round:before {
  border-radius: 50%;
}

.payment-info {
  width: 100%;
  height: fit-content;
  min-height: 128px;
  padding: 1rem;
  background-color: #f8f8f8;
  border-radius: 0.5rem;
  color: #393939;
  position: relative;
  overflow: hidden;
}
.payment-info.paid .icon {
  top: -35px;
  right: -54px;
}
.payment-info.paid .icon i::before {
  background-color: #C0F2C5;
}
.payment-info.not-paid {
  display: flex;
  flex-direction: column;
}
.payment-info.not-paid .icon {
  top: -46px;
  right: -37px;
}
.payment-info.not-paid .icon i::before {
  background-color: #B7D7FB;
}
.payment-info.not-paid.has-prepayment .icon i::before {
  background-color: #ffc68c;
}
.payment-info .icon {
  position: absolute;
}
.payment-info .title {
  width: 100%;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  line-height: 1.2;
}
.payment-info .sum {
  width: 100%;
  margin-bottom: 1rem;
  font-size: 2rem;
  line-height: 1;
}
.payment-info .payment-method {
  color: #aaaaaa;
  font-size: 0.875rem;
  line-height: 1.15;
  display: flex;
  align-items: start;
  justify-content: left;
  gap: 1rem;
}
.payment-info .payment-method span {
  margin-bottom: 0.5rem;
}
.payment-info .method-sum {
  font-size: 1.25rem;
  line-height: 1.2;
}
.payment-info .already-paid {
  color: #aaaaaa;
  font-size: 1.125rem;
  line-height: 1.15;
  display: none;
  flex-direction: column;
  gap: 0.25rem !important;
  margin-bottom: 0.5rem !important;
}
.payment-info .already-paid span:first-child {
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}
.payment-info .already-paid .payment-details {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}
.payment-info .already-paid .payment-details span {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.25rem;
  justify-content: center;
  font-size: 1.125rem;
}
.payment-info .already-paid .payment-details span:not(.prepayment) {
  margin: 0;
}
.payment-info .already-paid .payment-details span.prepayment {
  color: rgb(247, 141, 34);
  font-weight: 500;
}
.payment-info .already-paid .payment-details span.prepayment span[data-id=already-paid-sum] {
  margin: 0;
}
.payment-info .already-paid .payment-details span span[data-id=already-paid-sum] {
  margin: 0;
}

.payment .info-title {
  display: block;
  font-size: 1.25rem;
  line-height: 1.2;
  color: #393939;
  margin-bottom: 0.5rem;
}

.prepayment-buttons-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.prepayment-input-container {
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.prepayment-input {
  padding: 0.75rem;
  border: 1px solid #8e8e8e;
  border-radius: 0.5rem;
  font-size: 1rem;
  background-color: #fbfbfb;
  transition: border-color 0.2s ease;
}

.prepayment-input:focus {
  border-color: #2788F2;
  outline: none;
}

.prepayment-suggestions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.prepayment-suggestions .button-suggestion {
  background-color: #E7F2FE;
  color: #2788F2;
  height: 24px;
  border: none;
  border-radius: 0.5rem;
  transition: background-color 0.2s ease, color 0.2s ease, border 0.2s ease;
}

.prepayment-suggestions .button-suggestion:hover {
  background-color: #57A3F5;
  color: #fff;
}

.prepayment-suggestions .button-suggestion:focus {
  background-color: #2788F2;
  color: #fff;
  outline: none;
}

.prepayment-suggestions .button-suggestion.active {
  background-color: #2788F2;
  color: #fff;
}

.prepayment-suggestions .button-suggestion:disabled {
  background-color: #eee;
  color: #c6c6c6;
  cursor: not-allowed;
}

.payment-amount-input-container {
  width: 100%;
  margin: 0;
  display: block;
}

.payment-amount-input-container.hidden {
  display: none !important;
  margin: 0;
  height: 0;
  overflow: hidden;
}

.bgc-prepayment {
  background-color: #ffb46a;
}

.bgc-prepayment:hover {
  background-color: #57A3F5;
}

.bgc-prepayment:disabled {
  background-color: #eee;
  color: #c6c6c6;
}
.bgc-prepayment:disabled .icon i::before {
  background-color: #c6c6c6;
}

.button__classic.submit-prepayment-btn.large {
  font-size: 1rem;
}

.container__employees {
  justify-content: space-between;
  padding: 20px 40px;
  width: 100%;
}
.container__employees-header {
  height: fit-content;
  padding: 1rem 0;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.container__employees-header .burger-menu {
  display: none;
}
.container__employees-title {
  display: inline-block;
}

.container__search {
  width: 100%;
  height: fit-content;
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 1rem;
}
.container__search-form {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 1rem;
}
.container__search-form .input {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
}
.container__search-form .input::placeholder {
  font-size: 0.75rem;
}

.container__table {
  width: 100%;
  display: grid;
  margin: 0 auto;
  background-color: #f8f8f8;
}

.container__table-body {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 0;
}

.container__title,
.container__lists {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 5fr 4fr 3fr;
  padding: 0;
  background-color: #fff;
}

.container__lists {
  height: fit-content;
  transition: 0.2s;
}
.container__lists:hover {
  background-color: #f8f8f8;
}
.container__lists.moving {
  background-color: #eee;
  box-shadow: 0 4px 8px rgba(80, 80, 80, 0.2);
  z-index: 10;
}
.container__lists.is-fired {
  background-color: #FDE9E7;
  color: #E43535;
}

.container__title {
  font-size: 1.25rem;
  border-bottom: 2px solid #eee;
}

.container__title-p,
.container__lists-p {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.container__title-p.icon-cell,
.container__lists-p.icon-cell {
  padding: 0.5rem;
}
.container__title-p .icon-btn,
.container__lists-p .icon-btn {
  width: 90%;
  height: 90%;
  cursor: all-scroll;
}
.container__title-p .icon-btn .icon,
.container__lists-p .icon-btn .icon {
  margin: auto auto;
}

.container__title-p {
  text-align: center;
  color: #505050;
  font-size: 0.875rem;
}

.container__lists-p {
  margin: 0;
  border-bottom: 1px solid #eee;
  text-align: center;
  font-size: 0.75rem;
}

.employees-modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}
.employees-modal__content {
  display: flex;
  flex-direction: column;
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  width: 30%;
  min-width: 400px;
  max-height: 90vh;
  border-radius: 2%;
  overflow: auto;
}
.employees-modal__content-close {
  display: flex;
  justify-content: space-between;
}
.employees-modal .employees-form__input,
.employees-modal .employees-form__checkbox-input {
  margin-bottom: 1rem;
}
.employees-modal .employees-form__checkbox-input {
  display: flex;
}

.employees-modal__close,
.employees-form__btn {
  cursor: pointer;
}

.employees-form {
  height: 100%;
}
.employees-form__input {
  color: #505050;
  font-size: 0.9em;
}
.employees-form__input input {
  width: 100%;
  height: fit-content;
  padding: 0.75rem 0.75rem 0.75rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  display: block;
  font-size: 0.875rem;
  background-color: #eee;
  line-height: 115%;
  text-align: left;
  position: relative;
}

.employees__section-body.section-body {
  flex-direction: column;
}

@media (max-width: 768px) {
  .container__employees-header .burger-menu {
    display: block;
  }
}
.employee-card__column {
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 0;
}

.container__list {
  width: fit-content;
  height: 100vh;
  padding: 0 1rem;
  margin-top: 70px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 0.5rem;
}
.container__list .menu-item {
  cursor: pointer;
  user-select: none;
}
.container__list-name {
  color: #505050;
  padding: 15px 20px;
  margin: 0;
  cursor: pointer;
}
.container__list-name:hover {
  background-color: #e7f2fe;
}
.container__info {
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  padding: 30px 30px;
  flex: 1;
}
.container__nav {
  display: flex;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.container__nav-link {
  padding: 10px;
}
.container__nav-link:hover {
  background-color: #f8f8f8;
}
.container__nav-link.active {
  background-color: #E7F2FE;
  color: #2788F2;
}

.employee-menu__item.is-fired.button.button__menu {
  color: #E43535;
}
.employee-menu__item.is-fired.button.button__menu.active {
  background-color: #F8BEB9;
  color: #E43535;
}
.employee-menu__item.is-fired.button.button__menu.active::before {
  background-color: #E43535;
}

.employee-container {
  display: grid;
  gap: 1.5rem;
  padding-bottom: 50px;
}
.employee-container__input {
  width: 50%;
}
.employee-container__label {
  display: inline-block;
  color: #505050;
  font-size: 0.9em;
  margin-bottom: 0.5rem;
}
.employee-container .input-group-checkbox {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 1rem;
}
.employee-container .input-group-checkbox label, .employee-container .input-group-checkbox input {
  margin: 0;
  display: inline-block;
}
.employee-container .buttons-container {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 1rem;
}
.employee-container .buttons-container .button__text.bgc-red:hover {
  background-color: #F8BEB9;
}

.services {
  display: flex;
  color: #555555;
}
.services__btns {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.services__btns-create {
  width: 150px;
  height: 2.75rem;
}
.services__category-item {
  cursor: pointer;
  background-color: #e7f2fe;
  padding: 20px;
  border-radius: 0.5rem;
  margin-bottom: 10px;
}
.services__category-item-item:hover {
  background-color: #e8f2fa;
}
.services__category-list {
  display: none;
  list-style-type: none;
  margin-left: 30px;
}
.services__category-list_title {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  color: #8e8e8e;
}
.services__category-list_block {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.services__table {
  width: 100%;
  font-size: 0.875rem;
}
.services__table .services-container {
  width: 100%;
  height: fit-content;
  max-height: 80%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
}
.services-container__div {
  width: 100%;
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}
.services-container__div.header {
  font-size: 1rem;
}
.services-container__div span {
  width: 20px;
  height: 20px;
  display: block;
}
.services-container__div div {
  width: 100%;
  display: grid;
  grid-template-columns: 5fr 3fr 2fr 2fr;
  align-items: center;
  gap: 0.5rem;
}

.add-service__modal,
.create-service__modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.add-service__modal__content {
  width: 70%;
  height: fit-content;
  max-height: 80%;
  padding: 1.25rem;
  margin: 5% auto;
  background-color: #fefefe;
  overflow: auto;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 1.5rem;
}

.create-service__modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  width: 40%;
  border-radius: 0.5rem;
}

.service__modal-title {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.service__modal-title .title {
  font-size: 1.5rem;
}

.create-service__modal-form {
  display: grid;
  gap: 15px;
}

.profile-photo {
  width: 200px;
}

.no-profile-photo {
  width: 200px;
  display: none;
}

.schedule-table {
  display: grid;
  grid-template-columns: repeat(25, 1fr);
}

.tab.employee-info-tab {
  position: relative;
}

.tab.employee-schedule {
  width: 100%;
  height: fit-content;
  padding: 1rem;
}
.tab.employee-schedule .calendar {
  margin: 0;
}
.tab.employee-schedule .container__schedule-table {
  margin-top: 1.5rem;
}

.button-group {
  display: flex;
  gap: 1rem;
}

.input-file-row {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.5rem;
}

.input-file {
  position: relative;
  display: inline-block;
}

.input-file span {
  width: fit-content;
  height: fit-content;
  margin: 0;
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.input-file input[type=file] {
  position: absolute;
  z-index: -1;
  opacity: 0;
  display: block;
  width: 0;
  height: 0;
}

.input-file-list-remove {
  color: #A31C0F;
  text-decoration: none;
  display: inline-block;
  margin-left: 5px;
}

.radio-input-label {
  display: flex;
  margin-top: 0.25rem;
}

.radio-input-label:last-of-type {
  margin-bottom: 1rem;
}

.complaints-table-container {
  display: flex;
  width: 100%;
}
.complaints-table-container table {
  width: 100%;
}
.complaints-table-container table thead {
  background-color: #eee;
}
.complaints-table-container table td,
.complaints-table-container table th {
  padding: 1rem;
  text-align: center;
}

.complaint-modal {
  background-color: #fff;
  padding: 1.25rem;
  border: 1px solid #eee;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 0.5rem;
}
.complaint-modal .search-results {
  width: 100%;
  height: fit-content;
  max-height: 368px;
  margin-top: 0.25rem;
  overflow-y: auto;
  border: 1px solid #eee;
  border-radius: 0.5rem;
  box-shadow: 2px 4px 10px rgba(80, 80, 80, 0.1);
  position: absolute;
  z-index: 3;
}
.complaint-modal .search-result {
  width: 100%;
  height: fit-content;
  padding: 0.75rem 1.25rem 0.75rem 1rem;
  font-size: 0.875rem;
  background-color: #fff;
  border-bottom: 1px solid #eee;
}
.complaint-modal .search-result:hover {
  background-color: #f8f8f8;
  cursor: pointer;
}
.complaint-modal .client-search-result {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 1rem;
}
.complaint-modal .client-search-result .client-info {
  height: fit-content;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 0.5rem;
}
.complaint-modal .client-search-result .client-info .client-name {
  height: fit-content;
}
.complaint-modal .client-search-result .client-info .client-id {
  height: fit-content;
  font-size: 0.75rem;
  color: #c6c6c6;
}
.complaint-modal .client-search-result .client-phone {
  color: #aaaaaa;
}
.complaint-modal label {
  font-size: 14px;
}
.complaint-modal input,
.complaint-modal select {
  width: 420px;
  font-size: 1rem;
  padding: 1rem;
  border: 1px solid #eee;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
}
.complaint-modal .buttons-container {
  width: 100%;
  display: flex;
  gap: 1rem;
}
.complaint-modal .buttons-container button {
  border-radius: 0.5rem;
  padding: 1rem;
  flex: 1;
}
.complaint-modal .buttons-container button.complaint-save {
  background-color: #2788F2;
  color: #fff;
}

.day-income__dropdown {
  width: 260px;
  height: fit-content;
  padding: 1rem;
  margin-top: 0.25rem;
  display: block;
  border: 1px solid #eee;
  border-radius: 0.5rem;
  box-shadow: 2px 4px 10px rgba(80, 80, 80, 0.05);
  background-color: #fff;
  position: absolute;
  z-index: 100;
  font-size: 0.75rem;
  line-height: 1.3;
}
.day-income__dropdown.hidden {
  display: none;
}
.day-income__dropdown .item-name {
  color: #aaaaaa;
}
.day-income__dropdown .item-amount {
  color: #393939;
  text-align: right;
}

.day-income__box {
  position: relative;
  z-index: 10;
}

.day-income__header {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #eee;
}

.day-income__body .button__text {
  width: 100%;
  height: fit-content;
  padding: 0.5rem 0.75rem;
  margin-top: 1rem;
  font-size: 0.75rem;
  line-height: 1.3;
}

.day-income__list {
  width: 100%;
  padding-top: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 0.5rem;
}

.day-income__item {
  width: 100%;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .day-income__box .icon-square-dropdown.medium {
    height: fit-content;
    padding: 0.5rem;
  }
  .day-income__box .icon-square-dropdown.medium span {
    font-size: 0.75rem;
    line-height: 1.15;
    white-space: nowrap;
  }
  .day-income__box .icon-square-dropdown.medium .icon.medium {
    width: 16px;
    min-width: 16px;
    height: 16px;
  }
  .day-income__dropdown {
    left: -124px;
  }
}
.filter__dropdown {
  width: 200px;
  height: fit-content;
  padding: 1rem;
  margin-top: 0.25rem;
  display: block;
  border: 1px solid #eee;
  border-radius: 0.5rem;
  box-shadow: 2px 4px 10px rgba(80, 80, 80, 0.05);
  background-color: #fff;
  position: absolute;
  z-index: 100;
}
.filter__dropdown.hidden {
  display: none;
}

.filter__list {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 0.5rem;
}

.filter__box {
  position: relative;
}

.filter__item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.filter__item .item-name {
  color: #aaaaaa;
  font-size: 0.75rem;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .filter__dropdown {
    left: -80px;
  }
}
.page-reloading-spinner {
  border: 8px solid #f8f8f8;
  border-top: 8px solid #2788F2;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  position: fixed;
  top: calc(50% - 40px);
  left: calc(50% - 40px);
  z-index: 3001;
  display: none;
  animation: spin 2s linear infinite;
}

.page-reloading-spinner.is-active {
  display: block;
}

.page-reloading-spinner-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.3);
  z-index: 2999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  display: none;
}

.page-reloading-spinner-background.is-active {
  display: flex;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.pagination {
  width: fit-content;
  height: fit-content;
  margin: 0 auto;
  padding-top: 1rem;
  padding-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.pagination .pagination__link {
  width: fit-content;
  min-width: 32px;
  height: fit-content;
  padding: 6px;
  border: 1px solid #eee;
  border-radius: 0.5rem;
  text-align: center;
}
.pagination .pagination__link:hover, .pagination .pagination__link.hover {
  background-color: #f5f5f5;
}
.pagination .pagination__link:active, .pagination .pagination__link.active {
  background-color: #2788F2;
  color: #fff;
}
.pagination .pagination__link.active:hover {
  background-color: #57A3F5;
}

.pagination-wrp {
  width: fit-content;
  height: fit-content;
  margin: 0 auto;
  padding-top: 1rem;
  padding-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.pagination-wrp .pagination-item {
  width: fit-content;
  min-width: 32px;
  height: fit-content;
  padding: 6px;
  border: 1px solid #eee;
  border-radius: 0.5rem;
  text-align: center;
}
.pagination-wrp .pagination-item:hover, .pagination-wrp .pagination-item.hover {
  background-color: #f5f5f5;
}
.pagination-wrp .pagination-item:active, .pagination-wrp .pagination-item.active {
  background-color: #2788F2;
  color: #fff;
}
.pagination-wrp .pagination-item.active:hover {
  background-color: #57A3F5;
}
.pagination-wrp .pagination-item:disabled, .pagination-wrp .pagination-item.disabled {
  background-color: #eee;
}
.pagination-wrp .pagination-item:disabled span, .pagination-wrp .pagination-item.disabled span {
  color: #aaaaaa;
}

.notification-popup {
  width: fit-content;
  height: fit-content;
  padding: 0.5rem;
  font-size: 0.75rem;
  color: #505050;
  line-height: 1.15;
  text-align: center;
  border-radius: 0.5rem;
  border: 1px solid #eee;
  background-color: #fff;
  position: absolute;
  z-index: 150;
}
.notification-popup.delete-notification {
  color: #E43535;
  border: 1px solid #E43535;
  top: -20px;
  right: -10px;
}

.search-container {
  width: 100%;
  height: fit-content;
  padding: 1rem 1.5rem 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 1rem;
}
.search-container .button.button__text {
  max-width: none;
  width: fit-content;
  height: fit-content;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  line-height: 115%;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.notification__container {
  width: fit-content;
  min-width: 150px;
  max-width: 300px;
  height: fit-content;
  padding: 1rem;
  position: fixed;
  top: 40px;
  right: 40px;
  z-index: 5000;
  background-color: rgba(80, 80, 80, 0.7);
  border-radius: 0.5rem;
  opacity: 1;
}

.notification {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.75rem;
}

.notification__text {
  color: #fff;
  font-size: 0.875rem;
  text-align: left;
}

.notification__close .icon i::before {
  background-color: #fff;
}

.popup-worker .popup-content {
  position: relative;
}
.popup-worker .popup-content .input-group .select-checkbox-group .filter__item {
  justify-content: flex-start;
  gap: 0.3rem;
  margin-top: 0.25rem;
}
.popup-worker .popup-content .input-group .select-checkbox-group .filter__item .item-checkbox {
  width: 13px;
  height: 13px;
  cursor: pointer;
}
.popup-worker .popup-content .input-group .select-checkbox-group .filter__item label[for=admin-filter] {
  margin: 0;
}
.popup-worker .popup-content .close {
  position: absolute;
  top: 0px;
  right: -36px;
}

@media (max-width: 480px) {
  .popup-worker .popup-content {
    position: relative;
  }
  .popup-worker .popup-content .close {
    position: absolute;
    top: 12px;
    right: 12px;
  }
}
.rescheduling-indicator {
  width: 550px;
  height: fit-content;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: #fff;
  border: 2px solid #eee;
  box-shadow: 0 0 10px rgba(80, 80, 80, 0.3);
  border-radius: 1rem;
  position: sticky;
  bottom: 2rem;
  left: calc(50% - 275px);
  z-index: 1000;
}

.previous-client-block {
  width: 100%;
  height: fit-content;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 0.75rem;
  color: #505050;
}
.previous-client-block .button.button__classic .icon i::before {
  background-color: #505050;
}

.previous-client__title {
  width: 100%;
  font-size: 1rem;
  line-height: 1.2;
}

.previous-client__info {
  width: 100%;
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 0.25rem;
}

.previous-client__info-avatar {
  width: 28px;
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
}
.previous-client__info-avatar img {
  width: 100%;
}

.previous-client__info-items {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 0.5rem;
}

.previous-client__info-item {
  width: 100%;
  font-size: 0.875rem;
  line-height: 1.15;
}
.previous-client__info-item span {
  color: rgba(80, 80, 80, 0.8);
  font-size: 0.75rem;
}

.calendar-statistic-container {
  width: 100%;
  padding-left: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 1.5rem;
}

.statistic {
  width: 100%;
  padding: 1rem;
  border: 1px solid #E5E5E5;
  border-radius: 0.5rem;
}

.statistic-points.categories {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: start;
  gap: 0.5rem;
}

.statistic-title {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.15;
}

.statistic-text {
  font-size: 0.875rem;
}

.statistic-point {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 1440px) {
  .calendar-statistic-container {
    gap: 1rem;
  }
  .statistic {
    padding: 0.75rem;
  }
  .statistic .status-tag-text {
    width: fit-content;
    height: fit-content;
    padding: 4px 6px;
    font-size: 0.75rem;
  }
  .statistic-title {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
  }
  .statistic-text {
    font-size: 0.75rem;
  }
  .statistic-points.categories {
    gap: 0.25rem;
  }
}
.menu-box {
  width: 100%;
  height: calc(100vh - 82px);
  padding-right: 0.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 1.5rem;
}

.menu {
  width: 100%;
  height: fit-content;
  padding-left: 0.5rem;
  padding-bottom: 1rem;
}

.nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: start;
  gap: 0.5rem;
}

.menu-dropdown {
  width: 300px;
  height: fit-content;
  padding: 0.75rem;
  border: 1px solid #eee;
  border-radius: 1rem;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 0.5rem;
  position: absolute;
  z-index: 120;
  top: 80px;
}
.menu-dropdown.hidden {
  display: none;
}
.menu-dropdown .button__menu:last-child {
  margin-top: 0.5rem;
  position: relative;
}
.menu-dropdown .button__menu:last-child:before {
  content: "";
  width: 260px;
  height: 1px;
  background-color: #eee;
  display: block;
  position: absolute;
  top: -8px;
}
.menu-dropdown .button__menu:nth-child(2) .text {
  width: 100%;
  max-width: 184px;
}

.record-summary {
  width: 422px;
  height: fit-content;
  padding: 0.5rem;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 0.5rem;
}
.record-summary.narrow {
  width: 300px;
}
.record-summary.narrow .record-details {
  flex-wrap: wrap;
}
.record-summary.narrow .record-tags {
  flex-wrap: wrap;
}
.record-summary.default {
  border-left: 8px solid #2285D5;
  background-color: #E8F2FA;
  color: #2285D5;
}
.record-summary.default .icon i::before {
  background-color: #2285D5;
}
.record-summary.default .tag {
  border: 1px solid #2285D5;
}
.record-summary.default .client-statistic .title .info-title {
  color: #2285D5;
}
.record-summary.waiting {
  border-left: 8px solid #0A56A8;
  background-color: #E7F2FE;
  color: #0A56A8;
}
.record-summary.waiting .icon i::before {
  background-color: #0A56A8;
}
.record-summary.waiting .tag {
  border: 1px solid #0A56A8;
}
.record-summary.waiting .client-statistic .title .info-title {
  color: #0A56A8;
}
.record-summary.confirmed {
  border-left: 8px solid #52149F;
  background-color: #F1E8FC;
  color: #52149F;
}
.record-summary.confirmed .icon i::before {
  background-color: #52149F;
}
.record-summary.confirmed .tag {
  border: 1px solid #52149F;
}
.record-summary.confirmed .client-statistic .title .info-title {
  color: #52149F;
}
.record-summary.came {
  border-left: 8px solid #1D942B;
  background-color: #EAFBEC;
  color: #1D942B;
}
.record-summary.came .icon i::before {
  background-color: #1D942B;
}
.record-summary.came .tag {
  border: 1px solid #1D942B;
}
.record-summary.came .client-statistic .title .info-title {
  color: #1D942B;
}
.record-summary.cancel {
  border-left: 8px solid #A31C0F;
  background-color: #FDE9E7;
  color: #A31C0F;
}
.record-summary.cancel .icon i::before {
  background-color: #A31C0F;
}
.record-summary.cancel .tag {
  border: 1px solid #A31C0F;
}
.record-summary.cancel .client-statistic .title .info-title {
  color: #A31C0F;
}
.record-summary .record-info {
  display: flex;
  align-items: center;
  justify-content: left;
  font-size: 1.25rem;
}
.record-summary .record-info span {
  margin-left: 7px;
  margin-right: 4px;
}
.record-summary .record-details {
  width: 100%;
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 1rem;
}
.record-summary .record-details .client-status, .record-summary .record-details .date, .record-summary .record-details .time, .record-summary .record-details .visit-time {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 0.25rem;
}
.record-summary .record-details .client-status span, .record-summary .record-details .date span, .record-summary .record-details .time span, .record-summary .record-details .visit-time span {
  display: inline-block;
}
.record-summary .record-details .time {
  width: fit-content;
  padding: 0;
}
.record-summary .record-created {
  font-size: 0.875rem;
}
.record-summary .record-created span:first-child {
  text-decoration: underline;
}
.record-summary .record-tags {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 0.25rem;
}

@media (max-width: 1440px) {
  .record-summary.narrow {
    width: 100%;
  }
  .record-summary.narrow .record-info {
    font-size: 1rem;
  }
  .record-summary.narrow .record-info .icon.large {
    width: 20px;
    min-width: 20px;
    height: 20px;
  }
  .record-summary.narrow .record-details {
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.875rem;
  }
  .record-summary.narrow .record-details .icon.medium {
    width: 16px;
    min-width: 16px;
    height: 16px;
  }
  .record-summary.narrow .record-tags {
    flex-wrap: wrap;
  }
}
.magic-button {
  padding: 0.75em 1.5em;
}
.magic-button:hover {
  background-color: #279AF1;
}

/*# sourceMappingURL=main-v1.css.map */
