/* /css/pwa.css */
/* ===========================
   Updated Install Banner
   Position: TOP (fixed)
   Close icon replaces "Not now" button
   =========================== */

.pwa-install-banner {
  position: fixed;
  top: 12px;          /* ⬆ moved to top */
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.pwa-install-card {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #0c1427;
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  max-width: 680px;
  width: calc(100% - 24px);
  margin: 0 12px;
  position: relative;
}

.pwa-install-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.25;
}

.pwa-install-text strong {
  font-size: 15px;
}

.pwa-install-text span {
  font-size: 13px;
  opacity: 0.85;
}

.pwa-install-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.pwa-btn {
  appearance: none;
  border: none;
  background: #ffffff;
  color: #0c1427;
  font-weight: 600;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.pwa-btn:hover {
  opacity: 0.9;
}

.pwa-btn-primary {
  background: #ffffff;
  color: #0c1427;
}

/* Close (X) icon instead of "Not now" */
.pwa-close {
  position: absolute;
  right: 10px;
  top: 6px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
}

.pwa-close:hover {
  opacity: 1;
}

/* iOS helper text (optional) */
.pwa-ios-hint {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 6px;
}

/* Hide on larger screens */
@media (min-width: 992px) {
  .pwa-install-banner { display: none; }
}
