/* Exit Intent Popup - Simulador MLE */
/* Overlay */
.exit-intent-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

.exit-intent-overlay.active {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  opacity: 1;
}

/* Modal Container */
.exit-intent-modal {
  position: relative;
  background-color: #ffffff;
  width: 100%;
  max-width: 694px;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
          box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  -webkit-transform: translateY(-20px);
          transform: translateY(-20px);
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.exit-intent-overlay.active .exit-intent-modal {
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

/* Header */
.exit-intent-header {
  position: relative;
  background-color: #182663;
  padding: 24px 24px 48px 24px;
  overflow: hidden;
}

.exit-intent-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: -webkit-gradient(linear, left top, right top, from(#0af), to(#23d2b5));
  background: linear-gradient(90deg, #0af 0%, #23d2b5 100%);
}

/* Header decorative elements */
.exit-intent-header-bg {
  position: absolute;
  top: -24px;
  right: 20%;
  width: 178px;
  height: 276px;
  opacity: 0.1;
  pointer-events: none;
}

.exit-intent-header-bg-small {
  position: absolute;
  top: 41px;
  right: 6%;
  width: 94px;
  height: 146px;
  opacity: 0.1;
  pointer-events: none;
}

.exit-intent-header h2 {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 30px;
  color: #ffffff;
  margin: 0 0 8px 0;
  position: relative;
  z-index: 1;
}

.exit-intent-header p {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #ffffff;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Close Button */
.exit-intent-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 4px;
  z-index: 2;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

.exit-intent-close:hover {
  opacity: 0.7;
}

.exit-intent-close svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

/* Form Content */
.exit-intent-content {
  padding: 24px;
}

.exit-intent-content.exit-intent-mobile {
  display: none;
}

.exit-intent-content.exit-intent-desktop {
  display: block;
}

/* Form */
.exit-intent-form {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;
}

/* Mobile steps */
.exit-intent-step {
  display: block;
}

.exit-intent-step.hidden {
  display: none;
}

.exit-intent-buttons {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.exit-intent-btn-primary,
.exit-intent-btn-secondary {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 40px;
  padding: 0 24px;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  border: 1px solid transparent;
  cursor: pointer;
  -webkit-transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.exit-intent-btn-primary {
  background-color: #007acd;
  color: #ffffff;
  border-color: #007acd;
}

.exit-intent-btn-primary:hover {
  background-color: #005fa3;
  border-color: #005fa3;
}

.exit-intent-btn-secondary {
  background-color: #f1f4f7;
  color: #334551;
  border-color: #d4dbe1;
}

.exit-intent-btn-secondary:hover {
  background-color: #e6ecf1;
  border-color: #c7d0d9;
}

.exit-intent-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Input Groups */
.exit-intent-input-group {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 4px;
}

.exit-intent-input-group label {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #334551;
}

.exit-intent-input-group input,
.exit-intent-input-group select {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #171d21;
  background-color: #ffffff;
  border: 1px solid #9eadb8;
  padding: 8px 16px;
  height: 40px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-transition: border-color 0.2s ease;
  transition: border-color 0.2s ease;
}

.exit-intent-input-group input::-webkit-input-placeholder {
  color: #60798b;
}

.exit-intent-input-group input::-moz-placeholder {
  color: #60798b;
}

.exit-intent-input-group input:-ms-input-placeholder {
  color: #60798b;
}

.exit-intent-input-group input::-ms-input-placeholder {
  color: #60798b;
}

.exit-intent-input-group input::placeholder {
  color: #60798b;
}

.exit-intent-input-group input:focus,
.exit-intent-input-group select:focus {
  outline: none;
  border-color: #007acd;
}

.exit-intent-input-group input.error,
.exit-intent-input-group select.error {
  border-color: #d32f2f;
}

.exit-intent-input-group .error-message {
  font-family: "Lato", sans-serif;
  font-size: 12px;
  color: #d32f2f;
  margin-top: 4px;
}

/* Select styling */
.exit-intent-input-group select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23171d21'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 24px;
  padding-right: 40px;
  cursor: pointer;
}

/* Checkbox Group */
.exit-intent-checkbox-group {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.exit-intent-checkbox {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}

.exit-intent-checkbox input[type=checkbox] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 3px 0 0 0;
  accent-color: #007acd;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: #ffffff;
  border: 1px solid #9eadb8;
  border-radius: 3px;
  position: relative;
  cursor: pointer;
}

.exit-intent-checkbox input[type=checkbox]:checked {
  background-color: #007acd;
  border-color: #007acd;
}

.exit-intent-checkbox input[type=checkbox]:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 6px;
  width: 4px;
  height: 8px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.exit-intent-checkbox span {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  color: #171d21;
}

.exit-intent-checkbox a {
  color: #007acd;
  text-decoration: underline;
}

.exit-intent-checkbox a:hover {
  text-decoration: none;
}

/* Required fields note */
.exit-intent-required-note {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #60798b;
  margin-top: 8px;
}

/* Submit Button */
.exit-intent-submit {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: #007acd;
  color: #ffffff;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  padding: 10px 32px;
  border: none;
  cursor: pointer;
  -webkit-transition: background-color 0.2s ease;
  transition: background-color 0.2s ease;
  margin-top: 16px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.exit-intent-submit:hover {
  background-color: #005fa3;
}

.exit-intent-submit:disabled {
  background-color: #9eadb8;
  cursor: not-allowed;
}

/* Thank You State */
.exit-intent-thank-you {
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  padding: 80px 40px;
  min-height: 350px;
}

.exit-intent-thank-you.active {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.exit-intent-thank-you h3 {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 30px;
  color: #171d21;
  margin: 0 0 16px 0;
}

.exit-intent-thank-you p {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #171d21;
  margin: 0;
  max-width: 560px;
}

/* Hide form when thank you is showing */
.exit-intent-content.hidden {
  display: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .exit-intent-modal {
    max-width: 95%;
    margin: 16px;
  }
  .exit-intent-content.exit-intent-desktop {
    display: none;
  }
  .exit-intent-content.exit-intent-mobile {
    display: block;
  }
  .exit-intent-content.exit-intent-mobile.hidden {
    display: none;
  }
  .exit-intent-form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .exit-intent-header {
    padding: 20px 20px 40px 20px;
  }
  .exit-intent-content {
    padding: 20px;
  }
  .exit-intent-header h2 {
    font-size: 20px;
    line-height: 26px;
    padding-right: 40px;
  }
  .exit-intent-header-bg,
  .exit-intent-header-bg-small {
    display: none;
  }
  .exit-intent-thank-you {
    padding: 60px 24px;
    min-height: 280px;
  }
  .exit-intent-buttons {
    gap: 10px;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
  }
}
/* Animation for popup appearance */
@-webkit-keyframes exitIntentFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes exitIntentFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-webkit-keyframes exitIntentSlideIn {
  from {
    -webkit-transform: translateY(-30px);
            transform: translateY(-30px);
    opacity: 0;
  }
  to {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}
@keyframes exitIntentSlideIn {
  from {
    -webkit-transform: translateY(-30px);
            transform: translateY(-30px);
    opacity: 0;
  }
  to {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}
.exit-intent-overlay.active {
  -webkit-animation: exitIntentFadeIn 0.3s ease forwards;
          animation: exitIntentFadeIn 0.3s ease forwards;
}

.exit-intent-overlay.active .exit-intent-modal {
  -webkit-animation: exitIntentSlideIn 0.3s ease forwards;
          animation: exitIntentSlideIn 0.3s ease forwards;
}
/*# sourceMappingURL=exit-intent-popup.css.map */
