/* Закругляем углы у таблиц */
.well {
  		border-radius: 5px;
	}
/* Цвет баланса */
.badge {
  		border-radius: 2px;
  		color: #ffffff;
  		background-color: #0668a1;
        font-weight: 500;
	}

/* Цвет баланса новый заказ*/
.badge33 {
  		border-radius: 2px;
  		color: #888888;
  		background-color: #eeeeee;
        font-weight: 500;
	    min-width: 10px;
        padding: 3px 7px;
        font-size: 11px;
	}

.nowrap2 {
  color: #158cb8;
}

/* Шрифт выпадающего меню */
  .form-control {
    font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
    font-size: 13px;
    color: #060606;
}

/* Базовый контейнер табов */
.tabs {
	min-width: 290px;
	max-width: 800px;
	padding: 0px;
	margin: 0 auto;
}
/* Стили секций с содержанием */
.tabs>section {
	display: none;
	padding: 10px;
	background: #fff;
	border: 1px solid #ddd;
}
.tabs>section>p {
	margin: 0 0 5px;
	line-height: 1.5;
	color: #383838;
	/* прикрутим анимацию */
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-name: fadeIn;
	animation-name: fadeIn;
}
/* Описываем анимацию свойства opacity */
 
@-webkit-keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
/* Прячем чекбоксы */
.tabs>input {
	display: none;
	position: absolute;
}
/* Стили переключателей вкладок (табов) */
.tabs>label {
	display: inline-block;
	margin: 0 0 -1px;
	padding: 5px 10px;
	font-weight: 300;
	text-align: center;
	color: #aaa;
	border: 0px solid #ddd;
	border-width: 1px 1px 1px 1px;
	background: #f1f1f1;
	border-radius: 3px 3px 0 0;
}

/* Изменения стиля переключателей вкладок при наведении */
 
.tabs>label:hover {
	color: #888;
	cursor: pointer;
}
/* Стили для активной вкладки */
.tabs>input:checked+label {
	color: #555;
	border-top: 1px solid #009933;
	border-bottom: 1px solid #fff;
	background: #fff;
}
/* Активация секций с помощью псевдокласса :checked */
#tab1:checked~#content-tab1, #tab2:checked~#content-tab2, #tab3:checked~#content-tab3, #tab4:checked~#content-tab4, #tab5:checked~#content-tab5 {
	display: block;
}

/* Изменяем внутренние отступы 
*  переключателей для малых экранов
*/
@media screen and (max-width: 290px) {
	.tabs>label {
		padding: 10px;
	}
}

.search {
  	width: 200px;
  	border: 0px;
}

/* Кнопки */
.btn-primary {
  		    font-size: 14px;
            font-weight: 350;
            border-radius: 3px;
            box-shadow: none;
            background-color: #0668a1;
            border: none;
            color: white;
            padding: 5px 30px;
            text-align: center;
            text-decoration: none;
            display: inline-block;
 		    vertical-align: middle;
	}
.btn-primary:hover { background: #06344C; color: #FFFFFF; } /* при наведении курсора мышки */
.btn-primary:active { background: #06344C; color: #F60514; } /* при нажатии */

/* Кнопки отмены итд */
.btn-xs {
  		    font-size: 11px;
            font-weight: 500;
  			border-radius: 3px;
            border: 1px solid #ffffff;
            box-shadow: none;
            color: #ffffff;
            background-color: #0668a1;
            padding: 2px 5px;
            text-align: center;
            text-decoration: none;
            display: inline-block;
 		    vertical-align: middle;
	}

.pagination {
  		    font-size: 11px;
            font-weight: 600;
  			border-radius: 3px;
            border: 1px solid #ffffff;
            box-shadow: none;
            color: #ffffff;
            background-color: #ffffff;
  			display: inline-block;
   		    color: white;
	}

/* Кнопка наверх */

.knopkatop {
  color: #999999; /* цвет текста */
  font-size: 11px;
  font-weight: 600;
  border-radius: 3px;
  height: 36px;
  box-shadow: none;
  border: none;
  text-decoration: none; /* убирать подчёркивание у ссылок */
  user-select: none; /* убирать выделение текста */
  background: #FFFFFF; /* фон кнопки */
  padding: .7em 1.5em; /* отступ от текста */
  outline: none; /* убирать контур в Mozilla */
} 
.knopkatop:hover { background: #06344C; color: #FFFFFF; } /* при наведении курсора мышки */
.knopkatop:active { background: #0668a1; color: #FFFFFF; } /* при нажатии */

/* ================================================================================================
   СТИЛИ ДЛЯ СТРАНИЦЫ ЗАКАЗОВ (orders.twig)
   ================================================================================================ */

.orders-page .hide, 
.orders-page .hide+label~div { display: none; }
.orders-page .hide+label, 
.orders-page .hide:checked+label { padding: 3px 7px; color: #888888; cursor: pointer; background-color: #eeeeee; font-weight: 500; font-size: 11px; border-radius: 2px; }

/* --- ТАБЛИЦА --- */
.orders-page .well-float { 
  overflow-x: auto; 
  -webkit-overflow-scrolling: touch; 
  border: 0.5px solid #E6E6E6;
  border-radius: 8px; 
  background: #fff;
  margin-bottom: 0;
}
.orders-page .table { 
  min-width: 850px; 
  margin-bottom: 0; 
  border-collapse: separate; 
  border-spacing: 0;
}

.orders-page td, 
.orders-page th { 
  border-bottom: 0.5px solid #f0f0f0;
  border-right: 0.5px solid #e8e8e8;
  padding: 8px 10px; 
  vertical-align: middle !important; 
  transition: all 0.2s ease;
  border-left: none;
}

.orders-page td:first-child,
.orders-page th:first-child {
  border-left: 0.5px solid #e8e8e8;
}

.orders-page td:last-child,
.orders-page th:last-child {
  border-right: 0.5px solid #e8e8e8;
}

/* Стили ТОЛЬКО для заголовков таблицы */
.orders-page thead th { 
  text-align: left; 
  background: linear-gradient(to top, #1565c0, #64b5f6);
  position: relative;
  color: #ffffff; 
  font-weight: 700; 
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-top: 0.5px solid rgba(255, 255, 255, 0.2);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.3);
  border-right: 0.5px solid rgba(255, 255, 255, 0.2);
  border-left: none;
  white-space: nowrap; 
  overflow: hidden;
  z-index: 1;
  padding: 13px 10px !important;
  line-height: 1.4;
  height: auto;
}

/* Матовое стекло поверх синего фона */
.orders-page thead th::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
  z-index: -1;
  border-radius: inherit;
}

/* Закругленные верхние углы у первой и последней колонки заголовка */
.orders-page thead tr th:first-child {
  border-top-left-radius: 8px;
  border-left: 0.5px solid rgba(255, 255, 255, 0.2);
}

.orders-page thead tr th:last-child {
  border-top-right-radius: 8px;
  border-right: 0.5px solid rgba(255, 255, 255, 0.2);
}

/* Закругленные нижние углы у последней строки таблицы */
.orders-page tbody tr:last-child td {
  border-bottom: 0.5px solid #e8e8e8;
}

.orders-page tbody tr:last-child td:first-child {
  border-bottom-left-radius: 8px;
}

.orders-page tbody tr:last-child td:last-child {
  border-bottom-right-radius: 8px;
}

.orders-page tr:nth-child(even) { background-color: #F9F9F9; }
.orders-page tbody tr:hover { background-color: #eef2f7 !important; }
.orders-page tbody tr:hover td:first-child { box-shadow: inset 3px 0 0 #1976d2; }
.orders-page tbody tr:hover td:last-child { box-shadow: inset -3px 0 0 #1976d2; }

/* СТИЛЬ ДЛЯ КОПИРОВАНИЯ ID */
.orders-page .copy-id { cursor: pointer; font-weight: 600; color: #555; transition: all 0.2s; position: relative; }
.orders-page .copy-id:hover { color: #1976d2; }

/* Новый стиль для ID услуги */
.orders-page .copy-service-id { cursor: pointer; font-weight: 700; color: #333; transition: color 0.2s; }
.orders-page .copy-service-id:hover { color: #1976d2; text-decoration: none !important; }

/* Кликабельная дата для inprogress */
.orders-page .elapsed-tooltip .elapsed-date {
  font-weight: 700;
  cursor: pointer;
  color: #333;
  transition: color 0.2s ease;
}
.orders-page .elapsed-tooltip .elapsed-date:hover {
  color: #1976d2;
}

/* --- УНИФИЦИРОВАННЫЕ СТАТУСЫ --- */
.orders-page .status-badge-base {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 110px;
  height: 19px;
  background-color: #f5f5f5;
  border-radius: 8px;
  overflow: visible;
  text-align: center;
  font-size: 9px;
  font-weight: 600;
  border: 0.5px solid #ddd;
  vertical-align: middle;
  z-index: 5;
}
.orders-page .status-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: #1976d2;
  opacity: 0.12;
  transition: width 0.5s ease;
  z-index: 1;
  border-radius: 8px;
}
.orders-page .st-partial .status-progress-fill { background-color: #cc3300; }
.orders-page .status-text-wrap { position: relative; z-index: 2; padding: 0 2px; display: flex; align-items: center; gap: 3px; white-space: nowrap; }

/* Цвета текста для статусов */
.orders-page .st-completed { color: #2e7d32; border-color: #c8e6c9; }
.orders-page .st-processing { color: #616161; border-color: #e0e0e0; }
.orders-page .st-canceled { color: #d32f2f; border-color: #ffcdd2; }
.orders-page .st-partial { color: #cc3300; border-color: #cc5200; }
.orders-page .st-inprogress { color: #1565c0; border-color: #bbdefb; }

/* --- ТУЛТИПЫ --- */
.orders-page .custom-tooltip { position: relative; display: inline-flex; align-items: center; cursor: help; }
.orders-page .custom-tooltip .tooltiptext {
  visibility: hidden; display: inline-block; min-width: 140px; max-width: 240px; background-color: #333; color: #fff; text-align: left; border-radius: 8px;
  padding: 6px 10px; position: absolute; z-index: 9999; bottom: 140%; left: 50%; transform: translateX(-50%);
  opacity: 0; transition: opacity 0.15s ease; font-size: 10px; font-weight: normal; 
  box-shadow: 0 2px 8px rgba(0,0,0,0.2); pointer-events: none; line-height: 1.3; white-space: normal; word-break: break-word;
}
@media (max-width: 480px) {
  .orders-page .custom-tooltip .tooltiptext { width: fit-content; max-width: calc(100vw - 24px); min-width: 120px; }
}
.orders-page .custom-tooltip .tooltiptext::after {
  content: ""; position: absolute; top: 100%; left: 50%; margin-left: -5px; border-width: 5px; border-style: solid; border-color: #333 transparent transparent transparent;
}
.orders-page .custom-tooltip:hover .tooltiptext { visibility: visible; opacity: 1; }

/* --- КНОПКИ ДЕЙСТВИЙ --- */
.orders-page .order-actions { display: flex; gap: 3px; align-items: center; justify-content: flex-start; }
.orders-page .btn-action, 
.orders-page .status-refilling-box {
  border: none; border-radius: 8px; padding: 4px 3px; font-size: 8.5px; font-weight: 700; text-transform: uppercase;
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none !important;
  white-space: nowrap; min-width: 70px; height: 20px; line-height: 1; transition: all 0.2s;
}
.orders-page .btn-refill { background-color: #f1f3f5; color: #28a745 !important; border: 0.5px solid #dce1e6; }
.orders-page .btn-refill:hover { background-color: #28a745; color: #ffffff !important; }
.orders-page .btn-cancel-custom { background-color: #f8f9fa; color: #dc3545 !important; border: 0.5px solid #ffcdd2; cursor: pointer; }
.orders-page .btn-cancel-custom:hover { background-color: #dc3545; color: #fff !important; }
.orders-page .btn-disabled-timer { background-color: #f8f9fa; color: #adb5bd !important; border: 0.5px solid #dee2e6; cursor: default; }
.orders-page .status-refilling-box { background-color: #e3f2fd; color: #1976d2; border: 0.5px solid #bbdefb; cursor: default; }
.orders-page .spinner-icon { margin-right: 3px; animation: rotate-s 2s linear infinite; font-size: 9px; }
@keyframes rotate-s { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* --- СТЕКЛЯННАЯ ВЕРХНЯЯ ПАНЕЛЬ (GLASSMORPHISM) --- */
.orders-page .header-controls { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  gap: 12px; 
  margin-top: 0;
  margin-bottom: 12px; 
  flex-wrap: wrap;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 
              0 2px 8px rgba(0, 0, 0, 0.04);
  min-height: 52px;
}

/* --- СТЕКЛЯННЫЙ ФИЛЬТР СТАТУСОВ --- */
.orders-page .glass-filter-wrapper {
  position: relative;
  flex: 0 1 240px;
  min-width: 200px;
  height: 36px;
}

.orders-page .filter-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #1976d2;
  font-size: 13px;
  pointer-events: none;
  z-index: 1;
  transition: all 0.3s ease;
}

.orders-page .glass-filter-wrapper select {
  width: 100%;
  height: 36px;
  padding: 8.5px 36px 8.5px 38px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(25, 118, 210, 0.2);
  border-radius: 8px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.orders-page .clear-filter-btn {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(211, 47, 47, 0.1);
  border: none;
  color: #d32f2f;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
  font-size: 10px;
}

.orders-page .clear-filter-btn:hover {
  background: #d32f2f;
  color: #ffffff;
  transform: translateY(-50%) scale(1.15);
}

.orders-page .glass-filter-wrapper select:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(25, 118, 210, 0.4);
  box-shadow: 0 4px 16px rgba(25, 118, 210, 0.12);
}

.orders-page .glass-filter-wrapper select:focus {
  outline: none;
  background: rgba(255, 255, 255, 1);
  border-color: #1976d2;
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1),
              0 4px 16px rgba(25, 118, 210, 0.15);
}

.orders-page .glass-filter-wrapper .select-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #1976d2;
  font-size: 12px;
  pointer-events: none;
  z-index: 1;
  transition: transform 0.3s ease;
}

.orders-page .glass-filter-wrapper:hover .filter-icon,
.orders-page .glass-filter-wrapper:hover .select-icon {
  color: #0d47a1;
}

/* --- СТЕКЛЯННЫЙ ПОИСК --- */
.orders-page .glass-search-wrapper {
  flex: 1 1 300px;
  min-width: 250px;
  max-width: 400px;
  position: relative;
  height: 36px;
}

.orders-page .glass-search-wrapper form {
  position: relative;
  width: 100%;
  height: 100%;
}

.orders-page .search-icon-left {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #1976d2;
  font-size: 13px;
  pointer-events: none;
  z-index: 1;
  transition: all 0.3s ease;
}

.orders-page .glass-search-wrapper input {
  width: 100%;
  height: 36px;
  padding: 8.5px 90px 8.5px 38px;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(25, 118, 210, 0.2);
  border-radius: 8px;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.orders-page .glass-search-wrapper input:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(25, 118, 210, 0.4);
  box-shadow: 0 4px 16px rgba(25, 118, 210, 0.12);
}

.orders-page .glass-search-wrapper input:focus {
  background: rgba(255, 255, 255, 1);
  border-color: #1976d2;
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1),
              0 4px 16px rgba(25, 118, 210, 0.15);
}

.orders-page .glass-search-wrapper input:focus ~ .search-icon-left {
  color: #0d47a1;
  transform: translateY(-50%) scale(1.1);
}

.orders-page .clear-search-btn {
  position: absolute;
  right: 44px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(211, 47, 47, 0.1);
  border: none;
  color: #d32f2f;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1;
  font-size: 10px;
}

.orders-page .clear-search-btn:hover {
  background: #d32f2f;
  color: #ffffff;
  transform: translateY(-50%) scale(1.15);
}

.orders-page .glass-search-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(25, 118, 210, 0.3);
}

.orders-page .glass-search-btn:hover {
  background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.4);
}

.orders-page .glass-search-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.orders-page .pagination-container { 
  text-align: left; 
  margin: 12px 0 12px 0; 
  clear: both;
  display: inline-block;
}

.orders-page .pagination { 
  display: inline-flex !important; 
  margin: 0; 
  padding: 4px; 
  list-style: none; 
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px; 
  gap: 3px; 
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 
              0 2px 8px rgba(0, 0, 0, 0.04);
  align-items: center; 
}
.orders-page .pagination li { display: block !important; margin: 0 !important; padding: 0 !important; }
.orders-page .pagination li a, 
.orders-page .pagination li span { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  min-width: 32px; 
  height: 32px; 
  padding: 0 10px; 
  color: #334155; 
  text-decoration: none !important; 
  font-size: 13px; 
  font-weight: 600; 
  border-radius: 8px; 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
  border: 1.5px solid rgba(25, 118, 210, 0.2);
}
.orders-page .pagination li a:hover { 
  background: rgba(25, 118, 210, 0.1); 
  color: #1976d2; 
  border-color: rgba(25, 118, 210, 0.5);
  box-shadow: 0 4px 16px rgba(25, 118, 210, 0.15);
  transform: translateY(-1px);
}
.orders-page .pagination li.active span { 
  background: linear-gradient(45deg, #1976d2, #2196f3);
  color: #ffffff !important; 
  cursor: default; 
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

/* --- ОБУЧАЮЩАЯ АНИМАЦИЯ СВАЙПА --- */
.orders-page .swipe-hint {
  display: none; /* По умолчанию скрыто на десктопе */
}

@media (max-width: 768px) {
  /* Обучающая анимация для мобильных */
  .orders-page .swipe-hint {
    display: block;
    text-align: center;
    padding: 0;
    margin: 0;
    opacity: 0;
    animation: fadeInOut 5s ease-in-out forwards;
    pointer-events: none;
  }
  
  .orders-page .swipe-hint-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }
  
  .orders-page .swipe-icon {
    font-size: 24px;
    color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    animation: pointLeft 1.5s ease-in-out infinite;
  }
  
  .orders-page .swipe-arrows {
    display: flex;
    gap: 8px;
    animation: slideLeftRight 1.5s ease-in-out infinite;
  }
  
  .orders-page .swipe-arrows i {
    font-size: 20px;
    color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  }
  
  /* Анимация появления и исчезновения */
  @keyframes fadeInOut {
    0% { opacity: 0; transform: scale(0.8); }
    10% { opacity: 1; transform: scale(1); }
    90% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.8); display: none; }
  }
  
  /* Анимация указателя */
  @keyframes pointLeft {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-8px); }
  }
  
  /* Анимация стрелок */
  @keyframes slideLeftRight {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
  }

  /* Убираем боковые отступы у контейнеров на мобильных */
  .orders-page.container-fluid {
    padding-left: 0;
    padding-right: 0;
  }
  
  .orders-page .row {
    margin-left: 0;
    margin-right: 0;
  }
  
  .orders-page .col-lg-12 {
    padding-left: 8px;
    padding-right: 8px;
  }
  
  /* Обеспечиваем правильную прокрутку таблицы */
  .orders-page .well-float {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    margin-bottom: 12px !important; /* чтобы на мобильных сохранялся зазор перед пагинацией */
  }
  
  /* Адаптация стеклянной панели для мобильных */
  .orders-page .header-controls { 
    flex-direction: column; 
    align-items: stretch;
    padding: 10px;
    gap: 10px;
    margin-bottom: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-height: auto;
    width: 100%;
    box-sizing: border-box;
  }
  
  /* Фильтр статусов на мобильных */
  .orders-page .glass-filter-wrapper {
    width: 100%;
    min-width: 0;
    flex: none;
    height: 40px;
  }
  
  .orders-page .glass-filter-wrapper select {
    height: 40px;
    font-size: 13px;
    padding: 10.5px 36px 10.5px 38px;
  }
  
  .orders-page .clear-filter-btn {
    right: 32px;
    width: 24px;
    height: 24px;
    font-size: 11px;
  }
  
  /* Поиск на мобильных */
  .orders-page .glass-search-wrapper { 
    width: 100%;
    min-width: 0;
    max-width: none;
    flex: none;
    height: 40px;
  }
  
  .orders-page .glass-search-wrapper input {
    height: 40px;
    font-size: 13px;
    padding: 10.5px 80px 10.5px 38px;
  }
  
  .orders-page .clear-search-btn {
    right: 44px;
    width: 24px;
    height: 24px;
    font-size: 11px;
  }
  
  .orders-page .glass-search-btn {
    width: 32px;
    height: 32px;
  }
  
  /* Glassmorphism пагинация на мобильных - в стиле верхней панели */
  .orders-page .pagination-container {
    text-align: center;
    width: calc(100% - 16px) !important;
    margin: 12px auto 12px auto !important;
    padding: 8px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 
                0 2px 8px rgba(0, 0, 0, 0.04);
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .orders-page .pagination-container .pagination {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    height: auto !important;
    display: flex !important;
    width: 100% !important;
    gap: 2px !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    margin: 0 auto !important;
    border-radius: 0 !important;
  }
  
  .orders-page .pagination li a,
  .orders-page .pagination li span {
    min-width: 32px !important;
    height: 32px !important;
    padding: 0 5px !important;
    font-size: 12px !important;
    border-radius: 7px !important;
    background: transparent !important;
    color: #334155 !important;
  }
  
  .orders-page .pagination li a {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1.5px solid rgba(25, 118, 210, 0.2) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }
  
  .orders-page .pagination li a:hover {
    background: rgba(25, 118, 210, 0.1) !important;
    border-color: rgba(25, 118, 210, 0.5) !important;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.15) !important;
    transform: none !important;
  }
  
  .orders-page .pagination li.active span {
    background: linear-gradient(45deg, #1976d2, #2196f3) !important;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.3) !important;
    border: 1.5px solid transparent !important;
    color: #ffffff !important;
  }
}
