/* Install app (PWA) — used on admin and optional other pages */

.pwa-install-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 18px;
  border: 1px solid rgba(251, 191, 36, 0.45);
  background: rgba(0, 0, 0, 0.35);
  color: #fbbf24;
  font: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
  text-decoration: none;
  box-sizing: border-box;
}

.pwa-install-btn:hover {
  background: rgba(251, 191, 36, 0.12);
}

.pwa-install-btn__icon {
  flex-shrink: 0;
  opacity: 0.95;
}

.pwa-install-btn:disabled {
  opacity: 0.85;
  cursor: wait;
}

.pwa-install-btn[hidden] {
  display: none !important;
}

.pwa-install-help-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(15, 10, 30, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.pwa-install-help-panel {
  max-width: 400px;
  background: #1e1b4b;
  color: #f8fafc;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
  line-height: 1.5;
}

.pwa-install-help-panel h2 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  color: #fbbf24;
}

.pwa-install-help-panel button {
  margin-top: 12px;
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: none;
  background: #9333ea;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
