/* pwa.css */
.pwa-install-prompt {
  position: fixed;
  bottom: 80px; /* Above mobile nav */
  left: 50%;
  transform: translateX(-50%) translateY(150px);
  background: rgba(20, 20, 25, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10000;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  width: calc(100% - 32px);
  max-width: 360px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
}

@media (min-width: 768px) {
  .pwa-install-prompt {
    bottom: 32px;
  }
}

.pwa-install-prompt.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.pwa-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
}

.pwa-icon svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.pwa-text {
  flex-grow: 1;
}

.pwa-title {
  font-weight: 600;
  color: #fff;
  font-size: 15px;
  margin-bottom: 2px;
}

.pwa-desc {
  font-size: 13px;
  color: var(--text-2, #a1a1aa);
  line-height: 1.4;
}

.pwa-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.btn-install {
  background: #7c3aed;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.btn-install:hover {
  background: #6d28d9;
}

.btn-install:active {
  transform: scale(0.95);
}

.btn-dismiss {
  background: transparent;
  color: var(--text-3, #71717a);
  border: none;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
}

.btn-dismiss:hover {
  color: white;
}
