  @font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
  }

  @font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
  }

  @font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
  }

  @font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
  }

  html,
  body {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  html::-webkit-scrollbar,
  body::-webkit-scrollbar {
    display: none;
  }

  body {
    background: #F9F9F9;
  }

  body.auth-page {
    background-image: url('../image/auth_background.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
  }

  .auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
  }

  .auth-card {
    width: 31%;
    min-width: 320px;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 28px 28px 24px 28px;
    box-shadow: 0 16px 40px rgba(24, 27, 34, 0.18);
  }

  .auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
  }

  .auth-title {
    text-align: center;
    margin: 0 0 20px 0;
  }

  .auth-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .auth-label {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 128%;
    letter-spacing: -0.008em;
    color: #181B22;
    margin-top: 2px;
  }

  .auth-input {
    width: 100%;
    height: 42px;
    border-radius: 12px;
    border: 1px solid #EBEBEC;
    background: #FFFFFF;
    padding: 0 14px;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 128%;
    letter-spacing: -0.008em;
    color: #181B22;
    outline: none;
  }

  .auth-input::placeholder {
    color: #A1AAB9;
  }

  .auth-input:focus {
    border-color: #7A52FF;
    box-shadow: 0 0 0 4px rgba(122, 82, 255, 0.18);
  }

  .auth-submit {
    width: 100%;
    height: 42px;
    border: none;
    border-radius: 16px;
    background: #7A52FF;
    color: #FFFFFF;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 128%;
    letter-spacing: -0.008em;
    margin-top: 10px;
    cursor: pointer;
  }

  .auth-submit:active {
    transform: translateY(1px);
  }

  #calendar-grid-container [data-role="chevron"] {
    transition: transform 0.2s ease;
  }

  h1 {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 700 !important;
    font-size: 26px !important;
    line-height: 120% !important;
    letter-spacing: -0.04em !important;
    color: #181B22 !important;
  }

  h2 {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 700 !important;
    font-size: 26px !important;
    line-height: 120% !important;
    letter-spacing: -0.04em !important;
    color: #181B22 !important;
  }

  h3 {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 700 !important;
    font-size: 18px !important;
    line-height: 120% !important;
    letter-spacing: -0.008em !important;
    color: #181B22 !important;
  }

  h4 {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 700 !important;
    font-size: 22px !important;
    line-height: 128% !important;
    letter-spacing: -0.008em !important;
    color: #181B22;
  }

  h5 {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 600 !important;
    font-size: 16px !important;
    line-height: 128% !important;
    letter-spacing: -0.008em !important;
    color: #181B22;
  }

  h6 {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 128% !important;
    letter-spacing: -0.008em !important;
    color: #181B22;
  }

  /*Меню*/

  #main-menu,
  #main-menu-name {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 16px;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 128%;
    letter-spacing: -0.008em;
    color: #4F4F57;
  }

  .user-menu-trigger {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
  }

  .user-menu-trigger__avatar {
    border-radius: 50%;
    display: block;
  }

  .user-menu-trigger__name {
    text-decoration: none;
    color: inherit;
    white-space: nowrap;
  }

  .user-menu-container {
    position: relative;
    display: inline-flex;
    align-items: center;
  }

  .user-menu-trigger:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(122, 82, 255, 0.25);
    border-radius: 12px;
  }

  .user-profile-popup {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 260px;
    max-width: calc(100vw - 24px);
    display: none;
    z-index: 2000;
  }

  .user-profile-popup.is-open {
    display: block;
  }

  .user-profile-popup__dialog {
    width: 100%;
    max-height: 200px;
    background: #FFFFFF;
    border-radius: 18px;
    padding: 16px 16px 14px;
    box-shadow: 0 16px 40px rgba(61, 51, 86, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: auto;
  }

  .user-profile-popup__avatar {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    object-fit: cover;
    display: block;
    margin-bottom: 10px;
  }

  .user-profile-popup__name {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.02em;
    color: #181B22;
    margin-bottom: 4px;
  }

  .user-profile-popup__role {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 140%;
    letter-spacing: -0.008em;
    color: #4F4F57;
    margin-bottom: 12px;
  }

  .user-profile-popup__logout {
    width: 100%;
    max-width: 100%;
    height: 40px;
    border-radius: 16px;
    border: 2px solid #7A52FF;
    background: #FFFFFF;
    color: #7A52FF;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 600;
    font-size: 15px;
    line-height: 128%;
    letter-spacing: -0.008em;
  }

  .user-profile-popup__logout svg {
    width: 18px;
    height: 18px;
  }

  .user-profile-popup__logout svg path {
    stroke-width: 2;
  }

  .user-profile-popup__logout:visited {
    color: #7A52FF;
  }

  .user-profile-popup__logout:hover {
    color: #7A52FF;
  }

  .user-profile-popup__logout:hover svg path {
    stroke: #7A52FF;
  }

  .user-profile-popup__logout:hover {
    background: rgba(122, 82, 255, 0.06);
  }

  .user-profile-popup__logout:active {
    background: rgba(122, 82, 255, 0.10);
  }

  .user-profile-popup__logout:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(122, 82, 255, 0.25);
  }

  #alert-count {
    width: 36px;
    height: 25px;
    background: #FF8522;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400 !important;
    font-size: 12px !important;
    line-height: 144%;
    color: #181B22;
  }

  #ring-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    top: -4px;
    right: -4px;
    background: #FF8522;
    border-radius: 50%;
  }

  .app-version-label {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400 !important;
    font-size: 12px !important;
    line-height: 144% !important;
    letter-spacing: -0.008em;
    color: #818EA2;
    margin-right: 16px;
  }

  #booking-filters {
    display: flex;
    align-items: center;
  }

  /* Выпадающие списки */

  .custom-select-wrapper {
    position: relative;
    width: 100%;
  }

  .custom-select {
    position: relative;
    background: #fff;
    border: 1px solid #EBEBEC;
    border-radius: 16px;
    padding: 12px 16px;
    padding-right: 48px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 128%;
    letter-spacing: -0.008em;
    color: #181B22;
    cursor: pointer;
    user-select: none;
  }

  .custom-select.custom-select--clearable {
    padding-right: 80px;
  }

  .custom-select--clearable .custom-select-clear {
    position: absolute;
    top: 50%;
    right: 44px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    padding: 0;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    color: #818EA2;
    cursor: pointer;
  }

  .custom-select--clearable.has-selection .custom-select-clear {
    display: flex;
  }

  .custom-select--clearable .custom-select-clear:hover {
    background: #F1F2F6;
    border-radius: 12px;
    color: #7A52FF;
  }

  .custom-select .chevron {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
  }

  .custom-select.open .chevron svg {
    transform: rotate(180deg);
  }

  .custom-select .options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 300px;
    margin: 4px 0 0 0;
    padding: 0;
    list-style: none;
    background: #fff;
    border: 1px solid #EBEBEC;
    border-radius: 16px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
  }

  .custom-select .options li {
    padding: 12px 16px;
    cursor: pointer;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 128%;
    letter-spacing: -0.008em;
    color: #4F4F57;
  }

  .custom-select .options li:hover {
    background-color: #7C3AED;
    color: #ffffff;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 128%;
    letter-spacing: -0.008em;
  }

  .custom-select .options li:first-child:hover,
  .custom-select .options li.selected:first-child {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
  }

  .custom-select .options li:last-child:hover,
  .custom-select .options li.selected:last-child {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
  }

  #booking-filters .custom-select[data-filter-type="scenario"] .options li[data-inactive="1"] {
    position: relative;
  }

  #booking-filters .custom-select[data-filter-type="scenario"] .options li[data-inactive="1"]::after {
    content: '⚠';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #E53935;
  }

  #booking-filters .custom-select[data-filter-type="area"] .options li[data-inactive="1"] {
    position: relative;
  }

  #booking-filters .custom-select[data-filter-type="area"] .options li[data-inactive="1"]::after {
    content: '⚠';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #E53935;
  }

  /* Кастомный select: отключить hover для поиска */
  .custom-select .search-option:hover,
  .custom-select .search-option.selected {
    background: none !important;
    color: inherit !important;
    cursor: text !important;
  }

  .custom-select .options li.selected {
    background-color: #7C3AED;
    color: #ffffff;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 128%;
    letter-spacing: -0.008em;
  }

  /* Блок "Стоимость / Внесено / Остаток" в модалке оплаты */
  .payment-summary {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    column-gap: 8px;
    row-gap: 12px;
    flex-wrap: wrap;
  }

  .payment-summary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 72px;
  }

  .payment-summary-item h4 {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 600;
    font-size: 22px;
    line-height: 120%;
    letter-spacing: -0.008em;
    color: #181B22;
  }

  .payment-summary-label {
    margin-top: 4px;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 120%;
    letter-spacing: -0.01em;
    color: #4F4F57;
  }

  .payment-summary-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 16px;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: -0.008em;
    color: #818EA2;
  }

  .payment-total-wrapper {
    margin-top: 28px;
    padding: 20px 24px;
    border: 1px solid #EBEBEC;
    border-radius: 18px;
    background: #F8F8FA;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .payment-total-text {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 130% !important;
    letter-spacing: -0.01em !important;
    color: #4F4F57 !important;
  }

  .payment-total-amount {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 700 !important;
    font-size: 20px !important;
    line-height: 130% !important;
    letter-spacing: -0.01em !important;
    color: #181B22 !important;
  }

  .custom-select.open .options {
    display: block !important;
  }

  .payment-value-input {
    background: #fff;
    border: 1px solid #EBEBEC;
    border-radius: 16px;
    padding: 12px 16px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 128%;
    letter-spacing: -0.008em;
    color: #181B22;
    width: 100%;
    height: 48px;
    box-sizing: border-box;
    outline: none;
    box-shadow: none;
    transition: border-color 0.2s;
  }

  .add-payment-method-trigger {
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    cursor: pointer;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 600 !important;
    font-size: 16px !important;
    line-height: 128% !important;
    letter-spacing: -0.008em !important;
    color: #7A52FF !important;
  }

  .add-payment-method-trigger svg path {
    stroke: #7A52FF;
  }

  .add-payment-method-trigger:focus-visible {
    outline: 2px solid rgba(122, 82, 255, 0.4);
    border-radius: 8px;
  }

  /* Календарь */
  .calendar-period {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    cursor: pointer;
  }

  .calendar-period span {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 128%;
    letter-spacing: -0.008em;
    color: #7A52FF;
  }

  /* Попап выбора диапазона дат в шапке календаря (двухмесячный календарь) */
  .date-range-picker {
    position: absolute;
    top: 48px;
    right: 0;
    width: 760px;
    max-width: 100vw;
    background-color: #ffffff;
    border: 1px solid #EBEBEC;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
    padding: 16px 20px;
    display: none;
    z-index: 950;
  }

  .date-range-picker__content {
    display: flex;
    gap: 16px;
  }

  .date-range-picker__presets {
    width: 220px;
    border-right: 1px solid #EBEBEC;
    padding-right: 12px;
  }

  .date-range-picker__presets-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .date-range-picker__presets-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    cursor: pointer;
    font-size: 14px;
  }

  .date-range-picker__presets-item--active {
    background-color: #7C3AED;
    color: #ffffff;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 128%;
    letter-spacing: -0.008em;
    border-radius: 8px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .date-range-picker__calendars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .date-range-picker__months {
    display: flex;
    gap: 16px;
  }

  .date-range-picker__month {
    flex: 1;
    font-size: 12px;
  }

  .date-range-picker__month-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
  }

  .date-range-picker__month-header--left {
    justify-content: flex-start;
  }

  .date-range-picker__month-header--right {
    justify-content: flex-end;
  }

  .date-range-picker__nav-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 2px 6px;
    color: #1F2430;
  }

  .date-range-picker__select {
    border: none;
    background: transparent;
    font-size: 13px;
    padding: 2px 16px 2px 6px;
    border-radius: 6px;
    cursor: pointer;
    color: #1F2430;
  }

  .date-range-picker__month-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
  }

  .date-range-picker__day-name {
    text-align: center;
    color: #818EA2;
    padding-bottom: 4px;
    font-size: 11px;
  }

  .date-range-picker__day {
    text-align: center;
    padding: 4px 0;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
  }

  .date-range-picker__day--outside {
    color: #C2C8D4;
  }

  .date-range-picker__day--in-range {
    background-color: #E2E6FF;
  }

  .date-range-picker__day--selected {
    background-color: #7A52FF;
    color: #FFFFFF;
  }

  .date-range-picker__footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: auto;
  }

  .date-range-picker__footer .button-secondary,
  .date-range-picker__footer .button-primary {
    flex: 0 0 120px;
    width: 120px;
    text-align: center;
  }

  /* Блоки бронирований в сетке календаря */
  .booking-block {
    position: absolute;
    top: 3px;
    bottom: 3px;
    border-radius: 8px;
    background: #E2B22E;
    display: block;
  }

  .booking-block--other-scenario {
    background: #EBEBEC;
  }

  .booking-block--status-1079 {
    background: rgba(226, 178, 46, 0.5);
  }

  .booking-block--unpaid {
    background-image: repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.22) 0,
      rgba(255, 255, 255, 0.22) 6px,
      rgba(255, 255, 255, 0) 6px,
      rgba(255, 255, 255, 0) 12px
    );
    background-size: auto;
  }

  .booking-block--has-comment::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FFFFFF;
  }

  .booking-hover-popover {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    width: 288px;
    padding: 16px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(61, 51, 86, 0.12);
    z-index: 9999;
    pointer-events: none;
  }

  .booking-hover-popover--cell-time {
    width: auto;
    padding: 12px 16px;
  }

  .scroll-to-top-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: none;
    background: #7A52FF;
    box-shadow: 0 10px 30px rgba(61, 51, 86, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
    pointer-events: none;
    z-index: 1040;
    cursor: pointer;
  }

  .scroll-to-top-btn.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .scroll-to-top-btn:hover {
    background: #6B45FF;
  }

  .scroll-to-top-btn:active {
    transform: translateY(1px);
  }

  .scroll-to-top-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(122, 82, 255, 0.25), 0 10px 30px rgba(61, 51, 86, 0.12);
  }

  .booking-hover-popover__row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
  }

  .booking-hover-popover__row + .booking-hover-popover__row {
    margin-top: 12px;
  }

  .booking-hover-popover__icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .booking-hover-popover__text {
    flex: 1;
    color: #181B22;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 128%;
    letter-spacing: -0.008em;
  }

  .booking-hover-popover__text--secondary {
    font-weight: 600;
    font-size: 14px;
  }

  .booking-hover-popover__text--muted {
    color: #4F4F57;
    font-weight: 400;
    font-size: 14px;
  }

  .booking-hover-popover__comment {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #EBEBEC;
    color: #4F4F57;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 128%;
    letter-spacing: -0.008em;
    white-space: pre-wrap;
    word-break: break-word;
  }

  /*Кнопки*/

  .button-secondary {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 240px;
    height: 42px;
    background: #FFFFFF;
    border: 1px solid #7A52FF;
    border-radius: 16px;
    background-color: #F9F9F9;
    color: #7A52FF;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 128%;
    letter-spacing: -0.008em;
    cursor: pointer;
  }

  .button-primary {
    width: 100%;
    height: 42px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid #7A52FF;
    background-color: #7A52FF;
    border-radius: 16px;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 128%;
    letter-spacing: -0.008em;
    cursor: pointer;
    color: #FFFFFF;
  }

  .button-sec {
    width: 100%;
    height: 42px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid #7A52FF;
    background-color: #FFFFFF;
    border-radius: 16px;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 128%;
    letter-spacing: -0.008em;
    cursor: pointer;
    color: #7A52FF;
  }

  .button-primary:disabled,
  .button-sec:disabled,
  .button-secondary:disabled {
    cursor: default;
  }

  /* =====================================================
     Анимация и disabled-состояние для кнопок форм
     ===================================================== */
  #paymentSubmitButton,
  #editBookingSubmitBtn,
  #editPaymentSaveButton,
  #createBookingSubmitBtn {
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  }

  #paymentSubmitButton:disabled,
  #editBookingSubmitBtn:disabled,
  #editPaymentSaveButton:disabled,
  #createBookingSubmitBtn:disabled {
    background-color: #C9B5FF;
    border-color: #C9B5FF;
    color: #F5F2FF;
    opacity: 0.7;
    cursor: default;
  }

  /* =====================================================
     Стили прокрутки для временных селектов (общие)
     ===================================================== */
  #duration ul.options,
  #start-time ul.options,
  #end-time ul.options,
  #edit-duration ul.options,
  #edit-start-time ul.options,
  #edit-end-time ul.options,
  #edit-teacher ul.options,
  #edit-direction ul.options,
  #edit-room ul.options,
  #edit-services ul.options {
    max-height: 200px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #C9B5FF #F5F2FF;
  }

  /* Webkit scrollbar (Chrome, Safari, Edge) */
  #duration ul.options::-webkit-scrollbar,
  #start-time ul.options::-webkit-scrollbar,
  #end-time ul.options::-webkit-scrollbar,
  #edit-duration ul.options::-webkit-scrollbar,
  #edit-start-time ul.options::-webkit-scrollbar,
  #edit-end-time ul.options::-webkit-scrollbar,
  #edit-teacher ul.options::-webkit-scrollbar,
  #edit-direction ul.options::-webkit-scrollbar,
  #edit-room ul.options::-webkit-scrollbar,
  #edit-services ul.options::-webkit-scrollbar {
    width: 6px;
  }

  #duration ul.options::-webkit-scrollbar-track,
  #start-time ul.options::-webkit-scrollbar-track,
  #end-time ul.options::-webkit-scrollbar-track,
  #edit-duration ul.options::-webkit-scrollbar-track,
  #edit-start-time ul.options::-webkit-scrollbar-track,
  #edit-end-time ul.options::-webkit-scrollbar-track,
  #edit-teacher ul.options::-webkit-scrollbar-track,
  #edit-direction ul.options::-webkit-scrollbar-track,
  #edit-room ul.options::-webkit-scrollbar-track,
  #edit-services ul.options::-webkit-scrollbar-track {
    background: #F5F2FF;
    border-radius: 3px;
  }

  #duration ul.options::-webkit-scrollbar-thumb,
  #start-time ul.options::-webkit-scrollbar-thumb,
  #end-time ul.options::-webkit-scrollbar-thumb,
  #edit-duration ul.options::-webkit-scrollbar-thumb,
  #edit-start-time ul.options::-webkit-scrollbar-thumb,
  #edit-end-time ul.options::-webkit-scrollbar-thumb,
  #edit-teacher ul.options::-webkit-scrollbar-thumb,
  #edit-direction ul.options::-webkit-scrollbar-thumb,
  #edit-room ul.options::-webkit-scrollbar-thumb,
  #edit-services ul.options::-webkit-scrollbar-thumb {
    background: #C9B5FF;
    border-radius: 3px;
  }

  #duration ul.options::-webkit-scrollbar-thumb:hover,
  #start-time ul.options::-webkit-scrollbar-thumb:hover,
  #end-time ul.options::-webkit-scrollbar-thumb:hover,
  #edit-duration ul.options::-webkit-scrollbar-thumb:hover,
  #edit-start-time ul.options::-webkit-scrollbar-thumb:hover,
  #edit-end-time ul.options::-webkit-scrollbar-thumb:hover,
  #edit-teacher ul.options::-webkit-scrollbar-thumb:hover,
  #edit-direction ul.options::-webkit-scrollbar-thumb:hover,
  #edit-room ul.options::-webkit-scrollbar-thumb:hover,
  #edit-services ul.options::-webkit-scrollbar-thumb:hover {
    background: #7A52FF;
  }

  /* Стиль для disabled селектов */
  #duration.disabled,
  #end-time.disabled,
  #tariff.disabled,
  #teacher.disabled,
  #edit-duration.disabled,
  #edit-end-time.disabled,
  #edit-tariff.disabled,
  #edit-teacher.disabled,
  #field-direction.disabled,
  #edit-direction.disabled {
    opacity: 0.6;
    pointer-events: none;
  }

  #duration.disabled .selected,
  #end-time.disabled .selected,
  #tariff.disabled .selected,
  #teacher.disabled .selected,
  #edit-duration.disabled .selected,
  #edit-end-time.disabled .selected,
  #edit-tariff.disabled .selected,
  #edit-teacher.disabled .selected,
  #field-direction.disabled .selected,
  #edit-direction.disabled .selected {
    color: #818EA2;
  }

  /* =====================================================
     Значки предупреждений в полях формы (время, специалист)
     ===================================================== */
  .start-time-warning-icon,
  .teacher-warning-icon {
    position: absolute;
    top: 50%;
    right: 80px;
    transform: translateY(-50%);
    font-size: 16px;
    color: #E53935;
    cursor: help;
    z-index: 5;
  }

  .inline-warning-icon {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    margin-left: 6px;
    display: inline-block;
    vertical-align: middle;
  }

  .custom-select.has-warning {
    border-color: #E53935;
  }

  #booking-filters .custom-select[data-filter-type="scenario"].has-warning {
    padding-right: 72px;
  }

  #booking-filters .custom-select[data-filter-type="area"].has-warning {
    padding-right: 72px;
  }

  #booking-filters #scenario-filter-warning-icon.start-time-warning-icon {
    right: 48px;
  }

  #booking-filters #area-filter-warning-icon.start-time-warning-icon {
    right: 48px;
  }

  #edit-room.has-warning {
    padding-right: 72px;
  }

  #edit-room .options li[data-inactive="1"] {
    position: relative;
  }

  #edit-room .options li[data-inactive="1"]::after {
    content: '⚠';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #E53935;
  }

  #edit-room-warning-icon.start-time-warning-icon {
    right: 48px;
  }

  .start-time-warning-icon .warning-tooltip,
  .teacher-warning-icon .warning-tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 10px);
    right: -10px;
    width: 220px;
    padding: 10px 12px;
    background: #3D3356;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(61, 51, 86, 0.25);
    z-index: 100;
  }

  .start-time-warning-icon .warning-tooltip::after,
  .teacher-warning-icon .warning-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 16px;
    border: 6px solid transparent;
    border-top-color: #3D3356;
  }

  .start-time-warning-icon:hover .warning-tooltip,
  .teacher-warning-icon:hover .warning-tooltip {
    display: block;
  }

  .table-bordered tbody tr td:first-child .start-time-warning-icon .warning-tooltip {
    width: 170px;
    padding: 8px 10px;
    font-size: 11px;
    line-height: 1.35;
    right: 0;
  }

  .table-bordered tbody tr td:first-child .start-time-warning-icon .warning-tooltip::after {
    right: 12px;
  }

  /* Значок предупреждения для кнопки Добавить (в правом нижнем углу модалки) */
  .submit-warning-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    cursor: help;
    z-index: 10;
  }

  .submit-warning-icon svg {
    display: block;
    width: 24px;
    height: 24px;
  }

  .submit-warning-tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 10px);
    right: 0;
    width: 260px;
    padding: 12px 14px;
    background: #3D3356;
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(61, 51, 86, 0.25);
    z-index: 100;
  }

  .submit-warning-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 8px;
    border: 6px solid transparent;
    border-top-color: #3D3356;
  }

  .submit-warning-tooltip ul {
    margin: 0;
    padding: 0 0 0 18px;
    list-style: disc;
  }

  .submit-warning-tooltip ul li {
    margin-bottom: 4px;
  }

  .submit-warning-tooltip ul li:last-child {
    margin-bottom: 0;
  }

  .submit-warning-icon:hover .submit-warning-tooltip {
    display: block;
  }

  .block-warning-icon {
    position: absolute;
    bottom: 12px;
    right: 12px;
    cursor: help;
    z-index: 10;
  }

  .block-warning-icon svg {
    display: block;
    width: 24px;
    height: 24px;
  }

  .block-warning-tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 10px);
    right: 0;
    width: 260px;
    padding: 12px 14px;
    background: #3D3356;
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(61, 51, 86, 0.25);
    z-index: 100;
  }

  .block-warning-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 8px;
    border: 6px solid transparent;
    border-top-color: #3D3356;
  }

  .block-warning-tooltip ul {
    margin: 0;
    padding: 0 0 0 18px;
    list-style: disc;
  }

  .block-warning-tooltip ul li {
    margin-bottom: 4px;
  }

  .block-warning-tooltip ul li:last-child {
    margin-bottom: 0;
  }

  .block-warning-icon:hover .block-warning-tooltip {
    display: block;
  }

  .modal-datepicker__trigger.has-warning {
    border-color: #E53935;
  }

  .button-third {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    box-shadow: none;
    outline: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
  }

  .button-third:disabled {
    opacity: 0.6;
    cursor: default;
  }

  .modal-close-icon {
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    line-height: 0;
    box-shadow: none;
    outline: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .booking-create-block {
    position: relative;
    border: 1px solid #EBEBEC;
    border-radius: 16px;
    padding: 12px;
    margin-bottom: 12px;
  }

  .booking-create-block.booking-create-block--has-errors {
    border-color: #FF4D4F;
    box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.12);
  }

  .booking-create-block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #181B22;
  }

  .booking-create-block-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .booking-create-block-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid #EBEBEC;
    background: #FFFFFF;
    color: #7A52FF;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
  }

  .booking-create-block-action-btn.booking-create-block-action-btn--hidden {
    display: none !important;
  }

  .booking-create-block-action-btn:hover {
    border-color: #7A52FF;
  }

  #createBookingModal .booking-create-block .row.mb-3 {
    margin-bottom: 8px !important;
  }

  #createBookingModal .booking-create-block .row.mb-4 {
    margin-bottom: 10px !important;
  }

  #createBookingModal .booking-create-block .row.mb-5 {
    margin-bottom: 12px !important;
  }

  #createBookingModal .custom-select.disabled {
    opacity: 0.6;
    pointer-events: none;
  }

  #createBookingModal .custom-select.disabled .selected {
    color: #818EA2;
  }

  /*Сетка броней*/
  /*Дата/день недели*/
  #day-header {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #CCFF00;
    height: 44px;
    border-radius: 16px;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 600 !important;
    font-size: 16px !important;
    line-height: 128%;
    letter-spacing: -0.008em;
    color: #4F4F57;
  }

  #day-header h3 {
    margin: 0 !important;
    padding: 0;
    line-height: 1;
  }

  /*Специалисты*/
  #hide-specialists {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 128%;
    letter-spacing: -0.008em;
    color: #7A52FF;
  }

  [data-role="specialists-section-toggle"] {
    cursor: pointer;
    user-select: none;
  }

  .specialist-time {
    display: flex;
    gap: 1px;
  }

  .time-cell {
    background-color: #EBEBEC;
    height: 8px;
    flex: 1;
    position: relative;
  }

  .time-cell.time-cell--working {
    background-color: #CCFF00;
  }

  .time-cell:nth-child(4n):not(:last-child)::after {
    content: '';
    position: absolute;
    top: 0;
    right: -1px;
    width: 1px;
    height: 100%;
    background-color: #A1AAB9;
  }

  .specialist-time span {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400 !important;
    font-size: 12px !important;
    line-height: 144% !important;
    letter-spacing: -0.008em;
    color: #4F4F57;
  }

  /* Таблица броней */
  table th:first-child,
  table td:first-child {
    width: 112px !important;
    min-width: 112px !important;
    max-width: 112px !important;
  }

  .table-bordered {
    border-radius: 16px;
    border: 1px solid #FFFFFF !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    font-family: 'Manrope';
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 12px !important;
    line-height: 144% !important;
    width: 100%;
    table-layout: fixed;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .table-bordered th,
  .table-bordered td {
    border: none !important;
    text-align: center;
    vertical-align: middle;
  }

  .table-bordered thead tr th {
    background-color: #E7F0FB;
    border: 1px solid #FFFFFF !important;
    border-bottom: none !important;
    font-weight: 400 !important;
  }

  .table-bordered tbody tr:first-child td {
    border-top: none !important;
  }

  .table-bordered tbody td {
    border: 1px solid #EBEBEC !important;
  }

  .table-bordered tbody td.highlight-cell.available {
    cursor: pointer;
  }

  .table-bordered tbody td:nth-child(4n+1):not(:last-child) {
    border-right: 1px solid #818EA2 !important;
  }

  /*Модальные окна*/
  .modal-content {
    border-radius: 16px !important;
    position: relative;
  }

  #app-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.1s ease;
    z-index: 1040;
  }

  #app-modal-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  #confirmCancelActionModal {
    z-index: 1070;
  }

  #clientAddedSuccessModal {
    z-index: 1070;
  }

  #bookingAddedSuccessModal {
    z-index: 1070;
  }

  #calendar-loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(24, 27, 34, 0.35);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1030;
  }

  #calendar-loading-overlay.is-visible {
    display: flex;
  }

  #booking-saving-overlay {
    position: fixed;
    inset: 0;
    background: rgba(24, 27, 34, 0.35);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1060;
  }

  #booking-saving-overlay.is-visible {
    display: flex;
  }

  .calendar-loading-content {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  }

  .calendar-loading-spinner {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid #E0E0F0;
    border-top-color: #7A52FF;
    animation: calendar-loading-spin 0.8s linear infinite;
  }

  .calendar-loading-text {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 500 !important;
    font-size: 14px !important;
    line-height: 128%;
    letter-spacing: -0.008em;
    color: #181B22;
  }

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

  #roomNameContainer,
  #publicIdContainer,
  #paymentTextContainer,
  #infoBookingContainer {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 144% !important;
    color: #4F4F57 !important;
  }

  #infoBookingContainer {
    margin-left: 41px;
  }

  .form-label {
    font-family: 'Manrope' !important;
    font-style: normal !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    line-height: 128% !important;
    letter-spacing: -0.008em !important;
    color: #181B22 !important;
  }

  #bookingComment, #editBookingComment {
    border-radius: 16px;
    border: 1px solid #EBEBEC;
    padding: 12px 16px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 128%;
    letter-spacing: -0.008em;
    color: #181B22;
    width: 100%;
    background: #fff;
    box-shadow: none;
    resize: none;
  }

  #abonementRow {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 128% !important;
    letter-spacing: -0.008em !important;
    color: #EB5757 !important;
  }

  #modal-create-date {
    border-radius: 16px;
    border: 1px solid #EBEBEC;
    padding: 12px 16px;
    font-family: 'Manrope', sans-serif;
    width: 100%;
    background: #fff;
    box-shadow: none;
    font-style: normal;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 128% !important;
    letter-spacing: -0.008em !important;
    color: #181B22 !important;
  }

  #trialLessonCheckbox, #editTrialLessonCheckbox {
    width: 24px;
    height: 24px;
    border: 2px solid #7A52FF !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: none !important;
    outline: none !important;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    position: relative;
    transition: none;
  }

  #trialLessonCheckbox:checked, #editTrialLessonCheckbox:checked {
    background: #fff !important;
    border: 2px solid #7A52FF !important;
  }

  #trialLessonCheckbox:checked::after, #editTrialLessonCheckbox:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 8px;
    height: 14px;
    border: solid #7A52FF;
    border-width: 0 3px 3px 0;
    border-radius: 2px;
    transform: rotate(45deg);
    display: block;
  }

  #trialLessonCheckbox:focus, #editTrialLessonCheckbox:focus {
    outline: none !important;
    box-shadow: none !important;
  }

  #trialLessonLabel, #editTrialLessonLabel {
    font-family: 'Manrope' !important;
    font-style: normal !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    line-height: 120% !important;
    letter-spacing: -0.008em !important;
    color: #EB5757;
    margin-top: 2px;
  }

  .col-md-12.trial-checkbox-row,
  .trial-checkbox-row {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }

  [id^="bookingCostValue"], #editBookingCostValue {
    font-family: 'Manrope' !important;
    font-style: normal !important;
    font-weight: 700 !important;
    font-size: 22px !important;
    line-height: 128% !important;
    text-align: right !important;
    letter-spacing: -0.008em !important;
    color: #7A52FF !important;
  }

  .bulk-total-wrapper {
    padding: 16px 18px;
    border: 1px solid #EBEBEC;
    border-radius: 18px;
    background: #F8F8FA;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .bulk-total-text {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: -0.01em;
    color: #4F4F57;
  }

  .bulk-total-amount {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 700;
    font-size: 22px;
    line-height: 128%;
    letter-spacing: -0.008em;
    color: #7A52FF;
    text-align: right;
  }

  #bookingCommentCounter, #editBookingCommentCounter {
    display: flex;
    justify-content: flex-end;
    font-family: 'Manrope' !important;
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 144% !important;
    color: #4F4F57;
    margin-top: 2px !important;
  }

  #paymentBookingModal.confirm-cancel-active .modal-content {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  .service-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #F0EBFF;
    border-radius: 16px;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 500 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    color: #7A52FF !important;
  }

  .service-badge-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 6px;
    font-size: 16px;
    line-height: 1;
    color: #7A52FF;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
  }

  .service-badge-remove:hover {
    opacity: 1;
  }

  /* Двухстрочное отображение услуг в списке: название + стоимость */
  #services ul.options li,
  #edit-services ul.options li,
  #specialist-service ul.options li,
  #edit-specialist-service ul.options li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 12px;
  }

  #services ul.options li .service-name,
  #edit-services ul.options li .service-name,
  #specialist-service ul.options li .service-name,
  #edit-specialist-service ul.options li .service-name {
    font-family: 'Manrope';
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
    color: #1A1A1A;
    display: block;
  }

  #services ul.options li .service-cost,
  #edit-services ul.options li .service-cost,
  #specialist-service ul.options li .service-cost,
  #edit-specialist-service ul.options li .service-cost {
    font-family: 'Manrope';
    font-weight: 400;
    font-size: 12px;
    line-height: 1.4;
    color: #818EA2;
    margin-top: 2px;
    display: block;
  }

  /* Белый текст услуг при наведении */
  #services ul.options li:hover .service-name,
  #services ul.options li:hover .service-cost,
  #edit-services ul.options li:hover .service-name,
  #edit-services ul.options li:hover .service-cost,
  #specialist-service ul.options li:hover .service-name,
  #specialist-service ul.options li:hover .service-cost,
  #edit-specialist-service ul.options li:hover .service-name,
  #edit-specialist-service ul.options li:hover .service-cost {
    color: #FFFFFF;
  }

  #reset-services,
  [id^="create-reset-services"] {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 600 !important;
    font-size: 16px !important;
    line-height: 128% !important;
    letter-spacing: -0.008em !important;
    color: #7A52FF;
    text-decoration: none;
    margin-top: 10px;
    display: inline-block;
  }

  /* Ссылка на историю платежей в модалке информации */
  .payment-history-link {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 144% !important;
    letter-spacing: -0.008em !important;
    color: #7A52FF;
    text-decoration: none;
    cursor: pointer;
  }

  .payment-history-link:hover {
    text-decoration: underline;
  }

  /* Элемент списка в истории платежей */
  .payment-history-item {
    padding: 12px 0;
    border-bottom: 1px solid #EBEBEC;
  }

  .payment-history-item:last-child {
    border-bottom: none;
  }

  .payment-history-edit,
  .payment-history-remove {
    opacity: 0.6;
    transition: opacity 0.2s ease;
  }

  .payment-history-edit:hover,
  .payment-history-remove:hover {
    opacity: 1;
  }

  /* Кастомный datepicker для модалки создания брони */
  .modal-datepicker {
    position: relative;
  }

  .modal-datepicker__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border: 1px solid #EBEBEC;
    border-radius: 12px;
    background: #FFFFFF;
    cursor: pointer;
    font-family: 'Manrope';
    font-size: 14px;
    color: #1F2430;
    min-height: 44px;
  }

  /* Убрана подсветка при наведении на trigger */

  .modal-datepicker__popup {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0px 16px 32px rgba(31, 36, 48, 0.12);
    padding: 16px;
    z-index: 1000;
    min-width: 280px;
  }

  .modal-datepicker__popup.open {
    display: block;
  }

  .modal-datepicker__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
  }

  .modal-datepicker__nav-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1F2430;
  }

  .modal-datepicker__nav-btn:hover {
    background: #F5F2FF;
  }

  .modal-datepicker__selects {
    display: flex;
    gap: 8px;
  }

  .modal-datepicker__select {
    border: none;
    background: transparent;
    font-size: 14px;
    font-family: 'Manrope';
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    color: #1F2430;
  }

  .modal-datepicker__select:hover {
    background: #F5F2FF;
  }

  .modal-datepicker__weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 4px;
  }

  .modal-datepicker__weekday {
    text-align: center;
    color: #818EA2;
    font-size: 12px;
    font-family: 'Manrope';
    padding: 4px 0;
  }

  .modal-datepicker__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
  }

  .modal-datepicker__day {
    text-align: center;
    padding: 8px 0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-family: 'Manrope';
    color: #1F2430;
    transition: background 0.15s ease;
  }

  .modal-datepicker__day:hover {
    background: #F5F2FF;
  }

  .modal-datepicker__day--outside {
    color: #C2C8D4;
  }

  .modal-datepicker__day--today {
    font-weight: 600;
    color: #7A52FF;
  }

  .modal-datepicker__day--selected {
    background: #7A52FF;
    color: #FFFFFF;
  }

  .modal-datepicker__day--selected:hover {
    background: #6B46E5;
  }

  .modal-datepicker__day--scenario-available:not(.modal-datepicker__day--selected) {
    background: #F5F2FF;
  }

  .modal-datepicker__day--scenario-unavailable:not(.modal-datepicker__day--selected) {
    background: #EBEBEC;
    color: #818EA2;
  }

  .modal-datepicker__day--scenario-unavailable:hover:not(.modal-datepicker__day--selected) {
    background: #EBEBEC;
  }

  .modal-datepicker__day--scenario-pending:not(.modal-datepicker__day--selected) {
    background: #F1F2F6;
    color: #818EA2;
  }

  .modal-datepicker__day[data-scenario-tooltip] {
    position: relative;
  }

  .modal-datepicker__day[data-scenario-tooltip]::before {
    content: attr(data-scenario-tooltip);
    display: block;
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%);
    background: #3D3356;
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
    z-index: 10001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.12s ease;
  }

  .modal-datepicker__day[data-scenario-tooltip]::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: calc(100% + 2px);
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: transparent;
    border-top-color: #3D3356;
    z-index: 10001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.12s ease;
  }

  .modal-datepicker__day[data-scenario-tooltip]:hover::before,
  .modal-datepicker__day[data-scenario-tooltip]:hover::after {
    opacity: 1;
  }

  .modal-datepicker__footer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #EBEBEC;
    display: flex;
    justify-content: center;
  }

  .modal-datepicker__today-btn {
    border: none;
    background: transparent;
    color: #7A52FF;
    font-family: 'Manrope';
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 8px;
  }

  .modal-datepicker__today-btn:hover {
    background: #F5F2FF;
  }