/* Fullscreen call overlay */
.dogo-fatima-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  background: #0d1410;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dogo-fatima-overlay[hidden] {
  display: none !important;
}
.dogo-fatima-overlay lemon-slice-widget {
  display: block;
}

/* Teaser: our own Fatima preview (video loop + pill) */
.dogo-fatima-teaser {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 2147482900;
  width: 168px;
  height: 252px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: #1d1d1b;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease;
}
.dogo-fatima-teaser:hover { transform: scale(1.03); }
.dogo-fatima-teaser video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dogo-fatima-teaser-pill {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(60, 151, 89, 0.92);
  color: #fff;
  font-family: "Lato", system-ui, sans-serif;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}
/* Inline variant fills the standalone page's frame */
.dogo-fatima-teaser--inline {
  position: relative;
  right: auto;
  bottom: auto;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  box-shadow: none;
}
.dogo-fatima-teaser--inline .dogo-fatima-teaser-pill {
  bottom: 20px;
  height: 44px;
  padding: 0 22px;
  font-size: 16px;
}
@media (max-width: 899px) {
  .dogo-fatima-teaser:not(.dogo-fatima-teaser--inline) {
    width: 132px;
    height: 198px;
    right: 14px;
    bottom: 14px;
  }
}
/* The widget sizes itself from custom-active-width/height (a 2:3
   portrait panel); the overlay's flex centring stages it. Do NOT
   stretch it to 100%, that zoom-crops the portrait video. */
.dogo-fatima-overlay-close {
  position: absolute;
  top: max(14px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
  z-index: 2147483200;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #1d1d1b;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
.dogo-fatima-overlay-close:hover { background: #fff; }
.dogo-fatima-lock,
.dogo-fatima-lock body {
  overflow: hidden !important;
  height: 100%;
}

/* Donate handoff card */
.dogo-fatima-card {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 2147483300;
  width: 232px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  padding: 18px 16px 14px;
  font-family: "Lato", system-ui, -apple-system, sans-serif;
  text-align: center;
  animation: dogo-fatima-pop 0.25s ease;
}
@keyframes dogo-fatima-pop {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
.dogo-fatima-card-close {
  position: absolute;
  top: 6px;
  right: 10px;
  border: 0;
  background: none;
  font-size: 20px;
  line-height: 1;
  color: #999;
  cursor: pointer;
  padding: 4px;
}
.dogo-fatima-card-title {
  margin: 0 0 12px;
  font-family: "Inter Tight", "Lato", sans-serif;
  font-weight: 500;
  font-size: 17px;
  color: #1d1d1b;
}
.dogo-fatima-card-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 42px;
  background: #25d366;
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  border-radius: 8px;
  text-decoration: none !important;
}
.dogo-fatima-card-wa:hover { background: #1ebe5b; }
.dogo-fatima-card-qr {
  display: block;
  margin: 12px auto 4px;
  width: 132px;
  height: 132px;
}
.dogo-fatima-card-scan {
  margin: 0 0 10px;
  font-size: 12px;
  color: #575757;
}
.dogo-fatima-card-apps {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  justify-content: center;
}
.dogo-fatima-card-apps a {
  display: inline-block;
  line-height: 0;
}
.dogo-fatima-card-apps a:hover { opacity: 0.85; }
.dogo-fatima-card-apps img {
  height: 32px;
  width: auto;
  display: block;
}
.dogo-fatima-card-donate {
  font-size: 12.5px;
  color: #3c9759 !important;
  font-weight: 700;
  text-decoration: underline !important;
}

/* While the fullscreen call is open, park the card bottom-left so it
   never covers Fatima or the call controls (which sit bottom-centre). */
.dogo-fatima-card--incall {
  right: auto;
  left: 24px;
  bottom: 24px;
}

/* Mobile */
@media (max-width: 899px) {
  .dogo-fatima-card {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }
  .dogo-fatima-card-qr,
  .dogo-fatima-card-scan { display: none; }

  /* In-call on a phone: shrink to a slim WhatsApp nudge above the
     message bar; drop everything that would bury the call UI. */
  .dogo-fatima-card--incall {
    left: 12px;
    right: 12px;
    bottom: 84px;
    padding: 12px 34px 12px 12px;
  }
  .dogo-fatima-card--incall .dogo-fatima-card-title { font-size: 14px; margin-bottom: 8px; }
  .dogo-fatima-card--incall .dogo-fatima-card-apps,
  .dogo-fatima-card--incall .dogo-fatima-card-donate { display: none; }
}
