
/* Next-Gen Charger Boost | PWA Install UI v1 */
:root {
  --ng-pwa-bg: #07111f;
  --ng-pwa-panel: #101f33;
  --ng-pwa-cyan: #00e5f5;
  --ng-pwa-text: #f3f8ff;
  --ng-pwa-muted: #a9bfd2;
}

.ng-pwa-card,
.ng-pwa-modal {
  box-sizing: border-box;
  color: var(--ng-pwa-text);
  font-family: Inter, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ng-pwa-card *,
.ng-pwa-modal * {
  box-sizing: border-box;
}

.ng-pwa-card {
  max-width: 460px;
  margin: 20px auto;
  padding: 24px;
  border: 1px solid rgba(0,229,245,.25);
  border-radius: 24px;
  background: linear-gradient(145deg,
    #13263f 0%, #07111f 100%);
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
}

.ng-pwa-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.ng-pwa-logo {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 18px;
}

.ng-pwa-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}

.ng-pwa-subtitle {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--ng-pwa-muted);
}

.ng-pwa-description {
  margin: 16px 0;
  color: var(--ng-pwa-muted);
  font-size: 14px;
  line-height: 1.6;
}

.ng-pwa-button {
  display: block;
  width: 100%;
  padding: 14px 18px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(90deg,
    #00d5eb, #00a7e8);
  color: #041525;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease;
}

.ng-pwa-button:hover {
  transform: translateY(-1px);
}

.ng-pwa-button:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.ng-pwa-secondary {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  background: transparent;
  color: var(--ng-pwa-text);
  cursor: pointer;
}

.ng-pwa-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0,5,15,.78);
}

.ng-pwa-modal {
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 26px;
  border: 1px solid rgba(0,229,245,.28);
  border-radius: 22px;
  background: var(--ng-pwa-panel);
  box-shadow: 0 24px 80px rgba(0,0,0,.45);
}

.ng-pwa-modal h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.ng-pwa-modal p,
.ng-pwa-modal li {
  color: var(--ng-pwa-muted);
  font-size: 14px;
  line-height: 1.7;
}

.ng-pwa-modal ol {
  padding-left: 22px;
}

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

@media (max-width: 480px) {
  .ng-pwa-card {
    margin: 14px;
    padding: 20px;
    border-radius: 20px;
  }

  .ng-pwa-title {
    font-size: 18px;
  }

  .ng-pwa-logo {
    width: 60px;
    height: 60px;
  }
}

/* v2 premium installation presentation */
.ng-pwa-card {
  position: relative; overflow: hidden; margin: 22px auto 0; padding: 26px;
  border: 1px solid rgba(43,197,246,.32); border-radius: 26px;
  background: radial-gradient(circle at 100% 0%, rgba(29,146,213,.22), transparent 42%), linear-gradient(145deg, #102844 0%, #07111f 72%);
  box-shadow: 0 22px 60px rgba(7,17,31,.30), inset 0 1px 0 rgba(255,255,255,.07);
}
.ng-pwa-header { gap: 18px; margin-bottom: 20px; }
.ng-pwa-logo { width: 82px; height: 82px; object-fit: contain; padding: 5px; border-radius: 20px; background: #fff; border: 1px solid rgba(131,227,246,.45); box-shadow: 0 8px 28px rgba(0,0,0,.3); }
.ng-pwa-title { color: #fff; font-size: clamp(19px, 4vw, 23px); letter-spacing: -.45px; }
.ng-pwa-subtitle { color: #a9bfd2; }
.ng-pwa-description { color: #d5e5f3; font-size: 14px; line-height: 1.7; }
.ng-pwa-button { min-height: 52px; border-radius: 14px; background: linear-gradient(100deg, #2bc5f6, #1d92d5); color: #061626; box-shadow: 0 10px 26px rgba(29,146,213,.25); font-size: 15px; letter-spacing: .1px; }
.ng-pwa-secondary { border-radius: 14px; min-height: 44px; }
.ng-pwa-modal { border-color: rgba(43,197,246,.35); }
@media (max-width: 480px) { .ng-pwa-card { margin: 16px 0 0; padding: 21px; } .ng-pwa-logo { width: 76px; height: 76px; } }
