.pwa-install-button,
.pwa-update-toast__button {
  align-items: center;
  background: #1f6b82;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 16px 34px rgba(31, 107, 130, 0.22);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  gap: 10px;
  justify-content: center;
  letter-spacing: 0.1em;
  min-height: 46px;
  padding: 0 18px;
  text-transform: uppercase;
}

.pwa-install-button {
  bottom: 22px;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 22px;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 90;
}

.pwa-install-button.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.pwa-install-button i,
.pwa-update-toast__button i {
  font-size: 0.94rem;
}

.pwa-update-toast {
  align-items: center;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  bottom: 22px;
  box-shadow: 0 22px 54px rgba(17, 17, 17, 0.28);
  color: #ffffff;
  display: none;
  gap: 16px;
  left: 22px;
  max-width: min(420px, calc(100vw - 44px));
  padding: 16px;
  position: fixed;
  z-index: 91;
}

.pwa-update-toast.is-visible {
  display: flex;
}

.pwa-update-toast__text {
  color: rgba(255, 255, 255, 0.84);
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

.pwa-update-toast__button {
  box-shadow: none;
  min-height: 40px;
  padding: 0 14px;
}

@media (max-width: 575px) {
  .pwa-install-button {
    bottom: 16px;
    font-size: 0.78rem;
    left: 16px;
    min-height: 48px;
    right: 16px;
  }

  .pwa-update-toast {
    align-items: stretch;
    bottom: 16px;
    flex-direction: column;
    left: 16px;
    max-width: none;
    right: 16px;
  }
}
