/* GPP Web Push — estilos v0.4.0 */

/* --- Campanita flotante (persistente) --- */
.gpp-push-wrap {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 9998;
  font-family: inherit;
}
.gpp-push-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: #123357;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.gpp-push-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0, 0, 0, .22); }
.gpp-push-btn:focus-visible { outline: 3px solid #7aa7d9; outline-offset: 2px; }
.gpp-push-btn--done { background: #1f7a4d; cursor: default; opacity: .92; }

/* --- Invitación proactiva --- */
.gpp-push-prompt {
  position: fixed;
  left: 16px;
  bottom: 74px;
  z-index: 9999;
  width: min(360px, calc(100vw - 32px));
  background: #fff;
  color: #16202b;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .22);
  border: 1px solid rgba(18, 51, 87, .12);
  padding: 16px 16px 14px;
  font-size: 15px;
  line-height: 1.35;
  animation: gppPushIn .28s ease-out;
  box-sizing: border-box;
}
@keyframes gppPushIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.gpp-push-prompt__title {
  font-weight: 700;
  margin: 0 0 6px;
  color: #123357;
  font-size: 15.5px;
}
.gpp-push-prompt__text { margin: 0 0 12px; }
.gpp-push-prompt__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.gpp-push-prompt .gpp-push-accept {
  border: 0;
  border-radius: 999px;
  background: #123357;
  color: #fff;
  font-weight: 700;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
}
.gpp-push-prompt .gpp-push-accept:hover { background: #1a4a7a; }
.gpp-push-prompt .gpp-push-dismiss {
  border: 0;
  background: transparent;
  color: #5b6b7c;
  cursor: pointer;
  font-size: 13.5px;
  text-decoration: underline;
  padding: 8px 4px;
}
.gpp-push-hint { margin: 10px 0 0; font-size: 12.5px; color: #7a4a12; }

@media (max-width: 600px) {
  .gpp-push-wrap { left: 10px; bottom: 10px; }
  .gpp-push-prompt { left: 10px; bottom: 64px; width: calc(100vw - 20px); }
  .gpp-push-btn { font-size: 13px; padding: 9px 12px; }
}
