/* PWA Mobile Install Card styles */
#pwa-install-card {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  background: #ffffff;
  border: 1px solid #E5EBF2;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 12px 32px rgba(23, 57, 94, 0.16), 0 2px 8px rgba(0, 0, 0, 0.06);
  z-index: 99990;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1E293B;
  animation: bxPwaSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes bxPwaSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bx-pwa-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.bx-pwa-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.bx-pwa-text {
  flex: 1;
  min-width: 0;
}

.bx-pwa-title {
  margin: 0 0 2px;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.25;
  color: #17395E;
}

.bx-pwa-desc {
  margin: 0;
  font-size: 11px;
  color: #64748B;
  line-height: 1.2;
}

.bx-pwa-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.bx-pwa-btn-install {
  background: #17395E;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 11px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.bx-pwa-btn-install:active {
  background: #102A46;
}

.bx-pwa-btn-later {
  background: #F1F5F9;
  color: #475569;
  font-size: 11px;
  font-weight: 500;
  padding: 7px 9px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
}

.bx-pwa-btn-close {
  background: transparent;
  color: #94A3B8;
  font-size: 16px;
  line-height: 1;
  padding: 6px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bx-pwa-ios-guide,
.bx-pwa-android-guide {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed #E2E8F0;
  font-size: 11px;
  color: #334155;
  line-height: 1.35;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bx-pwa-ios-guide svg,
.bx-pwa-android-guide svg {
  width: 14px;
  height: 14px;
  color: #0788DF;
  flex-shrink: 0;
}

@media (min-width: 769px) {
  #pwa-install-card {
    display: none !important;
  }
}
