.top-left-icons img,
	.top-right-icon img {
	  width: 21px;
	  height: 21px;
	  filter: invert(0); 
	  transition: transform 0.2s ease, filter 0.2s ease;
	}
	
	/* Дополнительные стили для страницы zamówienia */
	.orders-category {
	  margin-bottom: 60px;
	}
	
	.category-title {
	  font-size: 32px;
	  font-weight: 300;
	  color: #000000;
	  margin-bottom: 30px;
	  padding-bottom: 15px;
	  border-bottom: 2px solid #e6ecf0;
	}
	
	.order-details {
	  display: flex;
	  flex-wrap: wrap;
	  gap: 15px;
	  margin-bottom: 20px;
	}
	
	.detail-item {
	  display: flex;
	  align-items: center;
	  gap: 8px;
	  font-size: 14px;
	  color: #555;
	}
	
	.detail-item strong {
	  color: #0d4269;
	}
	
	.order-actions {
	  display: flex;
	  gap: 15px;
	}
	
	.action-btn {
	  padding: 10px 20px;
	  border-radius: 25px;
	  font-size: 14px;
	  font-weight: 500;
	  text-decoration: none;
	  transition: all 0.3s ease;
	  display: inline-flex;
	  align-items: center;
	  gap: 8px;
	}
	
	.action-btn.primary {
	  background-color: #0d4269;
	  color: white;
	}
	
	.action-btn.secondary {
	  background-color: transparent;
	  color: #0d4269;
	  border: 1px solid #0d4269;
	}
	
	.action-btn:hover {
	  transform: translateY(-2px);
	  box-shadow: 0 5px 15px rgba(13, 66, 105, 0.2);
	}
	
	.action-btn.primary:hover {
	  background-color: #09304c;
	}
	
	.action-btn.secondary:hover {
	  background-color: rgba(13, 66, 105, 0.05);
	}
	
	.info-box {
	  background-color: #e6f2ff;
	  border-radius: 16px;
	  padding: 30px;
	  margin-bottom: 60px;
	  border-left: 4px solid #0d4269;
	}
	
	.info-box h3 {
	  font-size: 22px;
	  color: #0d4269;
	  margin-bottom: 15px;
	}
	
	.info-box p {
	  font-size: 16px;
	  line-height: 1.6;
	  color: #333;
	  margin-bottom: 10px;
	}
	
	/* Стили для скрытия/раскрытия файлов */
	.file-list {
		margin-top: 25px;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.4s ease, margin-top 0.4s ease;
	}

	.file-list.expanded {
		max-height: 1200px; /* Достаточно большое значение для анимации */
		margin-top: 25px;
	}

	.unit-more.file-toggle {
		opacity: 0.7;
		width: auto;
		padding: 6px 15px;
	}

	.unit-more.file-toggle .text {
		opacity: 1;
		transform: translateX(0);
	}

	.unit-more.file-toggle.expanded .arrow {
		transform: rotate(180deg);
	}

	.file-item {
		margin-bottom: 20px;
		padding-bottom: 15px;
		border-bottom: 1px solid #e6ecf0;
	}

	.file-item:last-child {
		border-bottom: none;
		margin-bottom: 0;
	}

	.file-download-link {
		display: flex;
		align-items: center;
		color: #ffffff;
		text-decoration: none;
		font-weight: 500;
		font-size: 16px;
		transition: color 0.3s ease;
		gap: 10px;
		margin-bottom: 5px;
	}

	.file-download-link:hover {
		color: #D0D0D0;
	}

	.file-download-link svg {
		flex-shrink: 0;
	}

	.file-info {
		font-size: 12px;
		color: #666;
		margin-left: 30px;
		line-height: 1.4;
	}
	/* Темная тема — аналогично opol.php */
	body.dark-theme { background-color: #121212; color: #ffffff; }
	body.dark-theme .main-nav a { color: #ffffff; }
	body.dark-theme .main-nav a:hover { color: #ff7f00; }
	body.dark-theme .top-left-icons img, body.dark-theme .top-right-icon img { filter: invert(1); }
	body.dark-theme .site-footer { color: #ffffff; background-color: #1e1e1e; }
	body.dark-theme header { background: transparent !important; }
	body.dark-theme .side-menu { background-color: #1e1e1e; color: #ffffff; }
	body.dark-theme .side-menu a { color: #ffffff; }
	body.dark-theme .side-menu a:hover { color: #ff7f00; }
	body.dark-theme .dropdown-content { background-color: #1e1e1e; border: 1px solid #333; }
	body.dark-theme .dropdown-content a { color: #ffffff; }
	body.dark-theme .dropdown-content a:hover { color: #ff7f00; }
	body.dark-theme .units-frame { background: transparent; }
	body.dark-theme .units-main-title { color: #ffffff; }
	body.dark-theme .category-title { color: #ffffff; border-bottom-color: #333; }
	body.dark-theme .detail-item { color: #e0e0e0; }
	body.dark-theme .detail-item strong { color: #ff7f00; }
	body.dark-theme .action-btn.primary { background-color: #ff7f00; color: #121212; }
	body.dark-theme .action-btn.primary:hover { background-color: #ff4500; }
	body.dark-theme .action-btn.secondary { color: #ff7f00; border-color: #ff7f00; }
	body.dark-theme .action-btn.secondary:hover { background-color: rgba(255,127,0,0.1); }
	body.dark-theme .info-box { background: rgba(255,255,255,0.1); border-left-color: #ff7f00; }
	body.dark-theme .info-box h3 { color: #ff7f00; }
	body.dark-theme .info-box p { color: #e0e0e0; }
	body.dark-theme .file-item { border-bottom-color: #333; }
	body.dark-theme .file-download-link { color: #e0e0e0; }
	body.dark-theme .file-download-link:hover { color: #ff7f00; }
	body.dark-theme .file-info { color: #999; }
	
	/* Стили для top-right-icon */
.top-right-icon {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 1000;
}

.top-right-icon a {
  color: black !important;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.top-right-icon a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Для темной темы */
body.dark-theme .top-right-icon a {
  background: rgba(255, 255, 255, 0.05);
  color: #e0e0e0 !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-theme .top-right-icon a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* mobile-jednostki.css - Мобильные стили для страницы jednostki_medyczne.php */

@media (max-width: 1024px) {
  
  /* ... существующие стили ... */

  /* Адаптация верхней навигации */
  .top-left-icons {
    left: 15px !important;
    gap: 8px;
  }
  
  .top-left-icons img {
    width: 18px !important;
    height: 18px !important;
  }
  
  /* Адаптация кнопки входа для мобильных */
  .top-right-icon {
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
  
  .top-right-icon a {
    font-size: 12px !important;
    padding: 6px 12px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 15px !important;
    white-space: nowrap;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
  }
  
  .top-right-icon a:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-1px);
  }
  
  /* Для темной темы на мобильных */
  body.dark-theme .top-right-icon a {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #e0e0e0 !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
  }
  
  body.dark-theme .top-right-icon a:hover {
    background: rgba(255, 255, 255, 0.2) !important;
  }

  /* Скрываем основное меню на мобильных */
  .main-nav {
    display: none;
  }
  
  /* ... остальные существующие стили ... */
}

/* Дополнительные стили для очень маленьких экранов */
@media (max-width: 480px) {
  /* ... существующие стили ... */
  
  /* Адаптация кнопки входа для очень маленьких экранов */
  .top-right-icon {
    right: 12px !important;
  }
  
  .top-right-icon a {
    font-size: 11px !important;
    padding: 5px 10px !important;
    border-radius: 12px !important;
  }
  
  /* Если несколько кнопок, уменьшаем отступы */
  .top-right-icon a:first-child {
    margin-right: 8px !important;
  }
}

/* Стили для средних планшетов */
@media (max-width: 768px) and (min-width: 481px) {
  .top-right-icon a {
    font-size: 13px !important;
    padding: 7px 14px !important;
  }
}

/* Исправления для горизонтальной ориентации */
@media (max-width: 1024px) and (orientation: landscape) {
  /* ... существующие стили ... */
  
  .top-right-icon a {
    font-size: 11px !important;
    padding: 5px 10px !important;
  }
}

/* Гарантия отображения на всех мобильных устройствах */
@media (max-width: 1024px) {
  .top-right-icon {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1001;
  }
  
  /* Предотвращение перекрытия другими элементами */
  header {
    z-index: 1000 !important;
  }
  
  .top-right-icon a {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}