
/* ================================================================
   PMPI - INSTALADOR PWA
   ================================================================ */

#pmpi-pwa-install {
  position: fixed;
  z-index: 999999;
  left: 18px;
  right: 18px;
  bottom: 18px;
  max-width: 520px;
  margin-left: auto;
  padding: 14px;
  border:
    1px solid
    rgba(
      231,
      183,
      67,
      .35
    );
  border-radius: 15px;
  background:
    rgba(
      16,
      34,
      60,
      .97
    );
  color: white;
  box-shadow:
    0 18px 48px
    rgba(
      0,
      0,
      0,
      .30
    );
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  animation:
    pmpi-pwa-enter
    .28s
    ease-out;
}

#pmpi-pwa-install * {
  box-sizing: border-box;
}

.pmpi-pwa-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pmpi-pwa-logo {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 12px;
  background: #e7b743;
  color: #10223c;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 1000;
}

.pmpi-pwa-content {
  flex: 1;
  min-width: 0;
}

.pmpi-pwa-title {
  margin: 1px 0 4px;
  font-size: 14px;
  font-weight: 900;
}

.pmpi-pwa-text {
  margin: 0;
  color: #d9e2ec;
  font-size: 11px;
  line-height: 1.45;
}

.pmpi-pwa-buttons {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pmpi-pwa-install-button {
  min-height: 39px;
  padding:
    0 15px;
  border: 0;
  border-radius: 9px;
  background: #e7b743;
  color: #10223c;
  font-weight: 900;
  cursor: pointer;
}

.pmpi-pwa-dismiss {
  min-height: 39px;
  padding:
    0 12px;
  border:
    1px solid
    rgba(
      255,
      255,
      255,
      .18
    );
  border-radius: 9px;
  background: transparent;
  color: #e5ebf2;
  font-weight: 700;
  cursor: pointer;
}

.pmpi-pwa-close {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 0;
  border-radius: 999px;
  background:
    rgba(
      255,
      255,
      255,
      .08
    );
  color: white;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 18px;
}

@keyframes pmpi-pwa-enter {

  from {
    opacity: 0;
    transform:
      translateY(
        16px
      );
  }

  to {
    opacity: 1;
    transform:
      translateY(
        0
      );
  }

}

@media (max-width: 560px) {

  #pmpi-pwa-install {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .pmpi-pwa-buttons {
    display: grid;
    grid-template-columns:
      1fr 1fr;
  }

}

