/* شريط تثبيت التطبيق (أندرويد): بطاقة بيضاء أعلى زر الدفع العائم، تدخل من الأسفل. */
.installApp {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 90px; /* above the floating "pay your bill" button */
  z-index: 45;
  max-width: 460px;
  margin: 0 auto;
  padding: 12px 12px 12px 14px;
  border-radius: 15px;
  background: #fff;
  color: #111;
  box-shadow: 4px 20px 40px rgba(0, 0, 0, .16);
  border: 1px solid #eee;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .3s, transform .3s;
}

.installApp[hidden] { display: none; }
.installApp.is-visible { opacity: 1; transform: none; }

.installAppRow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.installAppHint {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff1f2;
  color: #111;
  font-size: 13px;
  line-height: 1.6;
}

.installAppHint[hidden] { display: none; }
.installAppHint b { color: #d90018; }

.installAppIcon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid #eee;
  background: #fff;
}

.installAppText {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.installAppText strong { font-size: 15px; font-weight: 800; }
.installAppText small { font-size: 12px; color: #666; }

.installAppBtn {
  flex: none;
  border: 0;
  border-radius: 50px;
  padding: 10px 18px;
  background: #d90018;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.installAppBtn:hover,
.installAppBtn:focus-visible { background: #bf2126; }

.installAppClose {
  flex: none;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #f6f6f6;
  color: #555;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .installApp { transition: none; }
}

@media print {
  .installApp { display: none; }
}
