/* PWA Install Prompt Styles */
#pwa-install-prompt {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  animation: slideUp 0.5s ease forwards;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

#pwa-install-prompt.visible {
  display: block;
}

@keyframes slideUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.pwa-prompt-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pwa-prompt-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pwa-prompt-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}

.pwa-prompt-text h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #1a1a1a;
  font-weight: 700;
}

.pwa-prompt-text p {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
}

.pwa-prompt-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.pwa-btn {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pwa-btn-primary {
  background: var(--color-primary, #0D7377);
  color: white;
}

.pwa-btn-secondary {
  background: #f3f4f6;
  color: #4b5563;
}

/* iOS Specific Instructions */
.ios-instructions {
  background: #f8fafc;
  padding: 12px;
  border-radius: 8px;
  margin-top: 10px;
  font-size: 0.9rem;
  color: #334155;
}

.ios-instructions ol {
  margin: 0;
  padding-left: 20px;
}

.ios-instructions li {
  margin-bottom: 8px;
}

.ios-instructions li:last-child {
  margin-bottom: 0;
}

.share-icon {
  display: inline-block;
  vertical-align: middle;
  margin: 0 4px;
}

/* Overlay for modal style if preferred later */
.pwa-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
}

.pwa-overlay.visible {
  display: block;
}
