/* Стили для PWA инструкций */
.pwa-instructions-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 100000; /* Увеличен для надежности */
  display: none;
  justify-content: center;
  align-items: center;
}

.pwa-instructions-container {
  background: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 500px;
  width: 90%; /* Адаптивная ширина */
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.pwa-install-btn {
  background: black;
  color: white;
  border: none;
  padding: 10px 20px;
  margin: 10px 5px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.pwa-install-btn:hover {
  background: #333;
}

.pwa-close-btn {
  background: black;
  color: white;
  border: 1px solid #ddd;
  padding: 10px 20px;
  margin: 10px 5px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.pwa-close-btn:hover {
  background: #333;
}

@media (max-width: 600px) {
  .pwa-instructions-container {
      max-width: 90%;
      padding: 15px;
  }

  .pwa-install-btn, .pwa-close-btn {
      padding: 8px 16px;
      font-size: 14px;
      min-width: 44px;
      min-height: 44px;
  }
}