.hp-pwa-prompt {
  position: fixed;
  right: 16px;
  left: 16px;
  bottom: calc(72px + env(safe-area-inset-bottom));
  z-index: 9999;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px 16px 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  color: #0f1b1f;
  display: none;
  direction: rtl;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.hp-pwa-prompt.is-visible {
  display: block;
}

.hp-pwa-prompt__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.hp-pwa-prompt__text {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 12px;
  color: #2b3a40;
}

.hp-pwa-prompt__status {
  font-size: 12px;
  line-height: 1.4;
  color: #4b5b61;
  margin-bottom: 10px;
}

.hp-pwa-prompt__actions {
  display: flex;
  gap: 8px;
  justify-content: flex-start;
}

.hp-pwa-prompt__btn {
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
}

.hp-pwa-prompt__btn--primary {
  background: #0f1b1f;
  color: #ffffff;
}

.hp-pwa-prompt__btn[disabled],
.hp-pwa-prompt__btn.is-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.hp-pwa-prompt__btn--ghost {
  background: #f2f4f5;
  color: #0f1b1f;
  border-color: rgba(0, 0, 0, 0.08);
}

@media (min-width: 640px) {
  .hp-pwa-prompt {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    max-width: 420px;
  }
}
