/* PWA Install Modal */
#pwa-install-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  direction: rtl;
}

.pwa-install-container {
  background: white;
  border-radius: 16px;
  padding: 32px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  text-align: center;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.pwa-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.pwa-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 12px;
}

.pwa-description {
  font-size: 16px;
  color: #666;
  margin-bottom: 24px;
  line-height: 1.5;
}

.pwa-features {
  text-align: right;
  margin: 20px 0;
  padding: 16px;
  background: #f5f5f5;
  border-radius: 12px;
  font-size: 14px;
  color: #555;
}

.pwa-features li {
  margin: 8px 0;
  list-style: none;
  padding-right: 24px;
  position: relative;
}

.pwa-features li:before {
  content: "✓";
  position: absolute;
  right: 0;
  color: #667eea;
  font-weight: bold;
}

.pwa-buttons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.pwa-btn {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pwa-btn-install {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.pwa-btn-install:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.pwa-btn-later {
  background: #f0f0f0;
  color: #333;
}

.pwa-btn-later:hover {
  background: #e0e0e0;
}

.pwa-close {
  position: absolute;
  top: 16px;
  left: 16px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #999;
}

.pwa-close:hover {
  color: #333;
}

@media (max-width: 600px) {
  .pwa-install-container {
    padding: 24px;
  }
  
  .pwa-title {
    font-size: 20px;
  }
  
  .pwa-description {
    font-size: 14px;
  }
}
