.wooco-pwa-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(circle at top, #2a1f45 0%, #1a1230 55%, #120c22 100%);
  color: #fff;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

.wooco-pwa-panel {
  width: min(420px, 100%);
  text-align: center;
}

.wooco-pwa-logo {
  width: 88px;
  height: 88px;
  margin: 0 auto 20px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(167, 66, 255, 0.25);
}

.wooco-pwa-title {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.wooco-pwa-subtitle {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.6;
}

.wooco-pwa-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 22px 20px 18px;
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
}

.wooco-pwa-stage-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  text-align: left;
}

.wooco-pwa-stage-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(167, 66, 255, 0.18);
  color: #d7b4ff;
  font-size: 1rem;
  flex-shrink: 0;
}

.wooco-pwa-step {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.wooco-pwa-stage-label {
  margin: 4px 0 0;
  font-size: 1rem;
  font-weight: 600;
}

.wooco-pwa-progress-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin: 18px 0 14px;
}

.wooco-pwa-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #0a5c47, #084a39);
  transition: width 700ms ease;
}

.wooco-pwa-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.wooco-pwa-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.wooco-pwa-dot.is-active,
.wooco-pwa-dot.is-done {
  background: #0a5c47;
}

.wooco-pwa-status {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.wooco-pwa-status::before {
  content: "●";
  color: #7bdcb5;
  margin-right: 6px;
}

.wooco-pwa-legal {
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.72rem;
  line-height: 1.55;
}

.wooco-pwa-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
}

.wooco-pwa-btn {
  appearance: none;
  border: 0;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.wooco-pwa-btn-primary {
  background: linear-gradient(135deg, #0a5c47, #084a39);
  color: #fff;
}

.wooco-pwa-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.wooco-pwa-install-steps {
  text-align: left;
  display: grid;
  gap: 14px;
}

.wooco-pwa-install-card {
  margin-bottom: 12px;
}

.wooco-pwa-install-heading {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  text-align: left;
}

.wooco-pwa-install-warning {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 196, 86, 0.16);
  border: 1px solid rgba(255, 196, 86, 0.35);
  color: #ffe8a3;
  font-size: 0.84rem;
  line-height: 1.5;
  text-align: left;
}

.wooco-pwa-install-note {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  text-align: left;
}

.wooco-pwa-android-hint {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 999999;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(26, 18, 48, 0.96);
  border: 1px solid rgba(167, 66, 255, 0.45);
  color: #fff;
  font-size: 0.86rem;
  line-height: 1.5;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.wooco-pwa-install-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.wooco-pwa-install-index {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(167, 66, 255, 0.22);
  color: #fff;
  font-size: 0.78rem;
  flex-shrink: 0;
}

.wooco-pwa-hidden {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .wooco-pwa-progress-bar {
    transition: none;
  }
}
