/* Основные стили системы управления салоном красоты */

body {
  background-color: #f9fafb;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

/* Стили для карточек */
.card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.card-header {
  font-weight: 600;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.card-header.bg-primary {
  background: linear-gradient(135deg, #0d6efd, #0a58ca) !important;
}

.card-body {
  padding: 1.5rem;
}

/* Стили для таблиц */
.table {
  width: 100%;
  margin-bottom: 0;
}

.table th {
  font-weight: 600;
  color: #495057;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.02);
  border-top: none;
}

.table td {
  padding: 1rem;
  vertical-align: middle;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.01);
}

.table-hover tbody tr:hover {
  background-color: rgba(13, 110, 253, 0.05);
}

/* Стили для кнопок */
.btn {
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  border-color: #0a58ca;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0a58ca, #084298);
  border-color: #084298;
}

.btn-success {
  background: linear-gradient(135deg, #28a745, #218838);
  border-color: #218838;
}

.btn-success:hover {
  background: linear-gradient(135deg, #218838, #1e7e34);
  border-color: #1e7e34;
}

.btn-danger {
  background: linear-gradient(135deg, #dc3545, #c82333);
  border-color: #c82333;
}

.btn-danger:hover {
  background: linear-gradient(135deg, #c82333, #bd2130);
  border-color: #bd2130;
}

/* Стили для форм */
.form-control {
  border-radius: 6px;
  border: 1px solid #ced4da;
  padding: 0.5rem 0.75rem;
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-select {
  border-radius: 6px;
  border: 1px solid #ced4da;
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-select:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #495057;
}

.input-group-text {
  background-color: #f8f9fa;
  border: 1px solid #ced4da;
  border-radius: 6px 0 0 6px;
}

/* Стили для фотографий сотрудников */
.employee-photo-container {
  width: 30px;
  height: 30px;
  border-radius: 20%;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
}

.employee-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-right: 8px;
  flex-shrink: 0;
}

.employee-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.employee-name {
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.employee-spec {
  font-size: 0.7rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Стили для уведомлений */
.alert {
  border-radius: 8px;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
}

.alert-info {
  background-color: #d1ecf1;
  color: #0c5460;
}

.alert-warning {
  background-color: #fff3cd;
  color: #856404;
}

/* Стили для dashboard и расписания */
.appointment-container {
  position: relative;
  margin-left: 0;
  overflow: auto;
  padding-bottom: 0;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  background-color: #fff;
  width: 100%;
  height: calc(100vh - 130px) !important;
  max-height: calc(100vh - 130px) !important;
  flex: 1;
}

.time-slot {
  display: none;
}

.employee-column {
  min-width: 110px;
  max-width: 300px;
  width: 110px;
  border: none;
  border-radius: 0;
  margin-right: 0;
  background-color: #fff;
  box-shadow: none;
  border-right: 1px solid #e9ecef;
  position: relative;
  height: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.employee-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 10px 6px;
  background-color: #f7f7f9;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  text-align: left;
}

.employee-name {
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.employee-spec {
  font-size: 0.7rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.appointment-slots {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.appointment-slot {
  height: 35px !important;
  min-height: 35px !important;
  flex: none !important;
  border-top: 1px solid #f0f0f0;
  background-color: rgba(245, 247, 250, 0.5);
  position: relative;
  padding: 0;
}

.appointment-slot.clickable-slot {
  cursor: pointer;
}

.appointment-slot.clickable-slot:hover {
  background-color: rgba(13, 110, 253, 0.05);
}

.slot-time {
  display: block;
  position: absolute;
  top: 2px;
  left: 2px;
  font-size: 0.65rem;
  color: #6c757d;
  pointer-events: none;
  padding-left: 4px;
  padding-top: 2px;
}

/* Стили для ячеек перерыва */
.break-slot {
  background-color: #f8f9fa;
  position: relative;
}

.break-label {
  display: block;
  text-align: center;
  color: #6c757d;
  font-size: 0.7rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.create-slot-btn {
  position: absolute;
  right: 5px;
  top: 5px;
  padding: 0.15rem 0.25rem;
  font-size: 0.7rem;
  opacity: 0;
  transition: opacity 0.2s;
}

.break-slot:hover .create-slot-btn {
  opacity: 1;
}

.available-slot {
  background-color: rgba(255, 255, 255, 0.8);
}

.available-slot:hover {
  background-color: rgba(13, 110, 253, 0.05);
}

/* Стили для карточек записей на дашборде */
.appointment-card {
  position: absolute;
  padding: 8px;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(13, 110, 253, 0.1),
    0 1.5px 4px rgba(0, 0, 0, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  transition: box-shadow 0.22s, transform 0.16s, border 0.16s, background 0.18s;
  backdrop-filter: blur(1.5px);
  overflow: hidden;
  z-index: 10;
  border-left: 4px solid #1971c2;
  font-size: 0.75rem;
  max-height: none !important;
  transition: box-shadow 0.2s ease, z-index 0.1s;
  box-sizing: border-box !important;
  margin-left: 35px;
  width: calc(100% - 35px);
  left: 0;
  color: #222;
}

.appointment-card:hover,
.appointment-card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(13, 110, 253, 0.18),
    0 2px 8px rgba(0, 0, 0, 0.13);
  border: 1.5px solid #0d6efd;
  transform: scale(1.018);
  z-index: 1201;
}

/* Строка заголовка карточки */
.appointment-card .card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3px;
  width: 100%;
  color: #222 !important;
  font-weight: 400;
}

/* Строка с сервисами и ценой */
.appointment-card .services-price-info {
  text-align: right;
  min-width: 70px;
  max-width: 30%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  color: #222 !important;
  font-weight: 400;
}

/* Адаптивное позиционирование при наведении */
.appointment-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  z-index: 1400 !important;
  overflow: visible !important;
  height: auto !important;
  min-height: fit-content !important;
  max-height: none !important;
  position: absolute;
  width: 95%;
  transition: all 0.3s ease;
  padding-bottom: 12px;
}

/* Дополнительные стили для адаптивной высоты при наведении */
.appointment-card:hover .card-header-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
}

.appointment-card:hover .client-info {
  width: 70%;
  margin-bottom: 5px;
}

.appointment-card:hover .services-price-info {
  width: 30%;
  text-align: right;
}

/* Улучшение поведения цены */
.appointment-card .price {
  font-weight: bold;
  white-space: nowrap;
}

/* Показываем весь список услуг при наведении */
.appointment-card .service-list {
  transition: max-height 0.3s ease;
  color: #222 !important;
  font-weight: 400;
}

.appointment-card:hover .service-list {
  max-height: none;
  overflow-y: visible;
}

/* Обеспечение видимости содержимого при наведении */
.appointment-card:hover .client-info {
  white-space: normal;
  overflow: visible;
}

/* Показываем полностью услуги при наведении */
.appointment-card:hover .service-list-inline {
  white-space: normal;
  overflow: visible;
  clear: both;
  width: 100%;
  display: block;
  margin-top: 5px;
  background-color: rgba(0, 0, 0, 0.1);
  padding: 3px;
  border-radius: 4px;
  font-size: 0.7rem;
}

.appointment-card .client-info {
  flex: 1;
  min-width: 0;
  padding-right: 5px;
  color: #222 !important;
  font-weight: 400;
}

.appointment-card .client-info .fw-bold {
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Показываем полностью имя клиента при наведении */
.appointment-card:hover .client-info .fw-bold {
  white-space: normal;
  overflow: visible;
}

.appointment-card .service-count,
.appointment-card .service-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

.appointment-card .service-list {
  max-height: 40px;
  overflow-y: auto;
  margin-bottom: 2px;
  font-size: 0.7rem;
  scrollbar-width: thin;
}

/* Стили для тонкого скроллбара */
.appointment-card .service-list::-webkit-scrollbar {
  width: 4px;
}

.appointment-card .service-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.appointment-card .service-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.appointment-card .service-item {
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #222 !important;
  font-weight: 400;
}

/* Строка с нижними кнопками */
.appointment-card .card-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3px;
  color: #222 !important;
  font-weight: 400;
}

/* Стили для статусной кнопки */
.appointment-card .status-dropdown .btn {
  padding: 4px 6px;
  font-size: 0.75rem;
  width: 100%;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  line-height: 1.2;
  margin-top: 2px;
  border-radius: 4px;
}

/* Стили для статусной кнопки при наведении */
.appointment-card:hover .status-dropdown .btn {
  padding: 4px 6px;
  font-size: 0.75rem;
  width: 100%;
  margin-top: 2px;
  line-height: 1.2;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Позиционирование выпадающего меню */
.appointment-card .status-dropdown .dropdown-menu {
  font-size: 0.8rem;
  min-width: 120px;
  z-index: 1500;
  margin-top: 0;
  transition: visibility 0s, opacity 0.2s ease;
  opacity: 1;
  padding: 8px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Обеспечение видимости выпадающего меню на карточке */
.appointment-card.dropdown-open {
  overflow: visible !important;
  z-index: 1400 !important;
}

/* Стили для статусов записей */
.status-scheduled {
  background-color: #4dabf7;
  border-left-color: #1971c2;
}

.status-completed {
  background-color: #51cf66;
  border-left-color: #2b8a3e;
}

.status-cancelled {
  background-color: #ff6b6b;
  border-left-color: #c92a2a;
}

.status-no_show {
  background-color: #868e96;
  border-left-color: #495057;
}

/* Стили для уведомлений */
.notification-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1050;
  min-width: 300px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.notification-toast.show {
  opacity: 1;
}

/* Стили для мультиселекта услуг */
.services-select {
  min-height: 120px;
}

/* Дополнительные утилиты */
.fw-medium {
  font-weight: 500 !important;
}

.rounded-3 {
  border-radius: 10px !important;
}

.shadow-sm {
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05) !important;
}

.shadow {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.shadow-lg {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}

/* Дополнительные стили для фиксации ячеек */
html,
body {
  height: 100%;
  max-height: 100%;
  overflow: hidden;
}

.content {
  height: 100vh;
  overflow: hidden;
  padding: 15px;
}

.content-wrapper {
  height: calc(100vh - 30px);
  max-height: calc(100vh - 30px);
  display: flex;
  flex-direction: column;
}

/* Стили для отображения списка услуг в строку */
.appointment-card .service-list-inline {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  margin-top: 2px;
  color: #222 !important;
  font-weight: 400;
}

/* Стили из base.html */
body {
  background-color: #f9fafb;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.sidebar {
  min-height: 100vh;
  background-color: #343a40;
  padding-top: 20px;
  color: #fff;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.sidebar h4 {
  color: #fff;
  font-weight: 600;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar .nav-link {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
  padding: 10px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.sidebar .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.sidebar .nav-link.active {
  background-color: #0d6efd;
  color: #fff;
  font-weight: 500;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.sidebar .nav-link i {
  margin-right: 8px;
  font-size: 1.1rem;
}

/* Стили из dashboard.html */
.notification-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1050;
  min-width: 300px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.notification-toast.show {
  opacity: 1;
}

/* Стили для уведомлений в модальном окне */
#modalNotificationArea {
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  z-index: 1060;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none; /* Чтобы можно было кликать через уведомления */
}

.modal-notification {
  margin-bottom: 10px;
  padding: 10px 15px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: auto; /* Восстанавливаем события для самого уведомления */
  max-width: 80%;
}

.modal-notification.show {
  opacity: 1;
  transform: translateY(0);
}

/* Стили для мультиселекта услуг */
.services-select {
  min-height: 120px;
}

/* Дополнительные утилиты */
.fw-medium {
  font-weight: 500 !important;
}

.rounded-3 {
  border-radius: 10px !important;
}

.shadow-sm {
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05) !important;
}

.shadow {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.shadow-lg {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}

/* Дополнительные стили для фиксации ячеек */
html,
body {
  height: 100%;
  max-height: 100%;
}

.content {
  height: 100vh;
  padding: 15px;
}

.content-wrapper {
  height: calc(100vh - 30px);
  max-height: calc(100vh - 30px);
  display: flex;
  flex-direction: column;
}

/* Стили для отображения списка услуг в строку */
.appointment-card .service-list-inline {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  margin-top: 2px;
}

.appointment-card .status-dropdown .dropdown-menu .dropdown-item {
  padding: 8px 15px;
  transition: background-color 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
}

.appointment-card .status-dropdown .dropdown-menu .dropdown-item:hover {
  background-color: rgba(13, 110, 253, 0.1);
}

/* Исправление позиционирования для карточек с выпадающими меню */
.dropdown-menu.show {
  display: block;
  z-index: 1500;
}

.appointment-card .action-buttons {
  display: flex;
  gap: 3px;
}

.appointment-card .btn-icon {
  padding: 0px 2px;
  line-height: 1.2;
  font-size: 0.7rem;
  height: auto;
}

/* Стили для ячейки конца рабочего дня */
.end-time-slot {
  background-color: #f0f0f0;
  position: relative;
  border-top: 2px solid #ddd;
}

.end-time-label {
  display: block;
  text-align: center;
  color: #495057;
  font-size: 0.7rem;
  font-weight: 500;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* ФИКС: всегда поверх и кликабельны для всех модалок */
.modal {
  z-index: 2050 !important;
}
.modal-backdrop {
  z-index: 2000 !important;
  pointer-events: auto !important;
}

/* Кастомный select сотрудников с фото и специализацией */
#customEmployeeDropdown .dropdown-item img,
#customEmployeeDropdown .dropdown-item i {
  width: 28px;
  height: 28px;
  object-fit: cover;
  margin-right: 8px;
}
#customEmployeeDropdown .dropdown-item span.text-muted {
  font-size: 0.95em;
}
#customEmployeeDropdown .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
}

.employee-add-card {
  border: 2px solid #e3e3e3;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 6px 10px;
  border-radius: 8px;
  width: auto;
  min-width: 0;
  box-shadow: none;
  margin: 0;
}
.employee-add-card.selected-employee,
.employee-add-card.border-primary {
  border-color: #0d6efd !important;
  box-shadow: 0 0 0 2px #0d6efd33;
}
.employee-add-card:hover {
  border-color: #0d6efd;
  background: #f8f9fa;
}

/* --- MOBILE ADAPTATION --- */
@media (max-width: 768px) {
  html,
  body {
    height: 100dvh !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
  }
  .card,
  .card-body {
    height: 100dvh !important;
    max-height: 100dvh !important;
    overflow-y: auto !important;
  }
  .appointment-container,
  .employee-column,
  .appointment-slots {
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    flex: 1 1 auto !important;
    overflow-y: auto !important;
  }
  .appointment-slots {
    padding-bottom: 120px !important;
  }
  .appointment-card {
    border-radius: 12px;
    box-shadow: 0 6px 32px rgba(13, 110, 253, 0.13),
      0 2px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(2.5px);
  }
  .appointment-card:hover,
  .appointment-card:focus-within {
    box-shadow: 0 12px 36px 0 rgba(13, 110, 253, 0.22),
      0 4px 12px rgba(0, 0, 0, 0.16);
    border: 1.5px solid #0d6efd;
    transform: scale(1.012);
  }
  .card-body {
    padding-bottom: 80px !important;
  }
  .sidebar {
    display: none !important;
    position: fixed;
    left: 0;
    top: 0;
    width: 80vw;
    max-width: 320px;
    height: 100vh;
    z-index: 2000;
    background: #343a40;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .sidebar.open {
    display: block !important;
    transform: translateX(0);
  }
  .sidebar .close-btn {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    z-index: 2100;
  }
  .sidebar-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1999;
  }
  .sidebar-backdrop.active {
    display: block;
  }
  .content {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0;
    padding: 10px 0 0 0 !important;
    height: 100vh !important;
    overflow-x: hidden !important;
  }
  .content-wrapper {
    padding: 0 !important;
    margin: 0 !important;
    height: 100vh !important;
    max-height: 100vh !important;
  }
  .calendar-container {
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-start;
  }
  .calendar-container .col-md-6 {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .appointment-container {
    width: 100vw !important;
    max-width: 100vw !important;
    height: calc(100vh - 110px) !important;
    max-height: calc(100vh - 110px) !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .employee-column {
    min-width: 100vw !important;
    max-width: 100vw !important;
    width: 100vw !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    height: 100% !important;
    flex: 1 0 100vw !important;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
  }
  .employee-header {
    padding: 8px 8px;
    background: #f7f7f9;
    border-bottom: 1px solid #e9ecef;
    z-index: 2;
  }
  .appointment-slots {
    height: calc(100vh - 180px) !important;
    max-height: calc(100vh - 180px) !important;
    overflow-y: auto;
  }
  /* Кнопки навигации между колонками */
  .employee-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0d6efd;
    color: #fff;
    border: none;
    font-size: 1.5rem;
    position: absolute;
    top: 50%;
    z-index: 10;
    transform: translateY(-50%);
    opacity: 0.85;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  }
  .employee-nav-btn.left {
    left: 8px;
  }
  .employee-nav-btn.right {
    right: 8px;
  }
  /* Убираем подписи с кнопок */
  .calendar-container .btn-info span,
  .calendar-container .btn-success span {
    display: none !important;
  }
  .calendar-container .btn-info i,
  .calendar-container .btn-success i {
    margin-right: 0 !important;
  }
  #mobile-menu-btn {
    width: 36px;
    height: 36px;
    padding: 0.3rem 0.5rem;
    border-radius: 8px;
  }
  #mobile-menu-btn i {
    font-size: 1.5rem;
  }
}

.appointment-card * {
  color: #222 !important;
}
.appointment-card .badge,
.appointment-card i,
.appointment-card .bi {
  color: inherit !important;
}

.current-time-bar {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: #e53935;
  z-index: 1300;
  pointer-events: none;
  transition: none;
}

.current-time-label {
  position: absolute;
  left: 0;
  top: -13px;
  background: #e53935;
  color: #fff;
  font-size: 0.65rem;
  font-weight: bold;
  border-radius: 4px;
  padding: 2px 8px;
  z-index: 1300;
  line-height: 1.1;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  pointer-events: none;
  border: 1.5px solid #fff;
  text-align: left;
}
