/* Exit Intent Popup Styles */

.exit-intent-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 1rem;
}

.exit-intent-overlay.show {
  opacity: 1;
}

.exit-intent-popup {
  background: white;
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.exit-intent-overlay.show .exit-intent-popup {
  transform: scale(1);
}

.exit-intent-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: #64748b;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.exit-intent-close:hover {
  background: #f1f5f9;
  color: #1e293b;
}

.exit-intent-content {
  padding: 2rem;
}

.exit-intent-content h2 {
  font-size: 1.75rem;
  color: #1e293b;
  margin-bottom: 1rem;
  text-align: center;
}

.exit-intent-offer {
  font-size: 1.125rem;
  color: #64748b;
  text-align: center;
  margin-bottom: 1.5rem;
}

.exit-intent-offer strong {
  color: #007bff;
  font-size: 1.25rem;
}

.exit-intent-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.exit-intent-benefits li {
  padding: 0.5rem 0;
  color: #1e293b;
  font-size: 1rem;
}

.exit-intent-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.exit-intent-form input,
.exit-intent-form textarea {
  padding: 0.75rem;
  border: 2px solid #e2e8f0;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.2s;
  font-family: inherit;
  width: 100%;
}

.exit-intent-form input:focus,
.exit-intent-form textarea:focus {
  outline: none;
  border-color: #007bff;
}

.exit-intent-form textarea {
  resize: vertical;
  min-height: 60px;
}

.exit-intent-form .btn-primary {
  padding: 0.75rem;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.exit-intent-form .btn-primary:hover {
  background: #0056b3;
}

.exit-intent-form .btn-primary:disabled {
  background: #94a3b8;
  cursor: not-allowed;
}

.exit-intent-privacy {
  font-size: 0.875rem;
  color: #64748b;
  text-align: center;
  margin: 0;
}

.exit-intent-success {
  text-align: center;
  padding: 2rem;
}

.exit-intent-success h3 {
  font-size: 1.5rem;
  color: #007bff;
  margin-bottom: 1rem;
}

.exit-intent-success p {
  color: #64748b;
  margin-bottom: 0.5rem;
}

.exit-intent-error {
  background: #fef2f2;
  border: 2px solid #fca5a5;
  color: #991b1b;
  padding: 0.75rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  text-align: center;
}

@media (max-width: 768px) {
  .exit-intent-popup {
    max-width: 100%;
    margin: 1rem;
  }
  
  .exit-intent-content {
    padding: 1.5rem;
  }
  
  .exit-intent-content h2 {
    font-size: 1.5rem;
  }
}

