/* ============================================================
   Exit-Intent Popup — adkonnekt dark theme
   ============================================================ */

#exit-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

#exit-popup-overlay.ep-visible {
  opacity: 1;
  pointer-events: all;
}

#exit-popup {
  background: #1A2E2E;
  border-radius: 12px;
  padding: 36px 32px 28px;
  max-width: 460px;
  width: calc(100% - 40px);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transform: translateY(24px);
  transition: transform 0.25s ease;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  font-family: 'Inter', Arial, sans-serif;
}

#exit-popup-overlay.ep-visible #exit-popup {
  transform: translateY(0);
}

#ep-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: #7a9a9a;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color 0.15s;
}

#ep-close:hover {
  color: #fff;
}

#ep-badge {
  background: #C07000;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  padding: 3px 10px;
  border-radius: 3px;
  text-transform: uppercase;
  align-self: flex-start;
}

#ep-cover {
  width: 150px;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
}

#ep-heading {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  text-align: center;
  line-height: 1.3;
}

#ep-sub {
  color: #9ab5b5;
  font-size: 14px;
  margin: 0;
  text-align: center;
  line-height: 1.55;
}

#ep-btn {
  display: inline-block;
  background: #006B6B;
  color: #fff;
  padding: 13px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s;
  margin-top: 4px;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

#ep-btn:hover {
  background: #004F4F;
}

#ep-no-thanks {
  background: none;
  border: none;
  color: #5a7a7a;
  font-size: 12px;
  font-family: 'Inter', Arial, sans-serif;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s;
}

#ep-no-thanks:hover {
  color: #9ab5b5;
}

@media (max-width: 500px) {
  #exit-popup {
    padding: 32px 20px 24px;
    gap: 12px;
  }

  #ep-cover {
    width: 120px;
  }

  #ep-heading {
    font-size: 18px;
  }
}
