/* Overlay */
.exit-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.exit-modal-overlay.is-visible {
  display: flex;
}

/* Modal */
.exit-modal {
  background: #ffffff;
  max-width: 800px;
  width: 90%;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  padding: 30px 30px 20px;
  position: relative;
}

.exit-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: none;
  background: none;
  font-size: 26px;
  cursor: pointer;
  display: none;
}

.exit-title {
  text-align: center;
  color: #ff0000;
  font-size: 60px;
  font-weight: 600;
  margin: 0px;
}

.exit-content {
  display: flex;
  gap: 20px;
  align-items: center;
}

.exit-image img {
  max-width: 350px;
  height: auto;
  display: block;
}

.exit-text {
  flex: 1;
  font-size: 16px;
  color: #000;
}

.exit-headline {
  font-size: 25px;
  margin-bottom: 5px;
  color: #000;
  font-weight: bold;
}

.exit-headline .highlight {
  background: #000;
  padding: 0 4px;
  color: #fff000;
}

.exit-subtext {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 12px;
  letter-spacing: 0;
  line-height: normal !important;
  color: #000;
}

.exit-subtext .strong {
  color: red;
  font-weight: 500;
}

.exit-list {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
  font-weight: 700;
}

.exit-list li {
  margin-bottom: 4px;
  font-size: 19px;
}

.exit-icon {
  color: #ff0000;
}

.exit-cta {
  display: block;
  width: 100%;
  background: #ff0000;
  color: #fff;
  border: none;
  padding: 12px 0;
  border-radius: 3px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 5px;
  border: 2px solid #fff;

  &:hover {
    background: #c40202;
    color: #fff;
    border: 2px solid #000;
  }
}

.exit-footer {
  text-align: center;
  margin-top: 10px;
  font-size: 18px;
}

@media (max-width: 768px) {
  .exit-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .exit-modal {
    padding: 20px 16px 16px;
  }

  .exit-title {
    font-size: 32px;
  }
}
