/* Exit Intent Popup Styles */
.yayboost-exit-intent-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-out;
  margin: 0;
  padding: 0;
}

.yayboost-exit-intent-popup__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.yayboost-exit-intent-popup__content {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  text-align: center;
  animation: slideUp 0.3s ease-out;
  z-index: 1;
  margin: auto;
}

.yayboost-exit-intent-popup__close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #666;
  cursor: pointer;
  padding: 5px 10px;
  transition: color 0.2s ease;
}

.yayboost-exit-intent-popup__close:hover {
  color: #000;
}

.yayboost-exit-intent-popup__headline {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
}

.yayboost-exit-intent-popup__message {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem !important;
}

.yayboost-exit-intent-popup__button {
  display: inline-block;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  background-color: #0073aa;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.1s ease;
  text-decoration: none;
}

.yayboost-exit-intent-popup__button:hover {
  background-color: #005a87;
  color: #ffffff;
  transform: translateY(-1px);
}

.yayboost-exit-intent-popup__button:active {
  transform: translateY(0);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive styles */
@media (max-width: 600px) {
  .yayboost-exit-intent-popup__content {
    padding: 30px 20px;
    max-width: 95%;
  }

  .yayboost-exit-intent-popup__headline {
    font-size: 24px;
  }

  .yayboost-exit-intent-popup__message {
    font-size: 14px;
  }

  .yayboost-exit-intent-popup__button {
    padding: 12px 24px;
    font-size: 14px;
  }
}
