/* =====================================================================
 * EPELCON — Prospect Popup Widget Styles
 * Non-intrusive bottom-left toast. Mobile: bottom-center, narrower.
 * ===================================================================== */
.epx-popup-root {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 9990;
  pointer-events: none;       /* so it never blocks page clicks */
}

.epx-popup {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 320px;
  max-width: calc(100vw - 36px);
  padding: 10px 36px 10px 10px;
  background: #ffffff;
  color: #16213e;
  border-radius: 12px;
  border-left: 4px solid #0f3460;
  box-shadow: 0 12px 32px rgba(15, 52, 96, 0.18), 0 2px 8px rgba(0,0,0,0.06);
  text-decoration: none !important;
  font: 13px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  transition: opacity .35s ease, transform .35s cubic-bezier(.2,.8,.2,1);
  pointer-events: auto;       /* re-enable on the card itself */
  position: relative;
  cursor: pointer;
}

.epx-popup--in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.epx-popup--out {
  opacity: 0;
  transform: translateY(20px) scale(0.96);
}

.epx-popup__icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0f3460;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.epx-popup__icon .material-icons {
  font-size: 20px;
  line-height: 20px;
}

.epx-popup__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.epx-popup__msg {
  color: #16213e;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.epx-popup__cta {
  color: #4caf50;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.epx-popup__close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 22px;
  height: 22px;
  background: transparent;
  border: 0;
  color: #9aa3b2;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  border-radius: 50%;
}

.epx-popup__close:hover {
  background: #f0f3f8;
  color: #16213e;
}

@media (max-width: 600px) {
  .epx-popup-root {
    left: 10px;
    right: 10px;
    bottom: 10px;
    display: flex;
    justify-content: center;
  }
  .epx-popup {
    width: 100%;
    max-width: 460px;
    font-size: 12.5px;
  }
}
