/* AbabioApps Promotional Widget v2.0 — all styles are scoped */
#ababio-promo-root {
  --ababio-promo-ink: #23194D;
  --ababio-promo-purple: #5E548E;
  --ababio-promo-pink: #BE95C4;
  --ababio-promo-light: #F8F3FA;
  font-family: inherit;
}
#ababio-promo-root .ababio-promo-floating {
  position: fixed;
  z-index: 9998;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
#ababio-promo-root .ababio-promo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 17px;
  border: 0;
  border-radius: 999px;
  background: var(--ababio-promo-ink);
  color: #fff;
  font: 600 14px/1.25 inherit;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 5px 18px rgba(35, 25, 77, .22);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
#ababio-promo-root .ababio-promo-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(35, 25, 77, .28);
}
#ababio-promo-root .ababio-promo-notifications {
  background: var(--ababio-promo-purple);
}
#ababio-promo-root .ababio-promo-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(18, 13, 37, .58);
}
#ababio-promo-root .ababio-promo-dialog {
  position: relative;
  width: min(100%, 430px);
  padding: 28px 24px 22px;
  border: 1px solid rgba(94, 84, 142, .16);
  border-radius: 18px;
  background: var(--ababio-promo-light);
  color: var(--ababio-promo-ink);
  text-align: center;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .24);
}
#ababio-promo-root .ababio-promo-dialog h2 {
  margin: 0 24px 10px;
  color: var(--ababio-promo-ink);
  font-size: 22px;
  line-height: 1.25;
}
#ababio-promo-root .ababio-promo-dialog p {
  margin: 0 0 20px;
  color: #514968;
  font-size: 15px;
  line-height: 1.55;
}
#ababio-promo-root .ababio-promo-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
#ababio-promo-root .ababio-promo-close {
  position: absolute;
  top: 9px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #514968;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}
#ababio-promo-root .ababio-promo-later {
  margin-top: 16px;
  padding: 7px 12px;
  border: 0;
  background: transparent;
  color: #625a75;
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
}
@media (max-width: 600px) {
  #ababio-promo-root .ababio-promo-floating {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    gap: 8px;
  }
  #ababio-promo-root .ababio-promo-button {
    min-height: 42px;
    padding: 10px 14px;
    font-size: 13px;
  }
  #ababio-promo-root .ababio-promo-dialog {
    padding: 26px 18px 18px;
  }
  #ababio-promo-root .ababio-promo-dialog h2 {
    font-size: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #ababio-promo-root .ababio-promo-button { transition: none; }
  #ababio-promo-root .ababio-promo-button:hover { transform: none; }
}


/* Position presets controlled by data-button-position */
#ababio-promo-root .ababio-promo-position-bottom-right { right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); left: auto; top: auto; align-items: flex-end; }
#ababio-promo-root .ababio-promo-position-bottom-center { left: 50%; right: auto; bottom: max(18px, env(safe-area-inset-bottom)); top: auto; transform: translateX(-50%); align-items: center; }
#ababio-promo-root .ababio-promo-position-bottom-left { left: max(18px, env(safe-area-inset-left)); right: auto; bottom: max(18px, env(safe-area-inset-bottom)); top: auto; align-items: flex-start; }
#ababio-promo-root .ababio-promo-position-top-right { right: max(18px, env(safe-area-inset-right)); top: max(18px, env(safe-area-inset-top)); bottom: auto; left: auto; align-items: flex-end; }
#ababio-promo-root .ababio-promo-position-top-center { left: 50%; right: auto; top: max(18px, env(safe-area-inset-top)); bottom: auto; transform: translateX(-50%); align-items: center; }
#ababio-promo-root .ababio-promo-position-top-left { left: max(18px, env(safe-area-inset-left)); top: max(18px, env(safe-area-inset-top)); right: auto; bottom: auto; align-items: flex-start; }
#ababio-promo-root .ababio-promo-position-center-left { left: max(18px, env(safe-area-inset-left)); top: 50%; right: auto; bottom: auto; transform: translateY(-50%); align-items: flex-start; }
#ababio-promo-root .ababio-promo-position-center-right { right: max(18px, env(safe-area-inset-right)); top: 50%; left: auto; bottom: auto; transform: translateY(-50%); align-items: flex-end; }
#ababio-promo-root .ababio-promo-position-center { left: 50%; top: 50%; right: auto; bottom: auto; transform: translate(-50%, -50%); align-items: center; }

/* Popup panel placement controlled by data-popup-position */
#ababio-promo-root .ababio-promo-popup-position-center { align-items: center; justify-content: center; }
#ababio-promo-root .ababio-promo-popup-position-top-left { align-items: flex-start; justify-content: flex-start; }
#ababio-promo-root .ababio-promo-popup-position-top-center { align-items: flex-start; justify-content: center; }
#ababio-promo-root .ababio-promo-popup-position-top-right { align-items: flex-start; justify-content: flex-end; }
#ababio-promo-root .ababio-promo-popup-position-center-left { align-items: center; justify-content: flex-start; }
#ababio-promo-root .ababio-promo-popup-position-center-right { align-items: center; justify-content: flex-end; }
#ababio-promo-root .ababio-promo-popup-position-bottom-left { align-items: flex-end; justify-content: flex-start; }
#ababio-promo-root .ababio-promo-popup-position-bottom-center { align-items: flex-end; justify-content: center; }
#ababio-promo-root .ababio-promo-popup-position-bottom-right { align-items: flex-end; justify-content: flex-end; }

@media (max-width: 600px) {
  #ababio-promo-root .ababio-promo-position-bottom-right { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); }
  #ababio-promo-root .ababio-promo-position-bottom-center { bottom: max(12px, env(safe-area-inset-bottom)); }
  #ababio-promo-root .ababio-promo-position-bottom-left { left: max(12px, env(safe-area-inset-left)); bottom: max(12px, env(safe-area-inset-bottom)); }
  #ababio-promo-root .ababio-promo-position-top-right { right: max(12px, env(safe-area-inset-right)); top: max(12px, env(safe-area-inset-top)); }
  #ababio-promo-root .ababio-promo-position-top-center { top: max(12px, env(safe-area-inset-top)); }
  #ababio-promo-root .ababio-promo-position-top-left { left: max(12px, env(safe-area-inset-left)); top: max(12px, env(safe-area-inset-top)); }
  #ababio-promo-root .ababio-promo-position-center-left { left: max(12px, env(safe-area-inset-left)); }
  #ababio-promo-root .ababio-promo-position-center-right { right: max(12px, env(safe-area-inset-right)); }
}
/* =========================================
   ABABIO PROMO BUTTONS — COLORFUL DESIGN
========================================= */

#ababio-promo-root .ababio-promo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 49px;
  padding: 10px 19px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50px;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .2px;
  text-decoration: none;
  box-shadow: 0 5px 18px rgba(35,25,77,.25);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

/* INSTALL BUTTON — PURPLE / PINK */

#ababio-promo-root .ababio-promo-install {
  background: linear-gradient(135deg, #6C35C9, #B64FC8, #E76A9A);
}

/* NOTIFICATION BUTTON — TEAL / CORAL */

#ababio-promo-root .ababio-promo-notifications {
  background: linear-gradient(135deg, #087F8C, #16A6A0, #F07872);
}

/* ICON CIRCLE */

#ababio-promo-root .ababio-promo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.4);
  color: #ffffff;
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
}

/* HOVER EFFECT */

#ababio-promo-root .ababio-promo-button:hover {
  transform: translateY(-3px) scale(1.025);
  filter: brightness(1.08);
  box-shadow: 0 9px 25px rgba(35,25,77,.32);
}

/* CLICK EFFECT */

#ababio-promo-root .ababio-promo-button:active {
  transform: scale(.97);
}

/* MOBILE — COMPACT BUTTONS */

@media (max-width: 600px) {
  #ababio-promo-root .ababio-promo-button {
    min-height: 38px;
    padding: 6px 11px;
    gap: 6px;
    font-size: 11px;
    border-radius: 30px;
  }

  #ababio-promo-root .ababio-promo-icon {
    width: 22px;
    height: 22px;
    font-size: 14px;
  }
}

/* AbabioApps Promotional Widget v2.1 - Installation modal */

#ababio-promo-root .ababio-promo-install-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(20, 15, 35, 0.72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

#ababio-promo-root .ababio-promo-install-dialog {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: min(85vh, 680px);
  overflow-y: auto;
  padding: 30px 25px 24px;
  border-radius: 20px;
  background: #ffffff;
  color: #23194D;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  text-align: left;
  animation: ababioInstallAppear 0.2s ease-out;
}

#ababio-promo-root .ababio-promo-install-dialog h2 {
  margin: 0 35px 12px 0;
  color: #23194D;
  font-size: 23px;
  line-height: 1.25;
}

#ababio-promo-root .ababio-promo-install-description {
  margin: 0 0 20px;
  color: #625b73;
  font-size: 14px;
  line-height: 1.6;
}

#ababio-promo-root .ababio-promo-install-heading {
  margin: 18px 0 10px;
  color: #5E548E;
  font-size: 16px;
}

#ababio-promo-root .ababio-promo-install-steps {
  margin: 0 0 22px;
  padding-left: 22px;
  color: #39334c;
  font-size: 14px;
  line-height: 1.7;
}

#ababio-promo-root .ababio-promo-install-steps li {
  padding-left: 4px;
  margin-bottom: 7px;
}

#ababio-promo-root .ababio-promo-install-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f0edf5;
  color: #493c69;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

#ababio-promo-root .ababio-promo-install-action,
#ababio-promo-root .ababio-promo-install-done {
  display: block;
  width: 100%;
  min-height: 46px;
  margin: 12px 0;
  padding: 11px 16px;
  border: 0;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

#ababio-promo-root .ababio-promo-install-action {
  background: linear-gradient(110deg, #5E548E, #BE95C4);
  color: #ffffff;
}

#ababio-promo-root .ababio-promo-install-done {
  background: #f0edf5;
  color: #493c69;
}

#ababio-promo-root .ababio-promo-install-action:disabled {
  opacity: 0.7;
  cursor: wait;
}

@keyframes ababioInstallAppear {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 600px) {
  #ababio-promo-root .ababio-promo-install-overlay {
    padding: 14px;
  }

  #ababio-promo-root .ababio-promo-install-dialog {
    padding: 27px 20px 18px;
    border-radius: 17px;
  }

  #ababio-promo-root .ababio-promo-install-dialog h2 {
    font-size: 21px;
  }
}


/* Installation availability checking */

#ababio-promo-root .ababio-promo-install-checking {
  margin: 20px 0;
  padding: 15px;
  border-radius: 12px;
  background: #f4f0fa;
  color: #5E548E;
  font-size: 14px;
  text-align: center;
}

#ababio-promo-root .ababio-promo-install-area {
  min-height: 20px;
}

#ababio-promo-root .ababio-promo-install-action {
  width: 100%;
  min-height: 48px;
  margin: 12px 0 18px;
  border: 0;
  border-radius: 30px;
  background: linear-gradient(110deg, #5E548E, #BE95C4);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}