#gbzPwaInstaller {
  position: fixed;
  inset: auto 14px 14px 14px;
  z-index: 10990;
  pointer-events: none;
  font-family: "Manrope", sans-serif;
}

#gbzPwaInstaller[hidden] {
  display: none;
}

.gbz-pwa-card {
  margin-left: auto;
  width: min(100%, 360px);
  pointer-events: auto;
  background: rgba(255, 252, 248, 0.94);
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(12px);
}

.gbz-pwa-content {
  position: relative;
  padding: 16px 16px 14px;
  overflow: hidden;
}

.gbz-pwa-content::before {
  content: "";
  position: absolute;
  inset: -55px -24px auto auto;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(246, 117, 55, 0.14), transparent 70%);
  pointer-events: none;
}

.gbz-pwa-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(246, 117, 55, 0.1);
  color: #c2410c;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.gbz-pwa-title {
  margin: 10px 0 6px;
  font-size: 1rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.gbz-pwa-message,
.gbz-pwa-helper {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: rgba(15, 23, 42, 0.78);
}

.gbz-pwa-helper {
  margin-top: 6px;
  color: rgba(71, 85, 105, 0.9);
}

.gbz-pwa-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.gbz-pwa-primary,
.gbz-pwa-secondary,
.gbz-pwa-guide-copy,
.gbz-pwa-guide-dismiss {
  appearance: none;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-size: 0.83rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.gbz-pwa-primary {
  flex: 1 1 auto;
  padding: 11px 14px;
  background: linear-gradient(135deg, #f67537, #fb923c);
  color: #fff7ed;
  box-shadow: 0 8px 22px rgba(246, 117, 55, 0.22);
  animation: gbzPwaPulse 2.8s ease-in-out infinite;
}

.gbz-pwa-secondary {
  flex: 0 0 auto;
  padding: 11px 12px;
  background: rgba(15, 23, 42, 0.06);
  color: #334155;
}

.gbz-pwa-primary:hover,
.gbz-pwa-secondary:hover,
.gbz-pwa-guide-copy:hover,
.gbz-pwa-guide-dismiss:hover {
  transform: translateY(-1px);
}

.gbz-pwa-close,
.gbz-pwa-guide-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  color: #64748b;
  font-size: 1rem;
  cursor: pointer;
}

.gbz-pwa-guide {
  position: fixed;
  inset: 0;
  z-index: 11000;
  pointer-events: auto;
}

.gbz-pwa-guide[hidden] {
  display: none;
}

.gbz-pwa-guide-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(10px);
}

.gbz-pwa-guide-dialog {
  position: relative;
  width: min(100% - 24px, 520px);
  margin: 32px auto;
  padding: 24px;
  background: #fffaf5;
  color: #1f2937;
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.28);
}

.gbz-pwa-guide-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-right: 36px;
}

.gbz-pwa-guide-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f67537, #ff934c);
  color: #fff7ed;
  font-size: 1.9rem;
  font-weight: 800;
  box-shadow: 0 14px 32px rgba(246, 117, 55, 0.28);
}

.gbz-pwa-guide-overline {
  display: inline-block;
  margin-bottom: 4px;
  color: #9a3412;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gbz-pwa-guide-title {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
}

.gbz-pwa-guide-intro {
  margin: 0 0 18px;
  color: #475569;
  line-height: 1.55;
}

.gbz-pwa-guide-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.gbz-pwa-guide-step {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border-radius: 18px;
  background: rgba(246, 117, 55, 0.08);
}

.gbz-pwa-guide-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #f67537;
  color: #fff7ed;
  font-weight: 800;
}

.gbz-pwa-guide-step-content {
  display: grid;
  gap: 4px;
}

.gbz-pwa-guide-step-content strong {
  font-size: 0.98rem;
}

.gbz-pwa-guide-step-content span {
  color: #475569;
  line-height: 1.5;
}

.gbz-pwa-guide-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.gbz-pwa-guide-copy,
.gbz-pwa-guide-dismiss {
  padding: 14px 16px;
}

.gbz-pwa-guide-copy {
  flex: 1 1 auto;
  background: #f67537;
  color: #fff7ed;
}

.gbz-pwa-guide-dismiss {
  background: rgba(15, 23, 42, 0.08);
  color: #334155;
}

.gbz-pwa-guide-dialog .gbz-pwa-guide-close {
  background: rgba(15, 23, 42, 0.06);
  color: #475569;
}

.gbz-pwa-guide-open {
  overflow: hidden;
}

@keyframes gbzPwaPulse {
  0%, 100% {
    box-shadow: 0 8px 22px rgba(246, 117, 55, 0.22);
  }
  50% {
    box-shadow: 0 10px 26px rgba(246, 117, 55, 0.3);
  }
}

@media (max-width: 640px) {
  #gbzPwaInstaller {
    inset: auto 10px 10px 10px;
  }

  .gbz-pwa-actions,
  .gbz-pwa-guide-actions {
    flex-direction: column;
  }

  .gbz-pwa-card {
    width: min(100%, 100%);
    border-radius: 18px;
  }

  .gbz-pwa-content {
    padding: 14px 14px 12px;
  }

  .gbz-pwa-guide-dialog {
    margin: 12px;
    width: calc(100% - 24px);
    padding: 20px;
  }
}
