* {
    scrollbar-width: thin;
    scrollbar-color: #D39C71 #4B5F68;
  }
  *::-webkit-scrollbar {
    height: 10px;
    width: 10px;
  }
  *::-webkit-scrollbar-track {
    background: #D39C71;
  }
  *::-webkit-scrollbar-thumb {
    background-color: #4B5F68;
    border-radius: 5px;
    border: 3px solid #D39C71;
  }
  
  body {
    overflow-x: hidden !important;
}
  
  body, 
  html, 
  .widget-fit1c-wrapper,
  .main_rz,
  .wr-menu_rz,
  .menu_rz,
  .content_rz,
  footer,
  .cont-f_rz {
      background: #4B5F68 !important;
      color: #ffffff !important;
  }
  
  .wr-header_rz {
      background: #4B5F68 !important;
      border-bottom: 1px solid rgba(255,255,255,0.1) !important;
  }
  
  /* Меню навигации */
  .menu_rz {
      border: none !important;
      background: rgba(0,0,0,0.2) !important;
      border-radius: 10px!important;
      margin-top: 20px!important;
  }
  
  .menu_rz ul {
      display: flex !important;
      justify-content: center !important;
      border: none !important;
      margin: 0 !important;
      padding: 0 !important;
  }
  
  .menu_rz ul li {
      border: none !important;
  }
  
  .menu_rz ul li a {
      color: #ffffff !important; 
      font-size: 15px !important;
      transition: all 0.3s !important;
      position: relative !important;
      font-weight: 400 !important;
  }
  
  .menu_rz ul li a:hover {
      background: rgba(198, 156, 109, 0.2) !important;
      color: #C69C6D !important;
  }
  
  .menu_rz ul li a.active {
      color: #C69C6D !important;
      background: rgba(198, 156, 109, 0.1) !important;
  }
  
  /* Футер */
  footer,
  .cont-f_rz {
      border-top: 1px solid rgba(255,255,255,0.1) !important;
  }
  
  .copy_rz {
      color: rgba(255,255,255,0.7) !important;
  }
  
  /* Форма входа  */
  .field_rz input {
      background: rgba(255,255,255,0.1) !important;
      border: 1px solid rgba(255,255,255,0.2) !important;
      color: #ffffff !important;
      font-size: 16px !important;
  }
  
  .field_rz input::placeholder {
      color: rgba(255,255,255,0.5) !important;
  }
  
  /* Кнопка входа */
  .button_rz button {
      background: #C69C6D !important;
      color: #ffffff !important;
      font-weight: 500 !important;
  }
  
  /* Ссылки */
  .link-form_rz a {
      color: #C69C6D !important;
  }
  
  .link-form_rz a:hover {
      opacity: 0.8 !important;
  }
  
  * {
      background-color: transparent !important;
      touch-action: manipulation !important;
  }
  
  .menu_rz,
  .menu-group_rz,
  .time-sched,
  .slide_rz,
  a,
  button {
      touch-action: manipulation !important;
      -webkit-touch-callout: none !important;
      -webkit-tap-highlight-color: transparent !important;
  }
  
  .signat_rz,
  .name_rz,
  .exit_rz a {
      color: #ffffff !important;
  }
  
  /* Заголовок */
  h1 {
      color: #ffffff !important;
      text-align: center !important;
      margin-bottom: 30px !important;
      font-size: 28px !important;
      font-weight: 300 !important;
  }
  
  /* Карточка долга */
  .debs_rz {
      background: rgba(0,0,0,0.15) !important;
      border-radius: 12px !important;
      border: 1px solid rgba(255,255,255,0.1) !important;
      padding: 20px !important;
      margin-bottom: 20px !important;
      position: relative !important;
  }
  
  /* Заголовок долга */
  .tit-debs_rz {
      color: #C69C6D !important;
      font-size: 18px !important;
      font-weight: 500 !important;
      margin-bottom: 15px !important;
  }
  
  /* Информация о долге */
  .item-card_rz {
      margin-bottom: 15px !important;
  }
  
  .tit-inf_rz {
      color: #ffffff !important;
      font-size: 15px !important;
  }
  
  .tit-inf_rz span {
      color: rgba(255,255,255,0.7) !important;
      margin-right: 10px !important;
  }
  
  /* Цена */
  .price-c_rz {
      color: #ffffff !important;
      font-size: 16px !important;
      font-weight: 500 !important;
      margin-bottom: 15px !important;
  }
  
  /* Кнопка оплаты */
  .but-buy_rz {
      text-align: right !important;
  }
  
  .but-buy_rz a {
      display: inline-block !important;
      background: #C69C6D !important;
      color: #ffffff !important;
      padding: 10px 25px !important;
      border-radius: 8px !important;
      text-decoration: none !important;
      font-size: 15px !important;
      font-weight: 500 !important;
      transition: all 0.3s !important;
  }
  
  .but-buy_rz a:hover {
      background: #d4aa7c !important;
      transform: translateY(-1px) !important;
  }
  
  .but-buy_rz a,
  .but-buy_rz a:hover,
  .but-buy_rz a:active,
  .but-buy_rz a:focus {
      line-height: normal !important;
  }
  
  .razovaya-usluga_rz {
      background: rgba(0,0,0,0.1) !important;
      border-radius: 12px !important;
      padding: 20px !important;
      margin-top: 20px !important;
      display: flex !important;
      justify-content: space-between !important;
      align-items: center !important;
  }
  
  .razovaya-usluga_rz .title {
      font-size: 15px !important;
      color: #ffffff !important;
      font-weight: 500 !important;
  }
  
  .razovaya-usluga_rz .count {
      color: rgba(255,255,255,0.7) !important;
      font-size: 14px !important;
  }
  
  /* Статус */
  .status-badge {
      display: inline-flex !important;
      align-items: center !important;
      padding: 4px 12px !important;
      border-radius: 100px !important;
      font-size: 13px !important;
      font-weight: 500 !important;
      background: rgba(198, 156, 109, 0.15) !important;
      color: #C69C6D !important;
  }
  
  /* Адаптивность */
  @media (max-width: 768px) {
      .item-card_rz {
          grid-template-columns: 1fr !important;
          gap: 15px !important;
      }
      
      .but-buy_rz {
          width: 100% !important;
      }
      
      .but-buy_rz a {
          width: 100% !important;
      }
      
      .razovaya-usluga_rz {
          grid-template-columns: 1fr !important;
          gap: 10px !important;
          text-align: center !important;
      }
  }
  
  /* Фикс двойной попап */
  .fancybox-overlay {
      background: rgba(0,0,0,0.8) !important;
  }
  
  .fancybox-wrap {
      background: transparent !important;
  }
  
  .content_rz.content_rz2 {
      width: auto !important;
      min-width: 0 !important;
      max-width: none !important;
      height: auto !important;
      position: static !important;
      margin: 0 !important;
      padding: 0 !important;
      background: transparent !important;
  }
  
  /* Модальное окно сброса пароля */
  .fancyboxFit {
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      min-height: 100vh !important;
      padding: 20px !important;
  }
  
  /* Содержимое модального окна */
  .fancyboxFit__content {
      background: #4B5F68 !important;
      border-radius: 16px !important;
      padding: 30px !important;
      width: 100% !important;
      max-width: 480px !important;
      position: relative !important;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
  }
  
  /* Заголовок в модальном окне */
  .fancyboxFit__content h1 {
      text-align: center !important;
      margin-bottom: 25px !important;
      font-size: 24px !important;
      color: #ffffff !important;
  }
  
  /* Форма внутри модального окна */
  .fancyboxFit__content .form_rz {
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      width: 100% !important;
  }
  
  /* Поля ввода */
  .fancyboxFit__content .field_rz {
      width: 100% !important;
      max-width: 360px !important;
      margin: 0 auto 15px !important;
  }
  
  /* Кнопка отправки */
  .fancyboxFit__content .but-form {
      width: 100% !important;
      max-width: 360px !important;
      margin: 20px auto 0 !important;
  }
  
  .fancyboxFit__content .but-form button {
      width: 100% !important;
      height: 48px !important;
      background: #C69C6D !important;
      border: none !important;
      border-radius: 8px !important;
      color: #ffffff !important;
      font-size: 15px !important;
      font-weight: 500 !important;
      cursor: pointer !important;
      transition: all 0.3s !important;
  }
  
  .fancybox-skin,
  .fancybox-outer,
  .fancybox-inner {
      background: transparent !important;
      box-shadow: none !important;
      padding: 0 !important;
  }
  
  /* Кнопка закрытия */
  .fancyboxFit__close {
      position: absolute !important;
      top: 20px !important;
      right: 20px !important;
      width: 30px !important;
      height: 30px !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      color: rgba(255,255,255,0.5) !important;
      cursor: pointer !important;
      transition: color 0.3s !important;
      background: rgba(0,0,0,0.2) !important;
      border-radius: 50% !important;
  }
  
  .fancyboxFit__close:hover {
      color: #ffffff !important;
  }
  
  /* Иконка глаза во всех формах */
  .view-pass_rz,
  .view-pass_rz:after,
  .active_view-rz:after {
      filter: brightness(0) invert(1) !important;
      opacity: 0.7 !important;
      transition: opacity 0.3s !important;
  }
  
  .view-pass_rz:hover,
  .active_view-rz:hover:after {
      opacity: 1 !important;
  }
  
  /* Выпадающий список стран */
  .drop-flag_rz {
      background: #3D4D55 !important; 
      border: 1px solid rgba(255,255,255,0.2) !important;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
      scrollbar-width: thin !important;
      scrollbar-color: #C69C6D #2D3B42 !important;
  }
  
  .drop-flag_rz ul li {
      background: transparent !important;
      transition: all 0.3s !important;
      color: #ffffff !important;
  }
  
  .drop-flag_rz ul li:hover {
      background: rgba(198, 156, 109, 0.1) !important;
  }
  
  /* Код страны в выпадающем списке */
  .num-contry_rz {
      color: #ffffff !important;
  }
  
  /* Иконка крестика в модальном окне */
  .carousel__button.is-close svg {
      stroke: #ffffff !important; 
      width: 20px !important;
      height: 20px !important;
  }
  
  /* Иконка крестика при наведении */
  .carousel__button.is-close:hover svg {
      stroke: rgba(255,255,255,0.7) !important;
  }
  
  .remember-pass_rz {
      font-size: 16px!important;
  }
  
  /* Выпадающий список пола */
  .dropdown {
      background: #3D4D55 !important;
      border: 1px solid rgba(255,255,255,0.2) !important;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
      border-radius: 8px !important;
      scrollbar-width: thin !important;
      scrollbar-color: #C69C6D #2D3B42 !important;
  }
  
  .dropdown ul {
      padding: 8px 0 !important;
      margin: 0 !important;
  }
  
  .dropdown ul li {
      color: #ffffff !important;
      padding: 8px 16px !important;
      cursor: pointer !important;
      transition: all 0.3s !important;
      background: transparent !important;
  }
  
  .dropdown ul li:hover,
  .dropdown ul li.selected {
      background: rgba(198, 156, 109, 0.1) !important;
      color: #C69C6D !important;
  }
  
  /* Иконка глаза в поле пароля */
  .in-password .password-control {
      filter: brightness(0) invert(1) !important;
      opacity: 0.7 !important;
      transition: opacity 0.3s !important;
  }
  
  .in-password .password-control:hover {
      opacity: 1 !important;
  }
  
  /* Стилизация скролла для выпадающих списков */
  .drop-flag_rz::-webkit-scrollbar,
  .dropdown::-webkit-scrollbar {
      width: 8px !important;
  }
  
  .drop-flag_rz::-webkit-scrollbar-track,
  .dropdown::-webkit-scrollbar-track {
      background: #2D3B42 !important;
      border-radius: 4px !important;
  }
  
  .drop-flag_rz::-webkit-scrollbar-thumb,
  .dropdown::-webkit-scrollbar-thumb {
      background-color: #C69C6D !important;
      border-radius: 4px !important;
  }
  
  .drop-flag_rz::-webkit-scrollbar-thumb:hover,
  .dropdown::-webkit-scrollbar-thumb:hover {
      background-color: #B58B5C !important;
  }
  
  /* Отступ для заголовков страниц */
  .content_rz h1,
  .content_rz .content_rz_content_rz2 h1 {
      margin-top: 40px !important;
      margin-bottom: 30px !important;
      text-align: center !important;
      font-size: 28px !important;
      font-weight: 300 !important;
      color: #ffffff !important;
  }
  
  /* Сообщение об успехе */
  [data-success] {
      font-size: 16px !important;
      color: #ffffff !important;
  }
  
  /* Стилизация чекбокса */
  .b-checks_rz.check-p_rz input[type=checkbox]:checked + label:before {
      filter: brightness(0) invert(1) !important; 
  }
  
  /* Меню типов занятий */
  .menu-group_rz {
      margin-bottom: 30px !important;
  }
  
  .menu-group_rz ul {
      display: flex !important;
      justify-content: center !important;
      gap: 20px !important;
      padding: 0 !important;
      margin: 0 !important;
      list-style: none !important;
  }
  
  .menu-group_rz ul li a {
      color: #ffffff !important;
      text-decoration: none !important;
      font-size: 16px !important;
      transition: all 0.3s !important;
  }
  
  .menu-group_rz ul li a:hover,
  .menu-group_rz ul li.active_rz a {
      color: #C69C6D !important;
  }
  
  /* Карточки расписания */
  .time-sched {
      background: rgba(255, 255, 255, 0.05) !important;
      border: 1px solid rgba(255, 255, 255, 0.1) !important;
      border-radius: 8px !important;
      padding: 12px !important;
      transition: all 0.3s !important;
      cursor: pointer !important;
  }
  
  .time-sched:hover {
      background: rgba(198, 156, 109, 0.1) !important;
      border-color: rgba(198, 156, 109, 0.2) !important;
      transform: translateY(-2px) !important;
  }
  
  .tm-s {
      color: #C69C6D !important;
      font-size: 15px !important;
      font-weight: 500 !important;
      margin-bottom: 8px !important;
  }
  
  .tm-d {
      color: rgba(255,255,255,0.6) !important;
      font-size: 13px !important;
      margin-bottom: 8px !important;
  }
  
  .place-table_res {
      color: #C69C6D !important;
      font-size: 13px !important;
      font-weight: 500 !important;
  }
  
  /* Время слева и справа */
  .body-sched td:first-child,
  .body-sched td:last-child {
      color: rgba(255,255,255,0.7) !important;
      font-size: 14px !important;
      font-weight: 500 !important;
  }
  
  /* Слайдер залов */
  .name-sl-trainer_rz {
      color: #ffffff !important;
      font-size: 14px !important;
      margin-top: 10px !important;
      text-align: center !important;
  }
  
  .slide_rz.selected .name-sl-trainer_rz {
      color: #C69C6D !important;
  }
  
  /* Навигация по дням для мобильных */
  .nav-mobile-date ul li {
      color: #ffffff !important;
  }
  
  .nav-mobile-date ul li.active-day,
  .nav-mobile-date ul li.dis-dt2 {
      color: #C69C6D !important;
  }
  
  /* Переключатели Неделя/День */
  .item-dw_rz a {
      color: #ffffff !important;
      transition: all 0.3s !important;
  }
  
  .item-dw_rz a:hover,
  .item-dw_rz.active a {
      color: #C69C6D !important;
  }
  
  /* Иконка недели */
  .item-dw_rz.w_rz a:before {
      filter: brightness(0) invert(1) !important;
      transition: all 0.3s !important;
  }
  
  .item-dw_rz.w_rz a:hover:before,
  .item-dw_rz.w_rz.active a:before {
      filter: invert(70%) sepia(20%) saturate(1109%) hue-rotate(338deg) brightness(89%) contrast(84%) !important;
  }
  
  /* Иконка дня */
  .item-dw_rz.d_rz a:before {
      filter: brightness(0) invert(1) !important;
      transition: all 0.3s !important;
  }
  
  .item-dw_rz.d_rz a:hover:before,
  .item-dw_rz.d_rz.active a:before {
      filter: invert(70%) sepia(20%) saturate(1109%) hue-rotate(338deg) brightness(89%) contrast(84%) !important;
  }
  
  /* Увеличиваем специфичность селектора */
  .content_rz .menu-group_rz ul li.active_rz a,
  .widget-fit1c-wrapper .menu-group_rz ul li.active_rz a,
  body .menu-group_rz ul li.active_rz a {
      color: #C69C6D !important;
  }
  
  /* На всякий случай еще более специфичный вариант */
  html body .content_rz .menu-group_rz ul li.active_rz a {
      color: #C69C6D !important;
  }
  
  /* Заголовки дней в расписании */
  .body-sched2 th {
      color: #ffffff !important;
      font-weight: normal !important;
      font-size: 14px !important;
  }
  
  .body-sched2 th br {
      margin-bottom: 3px !important;
  }
  
  /* Активный день */
  .body-sched2 th.active-day,
  .body-sched2 th.dis-dt2 {
      color: #C69C6D !important;
      font-weight: 500 !important;
  }
  
  /* Дополнительно увеличиваем специфичность на случай конфликтов */
  body .body-sched.body-sched2 th {
      color: #ffffff !important;
  }
  
  body .body-sched.body-sched2 th.active-day,
  body .body-sched.body-sched2 th.dis-dt2 {
      color: #C69C6D !important;
  }
  
  /* Ячейки расписания */
  .body-sched td li a {
      position: relative !important;
      display: block !important;
      padding: 5px !important;
      color: #ffffff !important;
      text-decoration: none !important;
      background: none !important;
      text-align: left !important;
      height: auto !important;
      border: none !important;
      min-height: 56px !important;
  }
  
  /* Убираем зеленую обводку */
  .body-sched td {
      border: none !important;
      outline: none !important;
  }
  
  .body-sched td li {
      border: none !important;
      outline: none !important;
  }
  
  /* Убираем все возможные границы */
  .body-sched,
  .body-sched table,
  .body-sched tr,
  .body-sched td,
  .body-sched th {
      border: none !important;
      outline: none !important;
  }
  
  .body-sched_personal td li .tm-s { 
      color: #C69C6D!important;
  }
  /* хуй */
  /* Модальное окно */
  .fancyboxFit__content {
      background: #4B5F68 !important;
      border-radius: 16px !important;
      padding: 30px !important;
      width: 100% !important;
      max-width: 480px !important;
      position: relative !important;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
  }
  
  /* Заголовок услуги */
  .app-title .service-name {
      color: #ffffff !important;
      font-size: 24px !important;
      font-weight: 500 !important;
      margin-bottom: 20px !important;
  }
  
  /* Время */
  .pop-time_res {
      display: flex !important;
      align-items: center !important;
      gap: 10px !important;
      margin-top: 15px !important;
  }
  
  .time-work_res {
      display: flex !important;
      align-items: center !important;
      color: #C69C6D !important;
      font-size: 16px !important;
      font-weight: 500 !important;
  }
  
  .time-work_res:before {
      content: '' !important;
      width: 16px !important;
      height: 16px !important;
      background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23C69C6D' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm0 18c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8zm.5-13H11v6l5.2 3.2.8-1.3-4.5-2.7V7z'/%3E%3C/svg%3E") no-repeat center/contain !important;
      margin-right: 8px !important;
  }
  
  .time-line_res {
      color: rgba(255, 255, 255, 0.6) !important;
      font-size: 14px !important;
  }
  
  /* Название услуги */
  .service-name {
      color: #ffffff !important;
      font-size: 24px !important;
      font-weight: 500 !important;
  }
  
  /* Кнопка бронирования */
  .but-form button[data-app-set] {
      width: 100% !important;
      height: 48px !important;
      background: #C69C6D !important;
      border: none !important;
      border-radius: 8px !important;
      color: #ffffff !important;
      font-size: 15px !important;
      font-weight: 500 !important;
      cursor: pointer !important;
      transition: all 0.3s !important;
  }
  
  .but-form button[data-app-set]:hover {
      background: #d4aa7c !important;
  }
  
  /* Информация о зале */
  .about-trainer_res {
      background: rgba(0,0,0,0.2) !important;
      border-radius: 12px !important;
      padding: 15px !important;
      margin: 20px 0 !important;
      display: flex !important;
      align-items: center !important;
      gap: 15px !important;
  }
  
  .img-trainer_res img {
      border-radius: 8px !important;
      width: 60px !important;
      height: 60px !important;
      object-fit: cover !important;
  }
  
  .desc-trainer_res span {
      color: #ffffff !important;
      font-size: 16px !important;
      font-weight: 500 !important;
  }
  
  /* Вкладки */
  .nav-title {
      margin-bottom: 20px !important;
  }
  
  .nav-title span {
      color: #C69C6D !important;
      font-size: 18px !important;
      font-weight: 500 !important;
  }
  
  /* Сообщения */
  .error-text {
      color: #ff6b6b !important;
      margin-bottom: 10px !important;
  }
  
  .message-success {
      color: #69db7c !important;
      margin-bottom: 10px !important;
  }
  
  .text {
      color: rgba(255,255,255,0.7) !important;
      font-size: 14px !important;
  }
  
  /* Кнопка закрытия */
  .fancyboxFit__content .carousel__button.is-close {
      position: absolute !important;
      top: 15px !important;
      right: 15px !important;
      background: none !important;
      border: none !important;
      padding: 5px !important;
      cursor: pointer !important;
  }
  
  .fancyboxFit__content .carousel__button.is-close svg {
      width: 24px !important;
      height: 24px !important;
      stroke: rgba(255,255,255,0.7) !important;
      stroke-width: 2 !important;
      transition: all 0.3s !important;
  }
  
  .fancyboxFit__content .carousel__button.is-close:hover svg {
      stroke: #ffffff !important;
  }
 
  
  /* Выпадающий список выбора времени */
  .die-sel {
      position: absolute !important;
      top: 100% !important;
      left: 0 !important;
      width: 100% !important;
      background: #4B5F68 !important;
      border: 1px solid rgba(255,255,255,0.1) !important;
      border-radius: 8px !important;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
      z-index: 100 !important;
      margin-top: 5px !important;
  }
  
  /* Контейнер для опций */
  .die-sel .in-die {
      max-height: 200px !important;
      overflow-y: auto !important;
  }
  
  /* Опции в списке */
  .die-sel .in-die label {
      display: block !important;
      padding: 10px 15px !important;
      color: #ffffff !important;
      font-size: 14px !important;
      cursor: pointer !important;
      transition: all 0.3s !important;
      border-radius: 6px !important;
      margin: 2px 5px !important;
  }
  
  /* Эффект при наведении */
  .die-sel .in-die label:hover {
      background: rgba(198, 156, 109, 0.1) !important;
      color: #C69C6D !important;
  }
  
  /* Выбранная опция */
  .die-sel .in-die label.active {
      background: rgba(198, 156, 109, 0.2) !important;
      color: #C69C6D !important;
  }
  
  /* Скроллбар */
  .die-sel .in-die::-webkit-scrollbar {
      width: 6px !important;
  }
  
  .die-sel .in-die::-webkit-scrollbar-track {
      background: rgba(255,255,255,0.1) !important;
      border-radius: 3px !important;
  }
  
  .die-sel .in-die::-webkit-scrollbar-thumb {
      background: rgba(198, 156, 109, 0.3) !important;
      border-radius: 3px !important;
  }
  
  .fancyboxFit__carousel .fancyboxFit__slide .fancyboxFit__content {
      display: flex!important;
  }
  
  .tm-d {
      color: rgb(198, 156, 109)!important;
  }
  
  /* Адаптивные стили для нижнего меню */
  @media (max-width: 768px) {
      /* Контейнер меню */
      .menu_rz {
          position: fixed !important;
          bottom: 15px !important;
          left: 15px !important;
          right: 15px !important;
          margin: 0 !important;
          padding: 10px !important;
          z-index: 1000 !important;
          background: rgba(0,0,0,0.4) !important;
          backdrop-filter: blur(10px) !important;
          -webkit-backdrop-filter: blur(10px) !important;
      }
  
      /* Пункты меню */
      .menu_rz ul {
          display: flex !important;
          justify-content: space-between !important;
          gap: 5px !important;
      }
  
      .menu_rz ul li {
          flex: 1 !important;
      }
  
      .menu_rz ul li a {
          font-size: 12px !important;
          padding: 8px 5px !important;
          text-align: center !important;
          white-space: nowrap !important;
      }
  }
  
  /* Для iPhone SE и других маленьких экранов */
  @media (max-width: 375px) {
      .menu_rz {
          bottom: 10px !important;
          left: 10px !important;
          right: 10px !important;
          padding: 8px !important;
      }
  
      .menu_rz ul li a {
          font-size: 11px !important;
          padding: 6px 3px !important;
      }
  }
  
  /* Для очень маленьких экранов */
  @media (max-width: 320px) {
      .menu_rz ul li a {
          font-size: 10px !important;
          padding: 5px 2px !important;
      }
  }
  
  /* Стили для планшетов */
  @media (min-width: 769px) and (max-width: 1024px) {
      /* Основное меню */
      .menu_rz {
          margin: 20px 30px !important;
          padding: 12px !important;
      }
  
      .menu_rz ul {
          gap: 15px !important;
      }
  
      .menu_rz ul li a {
          font-size: 14px !important;
          padding: 10px 15px !important;
      }
  
      /* Контент */
      .content_rz {
          padding: 0 30px !important;
      }
  
      /* Заголовки */
      .content_rz h1 {
          margin-top: 30px !important;
          font-size: 26px !important;
      }
  }
  
  /* Стили для больших планшетов */
  @media (min-width: 1025px) and (max-width: 1366px) {
      .menu_rz {
          margin: 25px 40px !important;
          padding: 15px !important;
      }
  
      .content_rz {
          padding: 0 40px !important;
      }
  }
  
  /* Адаптивные стили для меню посещений */
  @media (max-width: 768px) {
      .menu-group_rz {
          margin: 10px -10px !important;
      }
  
      .menu-group_rz ul {
          flex-wrap: wrap !important;
          gap: 8px !important;
          padding: 0 10px !important;
      }
  
      .menu-group_rz ul li {
          flex: 0 1 calc(50% - 4px) !important; /* 2 кнопки в ряд */
      }
  
      .menu-group_rz ul li a {
          font-size: 14px !important;
          padding: 8px 5px !important;
          display: block !important;
          text-align: center !important;
          white-space: nowrap !important;
      }
  }
  
  /* Для совсем маленьких экранов */
  @media (max-width: 375px) {
      .menu-group_rz ul li a {
          font-size: 13px !important;
      }
  }
  
  /* Адаптивные стили для залов */
  @media (max-width: 375px) {
      /* Уменьшаем размер карточек залов */
      .slide_rz {
          width: 120px !important;
          margin: 0 5px !important;
      }
  
      /* Уменьшаем картинки */
      .slide_rz img {
          width: 120px !important;
          height: 120px !important;
      }
  
      /* Уменьшаем название */
      .name-sl-trainer_rz {
          font-size: 12px !important;
          margin-top: 5px !important;
      }
  }
  
  /* Для самых маленьких экранов */
  @media (max-width: 320px) {
      .slide_rz {
          width: 100px !important;
      }
  
      .slide_rz img {
          width: 100px !important;
          height: 100px !important;
      }
  
      .name-sl-trainer_rz {
          font-size: 11px !important;
      }
  }
  
  .fancyboxFit__content .content_rz2 {
      display: flex !important;
      flex-direction: column !important;
  }
  
  .fancyboxFit__content [data-block-auth-shedule] .form_rz > * {
      margin-bottom: 15px !important;
  }
  
  .fancyboxFit__content [data-block-auth-shedule] .form_rz > *:last-child {
      margin-bottom: 0 !important;
  }
  
  .total-buy_rz {
      padding-right: 20px!important;
  
  }
  .logo-cards_rz {
      font-size: 9px!important;
      padding-right: 20px!important;
  }
  
  /* Стили для модального окна покупки */
  .fancyboxFit__content .form_rz[data-pay-form-debts] {
      width: 100% !important;
  }
  
  .fancyboxFit__content .form_rz[data-pay-form-debts] .content_rz2 {
      justify-content: center !important;
      display: flex !important;
  }
  
  .fancyboxFit__content .form_rz[data-pay-form-debts] .total-buy_rz {
      padding-right: 20px !important;
  }
  
  .fancyboxFit__content .form_rz[data-pay-form-debts] .logo-cards_rz {
      font-size: 9px !important;
      padding-right: 20px !important;
  }
  
  /* Стили для модального окна смены почты */
  .fancyboxFit__content[data-block-change-email] {
      max-width: 400px !important;
  }
  
  .fancyboxFit__content[data-block-change-email] .content_rz2 {
      display: block !important;
      width: 100% !important;
  }
  
  .fancyboxFit__content[data-block-change-email] .form_rz {
      width: 100% !important;
      max-width: 320px !important;
      margin: 0 auto !important;
  }
  
  .fancyboxFit__content[data-block-change-email] .field_rz {
      margin-bottom: 20px !important;
  }
  
  .fancyboxFit__content[data-block-change-email] .button_rz2 {
      width: 100% !important;
  }
  
  .fancyboxFit__content[data-block-change-email] .button_rz2 button {
      width: 100% !important;
      height: 48px !important;
      background: #C69C6D !important;
      border: none !important;
      border-radius: 8px !important;
      color: #ffffff !important;
      font-size: 15px !important;
      font-weight: 500 !important;
      cursor: pointer !important;
      transition: all 0.3s !important;
  }
  
  
  @media screen and (max-width: 978px) {
      /* Общий селектор для всех полей ввода в формах */
      html body .widget-fit1c-wrapper .field_rz input,
      html body .main_rz .field_rz input,
      html body .fancyboxFit__content .field_rz input,
      html body [data-block-remember] .field_rz input,
      html body [data-form-remember] .field_rz input,
      html body .content_rz .field_rz input,
      html body .content_rz2 .field_rz input {
          font-size: 16px !important;
      }
  
      /* Специальный селектор для поля телефона */
      html body .field_rz input.phone_rz,
      html body .field_country_rz input.phone_rz {
          font-size: 16px !important;
      }
  
      /* Специальный селектор для полей пароля */
      html body .field_rz input.passwordInput_rz {
          font-size: 16px !important;
      }
  
      .schedule-date.active,
      .schedule-date[data-active="true"] {
          background: transparent !important;
          color: #ffffff !important; /* Возврат обычного цвета текста */
      }
  
      /* При реальном клике (состояние :active) отображние подсветки */
      .schedule-date:active {
          background: rgba(198, 156, 109, 0.2) !important;
          color: #C69C6D !important;
      }
  }
  
  /* Стандартное поведение на десктопе */
  @media screen and (min-width: 979px) {
      .schedule-date.active,
      .schedule-date[data-active="true"] {
          background: rgba(198, 156, 109, 0.2) !important;
          color: #C69C6D !important;
      }
  }
  
  /* Дополнительное правило для iOS */
  @supports (-webkit-touch-callout: none) {
      .field_rz input,
      .in-field_rz input {
          font-size: 16px !important;
      }
  }
  
  /* Подключаем шрифты */
  @font-face {
      font-family: 'Kreadon';
      src: url('/fonts/kreadon-medium.ttf') format('truetype');
      font-weight: 500;
      font-style: normal;
      font-display: swap;
      -webkit-font-smoothing: antialiased;
  }
  
  @font-face {
      font-family: 'Kreadon';
      src: url('/fonts/kreadon-light.ttf') format('truetype');
      font-weight: 300;
      font-style: normal;
      font-display: swap;
      -webkit-font-smoothing: antialiased;
  }
  
  body {
      font-family: 'Kreadon', sans-serif !important;
      font-weight: 300 !important; /* Light по умолчанию */
  }
  
  /* Для элементов, где нужен Medium */
  .menu_rz ul li a,
  .button_rz button,
  .button_rz2 button,
  .name_rz,
  .total-buy_rz,
  .schedule-date,
  .menu-group_rz ul li a {
      font-family: 'Kreadon', sans-serif !important;
      font-weight: 500 !important; /* Medium */
  }
  
  /* Для элементов, где нужен Light */
  h1,
  .signat_rz,
  .copy_rz,
  input,
  .field_rz input,
  .passwordInput_rz {
      font-family: 'Kreadon', sans-serif !important;
      font-weight: 300 !important; /* Light */
  }
  
  .loading:before,
  html body .loading:before,
  .widget-fit1c-wrapper .loading:before {
      filter: brightness(0) invert(1) !important;
  }
  
  /* Убираем фиксированное позиционирование при скролле */
  .nav-schedule.fit-floating.fixed_fit {
      position: static !important;
      width: 100% !important;
      top: auto !important;
      left: auto !important;
      z-index: 1 !important;
  }
  
  /* На всякий случай убираем возможные отступы */
  .nav-schedule.fit-floating {
      margin-bottom: 20px !important;
  }
  
  /* Стили для модального окна с информацией о занятии */
  .fancyboxFit__content .app-title {
      text-align: center !important;
  }
  
  .fancyboxFit__content .pop-time_res {
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      gap: 8px !important;
      margin-top: 15px !important;
  }
  
  /* Время и длительность */
  .fancyboxFit__content .time-work_res {
      display: flex !important;
      align-items: center !important;
      color: #C69C6D !important;
      font-size: 16px !important;
  }
  
  .fancyboxFit__content .time-line_res {
      color: rgba(255, 255, 255, 0.6) !important;
  }
  
  /* Описание занятия */
  .fancyboxFit__content .tab_rz {
      color: rgba(255, 255, 255, 0.9) !important;
      font-size: 15px !important;
      line-height: 1.5 !important;
  }
  
  /* Название услуги */
  .fancyboxFit__content .service-name {
      color: #ffffff !important;
      font-size: 24px !important;
      font-weight: 500 !important;
      display: block !important;
      margin-bottom: 10px !important;
      text-align: center !important;
  }
  
  /* Имя тренера и зал */
  .fancyboxFit__content .desc-trainer_res {
      color: rgba(255, 255, 255, 0.9) !important;
      font-size: 16px !important;
      text-align: center !important;
  }
  
  .fancyboxFit__content .desc-trainer_res span {
      display: block !important;
      color: #C69C6D !important;
      font-size: 14px !important;
      margin-top: 4px !important;
  }

  .tab_rz {
      text-align: center!important;
   }

/* Стили для окна успешной записи */
.fancyboxFit__content .final-message_rz {
    color: rgba(255, 255, 255, 0.9) !important;
    text-align: center !important;
}

.fancyboxFit__content .final-message_rz a {
    color: #C69C6D !important;
    text-decoration: none !important;
}

.fancyboxFit__content .final-message_rz a:hover {
    opacity: 0.8 !important;
}

.desc-trainer_res .bookmark_rz {
    display: none!important;
}

@media screen and (max-width: 767px) {
    .but-rep_rz {
        text-align: center!important;
    }
}

.link-work_res a {
    color: #C69C6D !important;
}

/* Стили для формы авторизации в модальном окне */
.fancyboxFit__content [data-block-auth-shedule] {
    color: rgba(255, 255, 255, 0.9) !important;
}

.fancyboxFit__content [data-block-auth-shedule] h1 {
    color: #ffffff !important;
    font-size: 24px !important;
    font-weight: 500 !important;
    margin-bottom: 20px !important;
}

/* Поля ввода */
.fancyboxFit__content .field_rz input,
.fancyboxFit__content .in-field_rz input {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    padding: 12px 15px !important;
}

.fancyboxFit__content .field_rz input::placeholder,
.fancyboxFit__content .in-field_rz input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Кнопка входа */
.fancyboxFit__content .button_rz button {
    background: #C69C6D !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    padding: 12px 30px !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
}

.fancyboxFit__content .button_rz button:hover {
    background: #d4aa7c !important;
}

/* Ссылки */
.fancyboxFit__content .link-form_rz {
    color: rgba(255, 255, 255, 0.9) !important;
    margin-top: 15px !important;
}

.fancyboxFit__content .link-form_rz a {
    color: #C69C6D !important;
    text-decoration: none !important;
}

.fancyboxFit__content .link-form_rz a:hover {
    opacity: 0.8 !important;
}

/* Стили для формы авторизации только в модальном окне расписания */
.fancyboxFit__content [data-block-auth-shedule] .content_rz .form_rz form[data-type="auth_schedule"] {
    display: flex !important;
    flex-direction: column !important;
}

/* Сброс для других форм */
.fancyboxFit__content .form_rz form:not([data-type="auth_schedule"]) {
    display: block !important;
}

.fancyboxFit__content {
    color: white !important;
}
.content_rz2 {
    flex-direction: column !important;
}
@media screen and (max-width: 767px) {
    .fl_rz rus_rz {
        display: none !important;
    }
}

/* Стили для кнопок в магазине */
.but-buy_rz a {
    height: auto !important;
    padding: 10px 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.tit-cat-card_rz span:after {
    border-top: 5px solid white !important;
}

/* Стили для бургер-меню */
.c-hamburger {
    display: block !important;
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    z-index: 91 !important;
    overflow: hidden !important;
    margin: -9px 0 0 !important;
    padding: 0 !important;
    width: 20px !important;
    height: 20px !important;
    font-size: 0 !important;
    text-indent: -9999px !important;
    appearance: none !important;
    box-shadow: none !important;
    border-radius: inherit !important;
    border: 0 !important;
    cursor: pointer !important;
    transition: background .3s !important;
}

/* Стилизация чекбоксов */
.list-nav input[type="checkbox"] + label:before {
    border: 1px solid white !important;
}

.list-nav input[type="checkbox"]:checked + label:before {
    background-color: #C69C6D !important;
    border-color: #C69C6D !important;
}

.name-cl_rz2 {
    color: white!important;
}

/* Стили для отмененных занятий */
.body-hist_rz.cancel-train_rz {
    background: rgba(198, 156, 109, 0.1) !important;
    opacity: 0.7 !important;
}

/* Стиль для текста "Отменено" */
.cancel-train_rz .cancel-hist_rz {
    color: #C69C6D !important;
}

/* Стиль для полоски в отмененных занятиях */
.cancel-train_rz .line-hist_rz {
    background-color: #C69C6D !important;
}

.time_rz:before {
    top: 0px!important;
}
.time-line_res:before { 
    top: 0px!important;
}

.body-card_rz p { 
    color: white!important;
}
.item-sel { 
    color: white!important;
}

.gym-hist_rz {
    color: white!important;
}

.locat-icons_rz svg path {
    fill: #D39C71 !important;
}

.time_rz:before {
    filter: brightness(0) invert(1);
}

@media screen and (max-width: 767px) {
.time-sched {
        padding-left: 0px!important;
    }
}

.time-line_res {
    color: white!important;
}
.time-line_res:before {
    filter: brightness(0) invert(1);
}

.wr-menu_rz {
    display: flex;
    justify-content: center;
    width: 100%;
}

.menu_rz {
    max-width: 1160px;
    padding: 0 10px !important;
    flex-grow: 1; 
}

@media screen and (max-width: 978px) {
    .link-form_rz {
        font-weight: 500!important;
    }
}

@media screen and (max-width: 978px) {
    .menu_rz ul li a i {
        color: #D39C71; 
        transition: color 0.5s, transform 0.5s;
    }
    
    .menu_rz ul li a:hover i {
        color: #ffffff;
    }
    
    .menu_rz ul li a {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
        transition: background-color 0.3s;
    }
    
    .menu_rz ul li a:hover {
        background-color: rgba(211, 156, 113, 0.2);
    }   
}

@media screen and (max-width: 978px) {
    .gym-day_rz ul {
        justify-content: center;
        gap: 10px;
    }
}

.select-choice_rz .selectbox .select .text {
    color: white!important;
}

[data-block-remember] .field_rz input,
[data-block-remember] .in-field_rz input {
    padding: 12px 15px 12px 50px !important; 
}

.flags_container_rz:before {
    border-top: 3px solid white !important;
}

[data-block-auth-shedule] .field_rz input,
[data-block-auth-shedule] .in-field_rz input {
    padding: 12px 15px 12px 50px !important;
}

.logo-cards_rz {
    color: white!important;
}

.logo-cards_rz a {
    color: white!important;
}

@media screen and (max-width: 767px) {
    .field_rz input[value]:not([value=""])+span {
        display: none!important;
    }
}

.time-line_res{
    color: white!important;
}

.fancyboxFit__content .time-line_res {
    color: white!important;
}

/* Выравнивание placeholder по левому краю */
.field_country_rz input::placeholder,
.field_country_rz .phone_rz::placeholder {
    text-align: left !important;
}

.field_rz input {
    text-align: left !important;
}

.list-serv_rz li{
    color: white!important;
}

.list-serv_rz {
    color:white!important;
}

.horizontal-card_rz .days-work_rz:before {
    filter: brightness(0) invert(1)!important;
}

.days-work_rz:not(.func-buy_rz .days-work_rz):before {
    top: -2px !important;
}

.func-buy_rz .days-work_rz:before {
    top: 1px !important; 
}

.counts-num_res input {
    color: white !important;
}

.minus-num_res, .plus-num_res {
    color: white !important;
}

.minus-num_res svg path, .plus-num_res svg path {
    fill: white !important;
}

.minus-num_res:before, .minus-num_res:after, 
.plus-num_res:before, .plus-num_res:after {
    background-color: white !important;
}

.counts-num_res input, .minus-num_res, .plus-num_res {
    border-color: white !important;
}

.item-ch-field_rz {
    display: flex !important;
    align-items: center !important;
    height: 37px !important;
}

.counts-num_res {
    display: flex !important;
    align-items: center !important;
}

.minus-num_res, .plus-num_res {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.counts-num_res input[type="text"] {
    color: white !important;
}

.minus-num_res, .plus-num_res {
    color: white !important;
}

.minus-num_res:before, .minus-num_res:after,
.plus-num_res:before, .plus-num_res:after {
    background-color: white !important;
}


.accord-checker_rz .field-sert_rz .choice-field_rz .item-ch-field_rz div[for="radio1"],
.accord-checker_rz .field-sert_rz .choice-field_rz .item-ch-field_rz div[for="radio2"] {
    position: relative !important;
    top: -9px !important;
}

.accord-checker_rz .field-sert_rz .choice-field_rz .item-ch-field_rz > div:first-child {
    position: relative !important;
    top: -9px !important;
}


.b-checks_rz label {
    color: white!important;
}

/* Изменение цвета выделения текста на всем сайте */
::selection {
    background-color: #D39C71 !important;
    color: white !important; 
}

/* Для поддержки Firefox */
::-moz-selection {
    background-color: #D39C71 !important;
    color: white !important;
}

.line-date {
    color: white!important;
}

.recr_res{
    color: white!important;
}

.time-work_res{
    color: #D39C71!important;
}

.no-text-sel {
    color: white!important;
}

.desc-trainer_res {
    color: white!important;
}

.logo-cards_rz {
    margin-right: 0px!important;
}


/*.nav-schedule.fit-floating.fixed_fit {*/
/*    display: none !important;*/
/*    opacity: 0 !important;*/
/*    visibility: hidden !important;*/
/*}*/


/* Основное решение для nav-schedule */
.nav-schedule,
.nav-schedule.fit-floating,
.nav-schedule.fixed_fit,
div[class*="nav-schedule"] {
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important; 
    background-color: #4B5F68 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    box-shadow: none !important;
    max-height: none !important;
}

/* Удаление дублирующихся элементов */
body > .nav-schedule:nth-of-type(n+2),
body > div > .nav-schedule:nth-of-type(n+2),
.nav-schedule + .nav-schedule,
.fixed_fit + .nav-schedule,
.nav-schedule.clone,
.nav-schedule.copy,
.nav-schedule-copy,
.nav-schedule-clone,
div[class*="copy"],
div[class*="clone"],
div[id*="copy"],
div[id*="clone"] {
    display: none !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    position: absolute !important;
}

/* Явное удаление псевдоэлементов */
.nav-schedule::before,
.nav-schedule::after,
.nav-schedule.fit-floating::before,
.nav-schedule.fit-floating::after,
.nav-schedule.fixed_fit::before,
.nav-schedule.fixed_fit::after,
div[class*="nav-schedule"]::before,
div[class*="nav-schedule"]::after {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    content: none !important;
    height: 0 !important;
}

/* Отключение всех анимаций и переходов */
.nav-schedule *,
.nav-schedule.fit-floating *,
.nav-schedule.fixed_fit *,
div[class*="nav-schedule"] * {
    transition: none !important;
    animation: none !important;
}

/* Дополнительная очистка для слайдера */
.slider-date::before,
.slider-date::after,
.bx-wrapper::before,
.bx-wrapper::after {
    display: none !important;
    content: none !important;
}

.nav-schedule,
.slider-date,
.bx-wrapper,
.menu-group_rz, 
.list-nav, 
.body-sched, 
.body-sched2 {
    background-color: #4B5F68 !important;
}

html {
    scroll-behavior: auto !important;
}

.sticky-placeholder,
.fixed-placeholder,
.nav-placeholder,
div[class*="placeholder"],
div[class*="spacer"],
.ui-helper,
.ui-helper-hidden,
.ui-clone,
div[class*="sticky-helper"],
div[class*="fixed-helper"] {
    display: none !important;
    height: 0 !important;
    max-height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.ln-block-sched {
    position: relative !important;
}

.die-sel,
.select-nav .die-sel,
.list-nav .die-sel,
div[class*="die-sel"],
div[class*="dropdown"],
.dropdown-menu,
.drop-content,
.select-options {
    position: absolute !important;
    z-index: 200 !important; 
    max-height: 300px !important;
    background-color: #4B5F68 !important;
}

.modal-window,
div[class*="modal"],
div[class*="popup"],
div[id*="modal"],
div[id*="popup"] {
    z-index: 1000 !important;
    position: fixed !important;
}



/*.nav-schedule,*/
/*.nav-schedule.fit-floating,*/
/*.nav-schedule.fixed_fit {*/
/*    position: sticky !important;*/
/*    top: 0 !important;*/
/*    z-index: 9999 !important;*/
    /*background-color: #4B5F68 !important;*/
/*    display: block !important;*/
/*    visibility: visible !important;*/
/*    opacity: 1 !important;*/
/*}*/

/* Явное удаление псевдоэлементов */
/*.nav-schedule::before,*/
/*.nav-schedule::after,*/
/*.nav-schedule.fit-floating::before,*/
/*.nav-schedule.fit-floating::after,*/
/*.nav-schedule.fixed_fit::before,*/
/*.nav-schedule.fixed_fit::after {*/
/*    display: none !important;*/
/*    visibility: hidden !important;*/
/*    opacity: 0 !important;*/
/*    content: none !important;*/
/*}*/

/* Отключение всех анимаций и переходов */
/*.nav-schedule *,*/
/*.nav-schedule.fit-floating *,*/
/*.nav-schedule.fixed_fit * {*/
/*    transition: none !important;*/
/*    animation: none !important;*/
/*}*/

/* Дополнительная очистка для слайдера */
/*.slider-date::before,*/
/*.slider-date::after,*/
/*.bx-wrapper::before,*/
/*.bx-wrapper::after {*/
/*    display: none !important;*/
/*    content: none !important;*/
/*}*/

/* Убираем правило, делающее все элементы прозрачными */
/* Вместо этого указываем конкретные фоны */
/*.nav-schedule {*/
/*    background-color: #4B5F68 !important;*/
/*}*/

/*.slider-date {*/
/*    background-color: #4B5F68 !important;*/
/*}*/

/*.bx-wrapper {*/
/*    background-color: #4B5F68 !important;*/
/*}*/

/* Обеспечиваем правильный фон для всех внутренних элементов */
/*.menu-group_rz, */
/*.list-nav, */
/*.body-sched, */
/*.body-sched2 {*/
/*    background-color: #4B5F68 !important;*/
/*}*/

/* Замещение псевдоэлементов, если их нельзя убрать */
/*.nav-schedule.fixed_fit::before {*/
    /*background-color: #4B5F68!important;*/
/*    opacity: 0 !important;*/




/* Исправляем подсветку дня в мобильной версии */
@media screen and (max-width: 978px) {
    /* Убираем золотое выделение со всех дней по умолчанию */
    .schedule-date,
    .nav-mobile-date ul li,
    .day-schedule .day-schedule-inner span,
    .sсhedule-day,
    .body-sched2 th {
        color: #ffffff !important; /* Возвращаем обычный цвет текста */
    }
    
    /* Применяем золотое выделение только для активного дня */
    .schedule-date.active,
    .schedule-date[data-active="Y"],
    .nav-mobile-date ul li.active,
    .nav-mobile-date ul li[data-active="Y"], 
    .day-schedule .day-schedule-inner span.active,
    .day-schedule .day-schedule-inner span[data-active="Y"],
    .body-sched2 th.active-day,
    .body-sched2 th[data-active="Y"] {
        color: #C69C6D !important; /* Золотой цвет для активного дня */
    }
    
    /* Явное переопределение состояния "сегодня" */
    .schedule-date-today.active,
    .schedule-date[data-today="true"]:not(.active),
    .nav-mobile-date ul li.dis-dt2:not(.active),
    th:contains("Сегодня"):not(.active-day) {
        color: #ffffff !important; /* Обычный цвет, если не активен */
    }
    
    /* Если сегодня также активно, то выделяем золотым */
    .schedule-date[data-today="true"].active,
    .nav-mobile-date ul li.dis-dt2.active,
    th:contains("Сегодня").active-day {
        color: #C69C6D !important;
    }
    
    /* Добавляем фоновое выделение для активного дня */
    .body-sched2 th.active-day,
    .nav-mobile-date ul li.active {
        background-color: rgba(198, 156, 109, 0.1) !important;
    }
    
    /* Фиксим смену дня при клике */
    .schedule-container {
        click-events: auto !important;
        pointer-events: auto !important;
    }
    
    /* Стиль при нажатии для лучшей обратной связи */
    .schedule-date:active,
    .nav-mobile-date ul li:active {
        background-color: rgba(198, 156, 109, 0.2) !important;
        color: #C69C6D !important;
    }
    
    /* Исправление для мобильной версии с "Сегодня" */
    th:contains("Сегодня") {
        color: #ffffff !important;
    }
    
    th:contains("Сегодня").active-day {
        color: #C69C6D !important;
    }
}

/* Исправление для мобильного календаря */
.calendar-block .calendar-day.active {
    background-color: rgba(198, 156, 109, 0.2) !important;
    color: #C69C6D !important;
}

.calendar-block .calendar-day:not(.active) {
    color: #ffffff !important;
}

/* Сегодня в календаре */
.calendar-block .calendar-day.today:not(.active) {
    color: #ffffff !important;
}

.calendar-block .calendar-day.today.active {
    color: #ffffff !important;
}

/* Изменение цвета текста только в модальных окнах правил и оферты */
.content_rz.content_rz2 [style*="color:black"],
.content_rz.content_rz2 [style*="color: black"],
.content_rz.content_rz2 [style*="mso-themecolor:text1"],
.content_rz.content_rz2 [style*="mso-themecolor: text1"],
.final-message_rz [style*="color:black"],
.final-message_rz [style*="color: black"],
.final-message_rz [style*="mso-themecolor:text1"],
.final-message_rz [style*="mso-themecolor: text1"] {
    color: white !important;
}

/*.nav-title {*/
/*    display: none!important;*/
/*}*/
  
/* Стилизация навигационных кнопок в модальном окне */
.app-comments .nav-title {
    display: flex !important;
    justify-content: space-between !important;
    margin: 20px 0 15px !important;
    padding: 0 !important;
    width: 100% !important;
    gap: 10px !important;
    border-bottom: none !important;
}

/* Специфический селектор для удаления нижней границы в модальном окне */
.set-app .app-comments .nav-title,
.pop-trainer_rz .app-comments .nav-title,
.fancyboxFit__content .app-comments .nav-title,
html body .app-comments .nav-title,
div.app-comments .nav-title,
.set-app.pop-trainer_rz .app-comments .nav-title {
    border-bottom: none !important;
    border: none !important;
}

/* Дополнительно для еще большей специфичности */
.set-app[data-set-app-form] .app-comments .nav-title {
    border-bottom: none !important;
}

/* Удаление всех возможных стилей, создающих линию */
.nav-title {
    border-bottom: none !important;
}

/* Исправление для inline-стилей */
[style*="border-bottom"] .nav-title {
    border-bottom: none !important;
}

.app-comments .nav-title span {
    color: #C69C6D !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    padding: 12px 2px !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    position: relative !important;
    flex: 1 !important;
    text-align: center !important;
    background: white !important;
    border-radius: 8px !important;
    border: 1px solid #C69C6D !important;
    min-height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.app-comments .nav-title span:hover {
    opacity: 0.9 !important;
}

.app-comments .nav-title span.active {
    color: white !important;
    background: #C69C6D !important;
    border-color: #C69C6D !important;
}

/* Дополнительные и более специфичные селекторы для активной кнопки */
.set-app .app-comments .nav-title span.active {
    background: #C69C6D !important;
    color: white !important;
}

.fancyboxFit__content .app-comments .nav-title span.active {
    background: #C69C6D !important;
    color: white !important;
}

html body .app-comments .nav-title span.active {
    background: #C69C6D !important;
    color: white !important;
}

/* Стилизация содержимого вкладок */
.app-comments .tab_rz {
    padding: 15px 0 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    text-align: left !important;
}

/* Улучшение адаптивности для планшетов и мобильных */
@media screen and (max-width: 767px) {
    .app-comments .nav-title {
        margin: 15px 0 10px !important;
    }

    .app-comments .nav-title span {
        font-size: 13px !important;
        padding: 10px 5px !important;
        min-height: 38px !important;
    }
    
    .app-comments .tab_rz {
        font-size: 13px !important;
        padding: 12px 0 !important;
    }
}

/* Сверхмалые экраны */
@media screen and (max-width: 359px) {
    .app-comments .nav-title span {
        font-size: 12px !important;
        padding: 8px 3px !important;
        min-height: 36px !important;
    }
}

/* Улучшаем отображение активного таба для всех размеров экрана */
.app-comments [data-pagen-comtent] {
    display: none !important;
}

.app-comments [data-pagen-comtent][style*="display: block"] {
    display: block !important;
}

/* Дополнительная фиксация для правильной работы всплывающих окон */
.fancyboxFit__content .app-comments {
    width: 100% !important;
}

/* Стиль для активной кнопки при нажатии */
.app-comments .nav-title span:active {
    opacity: 0.8 !important;
}

.about-trainer_res {
    border-top: none!important;
}


/* Выравнивание элементов преподавателя строго по центру */
.about-trainer_res {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

/* Выравнивание имени и зала по центру относительно фото */
.desc-trainer_res {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-self: center !important;
    margin: auto 0 !important;
    padding: 0 !important;
}

/* Явное выравнивание текста */
.desc-trainer_res span {
    margin-top: 5px !important;
}

/* Выравнивание изображения */
.img-trainer_res {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    align-self: center !important;
}

/* Точная позиция изображения */
.img-trainer_res img {
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
}

/* Сверхточные селекторы для переопределения всех возможных стилей */
html body .about-trainer_res,
.fancyboxFit__content .about-trainer_res,
.widget-fit1c-wrapper .about-trainer_res,
.schedule-container .about-trainer_res,
div[data-fit1c-calendar] .about-trainer_res {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 15px !important;
    min-height: 60px !important;
}

html body .desc-trainer_res,
.fancyboxFit__content .desc-trainer_res,
.widget-fit1c-wrapper .desc-trainer_res,
.schedule-container .desc-trainer_res,
div[data-fit1c-calendar] .desc-trainer_res {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
}

.pop-big-images_rz img {
    border-radius: 10px!important;
}

.img-trainer_res {
    padding: 0px!important;
}

.img-trainer_res img {
    border-radius: 50px!important;
}



/* Убираем автозаполнение браузера */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #4B5F68 inset !important;
    -webkit-text-fill-color: #ffffff !important;
    transition: background-color 5000s ease-in-out 0s;
    background-color: #4B5F68 !important;
}

/* Дополнительно для Firefox */
input:autofill {
    background-color: #4B5F68 !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 30px #4B5F68 inset !important;
}

/* Еще одно правило для полной уверенности */
.phone_rz:-webkit-autofill,
.phone_rz:-webkit-autofill:hover, 
.phone_rz:-webkit-autofill:focus,
input[data-input-pass]:-webkit-autofill,
input[data-input-pass]:-webkit-autofill:hover,
input[data-input-pass]:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 30px #4B5F68 inset !important;
    -webkit-text-fill-color: #ffffff !important;
}

.link_card2 a {
    color: #D39C71!important;
}

label[for="link_card2"] a {
    color: #D39C71!important;
}

.b-checks_rz.check-p_rz label[for="link_card2"] a,
.b-checks_rz.check-p_rz label[for="link_card3"] a,
.b-checks_rz.check-p_rz a[data-info-agreement="privacy_policy"],
.b-checks_rz.check-p_rz a[data-info-agreement="site_rules"],
.bottom-buy_rz .logo-cards_rz a[data-get-public-offer] {
    color: #D39C71 !important;
    text-decoration: none;
}


/* Стили для формы оплаты */
.content_rz.content_rz2 {
  color: white !important;
}

.content_rz.content_rz2 h1 {
  color: white !important;
  text-align: center !important;
  margin-bottom: 30px !important;
}

.content_rz.content_rz2 .name-cl_rz.name-cl_rz2 {
  color: white !important;
}

.content_rz.content_rz2 .list-radio_rz .name-service_rz {
  color: white !important;
}

.content_rz.content_rz2 .price-buy_rz {
  color: white !important;
}

.content_rz.content_rz2 .desc-pop-buy_rz {
  color: white !important;
}

.content_rz.content_rz2 .days-work_rz {
  color: white !important;
}

.content_rz.content_rz2 .days-work_rz b {
  color: white !important;
}

.content_rz.content_rz2 .field-sert_rz .item-ch-field_rz div {
  color: white !important;
}

.content_rz.content_rz2 .total-buy_rz {
  color: white !important;
}

.content_rz.content_rz2 .reg-input_rz ul li {
  color: white !important;
}

.content_rz.content_rz2 .reg-input_rz ul li a {
  color: #D39C71 !important;
}

.content_rz.content_rz2 .field_rz input,
.content_rz.content_rz2 .in-field_rz input {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: white !important;
}

.content_rz.content_rz2 .field_rz span,
.content_rz.content_rz2 .in-field_rz span {
  color: rgba(255, 255, 255, 0.5) !important;
}

.content_rz.content_rz2 .flags_container_rz:before {
  border-top: 3px solid white !important;
}

.content_rz.content_rz2 .drop-flag_rz {
  background: #4B5F68 !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.content_rz.content_rz2 .drop-flag_rz ul li {
  color: white !important;
}

.content_rz.content_rz2 .drop-flag_rz ul li:hover {
  background: rgba(198, 156, 109, 0.1) !important;
}

.content_rz.content_rz2 .num-contry_rz {
  color: white !important;
}

.content_rz.content_rz2 .code-ss_rz {
  color: white !important;
}

.content_rz.content_rz2 .button_rz button {
  background: #C69C6D !important;
  color: white !important;
  border: none !important;
  border-radius: 8px !important;
}

.content_rz.content_rz2 .button_rz button:hover {
  background: #d4aa7c !important;
}

.content_rz.content_rz2 .link_sms-repeat_rz {
  color: white !important;
}

.content_rz.content_rz2 .link_sms-repeat_rz a {
  color: #D39C71 !important;
}

.content_rz.content_rz2 .password-control {
  filter: brightness(0) invert(1) !important;
}

.content_rz.content_rz2 .link-form_rz a {
  color: #D39C71 !important;
}

.content_rz.content_rz2 .b-checks_rz.check-p_rz label {
  color: white !important;
}

.content_rz.content_rz2 .b-checks_rz.check-p_rz input[type=checkbox]:checked + label:before {
  filter: brightness(0) invert(1) !important;
}

.content_rz.content_rz2 .b-checks_rz.check-p_rz label a {
  color: #D39C71 !important;
}

.content_rz.content_rz2 .logo-cards_rz {
  color: white !important;
}

.content_rz.content_rz2 .logo-cards_rz a {
  color: #D39C71 !important;
}

/* Стили для полей ввода с автозаполнением */
.content_rz.content_rz2 input:-webkit-autofill,
.content_rz.content_rz2 input:-webkit-autofill:hover,
.content_rz.content_rz2 input:-webkit-autofill:focus,
.content_rz.content_rz2 input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #4B5F68 inset !important;
  -webkit-text-fill-color: white !important;
  transition: background-color 5000s ease-in-out 0s !important;
}

/* Стили для счетчика количества */
.content_rz.content_rz2 .counts-num_res input {
  color: white !important;
  border-color: white !important;
}

.content_rz.content_rz2 .minus-num_res,
.content_rz.content_rz2 .plus-num_res {
  color: white !important;
  border-color: white !important;
}

.content_rz.content_rz2 .minus-num_res:before,
.content_rz.content_rz2 .minus-num_res:after,
.content_rz.content_rz2 .plus-num_res:before,
.content_rz.content_rz2 .plus-num_res:after {
  background-color: white !important;
}


/* Стили для поля телефона с правильным отступом от флага */
.content_rz.content_rz2 .field_country_rz .phone_rz {
  padding-left: 65px !important; /* Увеличенный отступ слева от флага */
  padding-right: 15px !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

/* Позиционирование флага страны */
.content_rz.content_rz2 .field_country_rz .flags_container_rz {
  left: 15px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

/* Добавляем дополнительный отступ между флагом и текстом */
.content_rz.content_rz2 .field_country_rz .flags-selected_rz {
  margin-right: 10px !important;
}