.pwa-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
}

.pwa-modal.active {
  display: flex;
}

.pwa-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 10, 24, 0.72);
}

.pwa-modal-content {
  position: relative;
  width: min(92vw, 390px);
  border-radius: 20px;
  border: 1px solid #22384f;
  background: linear-gradient(170deg, #0f2749 0%, #0b1f3b 100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  padding: 30px 20px 20px;
}

.pwa-modal-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #22384f;
  background: rgba(6, 25, 45, 0.85);
  color: #7d94ac;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pwa-modal-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 12px;
}

.pwa-modal-title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #f4f7ff;
  margin: 0 0 4px;
}

.pwa-modal-publisher {
  text-align: center;
  color: #7d94ac;
  font-size: 13px;
  margin: 0 0 16px;
}

.pwa-modal-features {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.pwa-modal-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  border-radius: 10px;
  border: 1px solid rgba(93, 228, 255, 0.2);
  background: rgba(8, 30, 54, 0.66);
  padding: 10px 12px;
  color: #cbd9ec;
  font-size: 14px;
}

.pwa-modal-features li svg {
  color: #2ed573;
  flex-shrink: 0;
}

.pwa-modal-buttons {
  display: flex;
  gap: 10px;
}

.pwa-btn-install {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #2ed573, #1abc9c);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(46, 213, 115, 0.35);
}

.pwa-btn-install:hover {
  box-shadow: 0 6px 20px rgba(46, 213, 115, 0.45);
}

.pwa-btn-cancel {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #22384f;
  background: rgba(17, 31, 49, 0.8);
  color: #7d94ac;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.pwa-btn-cancel:hover {
  color: #e5f1ff;
  border-color: #3dd8ff;
}

.pwa-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #2ed573, #1abc9c);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(46, 213, 115, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pwa-header-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(46, 213, 115, 0.45);
}
