/* Guest engagement — push permission, toasts, exit banner, widgets */

.mt-push-perm {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.mt-push-perm[hidden] {
  display: none !important;
}

.mt-push-perm__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 30, 22, 0.55);
  border: 0;
  cursor: pointer;
}

.mt-push-perm__card {
  position: relative;
  width: min(400px, 100%);
  background: linear-gradient(165deg, #f9f7f4 0%, #eef6f0 100%);
  border: 1px solid rgba(27, 107, 74, 0.2);
  border-radius: 20px;
  padding: 1.5rem 1.35rem;
  box-shadow: 0 24px 60px rgba(27, 107, 74, 0.18);
  text-align: center;
}

.mt-push-perm__logo {
  font-size: 2.2rem;
  margin-bottom: 0.35rem;
}

.mt-push-perm__title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1b4332;
  margin: 0 0 0.5rem;
}

.mt-push-perm__body {
  color: #4a5c52;
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0 0 0.75rem;
}

.mt-push-perm__benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  text-align: start;
  font-size: 0.85rem;
  color: #2d4a3e;
}

.mt-push-perm__benefits li {
  padding: 0.25rem 0;
}

.mt-push-perm__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mt-push-perm__btn {
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  border: 0;
}

.mt-push-perm__btn--primary {
  background: #1b6b4a;
  color: #fff;
}

.mt-push-perm__btn--ghost {
  background: transparent;
  color: #5a6b62;
}

.mt-eng-toast {
  position: fixed;
  inset-inline: 1rem;
  bottom: 5.5rem;
  z-index: 11000;
  max-width: 360px;
  margin-inline: auto;
}

.mt-eng-toast__inner {
  background: #fff;
  border: 1px solid rgba(27, 107, 74, 0.15);
  border-inline-start: 4px solid #1b6b4a;
  border-radius: 14px;
  padding: 0.85rem 2rem 0.85rem 0.85rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  position: relative;
}

.mt-eng-toast__title {
  display: block;
  font-size: 0.9rem;
  color: #1b4332;
  margin-bottom: 0.25rem;
}

.mt-eng-toast__body {
  font-size: 0.82rem;
  color: #4a5c52;
  margin: 0 0 0.5rem;
  line-height: 1.45;
}

.mt-eng-toast__cta {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: #1b6b4a;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  text-decoration: none;
}

.mt-eng-toast__close {
  position: absolute;
  top: 0.4rem;
  inset-inline-end: 0.45rem;
  border: 0;
  background: transparent;
  font-size: 1.1rem;
  color: #8a9a90;
  cursor: pointer;
}

.mt-exit-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 10900;
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.mt-exit-banner.is-visible {
  transform: translateY(0);
}

.mt-exit-banner__inner {
  margin: 0.75rem;
  padding: 1rem;
  background: linear-gradient(135deg, #1b6b4a, #1b4332);
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  justify-content: space-between;
}

.mt-exit-banner__text {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  flex: 1 1 200px;
}

.mt-exit-banner__actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.mt-exit-banner__cta {
  background: #f5a623;
  color: #1b1b1b;
  font-weight: 800;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.85rem;
}

.mt-exit-banner__dismiss {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  font-size: 0.8rem;
}

.mt-eng-social-proof {
  position: fixed;
  inset-inline-start: 1rem;
  bottom: 1.25rem;
  z-index: 10750;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s, transform 0.35s;
}

.mt-eng-social-proof.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mt-eng-social-proof__inner,
.mt-eng-social-proof {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: #fff;
  border: 1px solid rgba(27, 107, 74, 0.12);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  font-size: 0.78rem;
  color: #2d4a3e;
}

.mt-eng-social-proof strong {
  color: #1b6b4a;
}

