/* ============================
   LEO Newsletter Modal Styles
   ============================ */

.leo-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.leo-modal-overlay.active {
  display: flex;
}

.leo-modal {
  width: 420px;
  max-width: 92%;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  padding: 28px 24px 24px 24px;
  font-family: 'Inter', sans-serif;
  position: relative;
  animation: leoFadeIn 0.2s ease-out;
}

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

.leo-modal-close {
  position: absolute;
  right: 16px;
  top: 14px;
  font-size: 18px;
  cursor: pointer;
  border: none;
  background-color: #F0F0F0;
  color: #888;
  border-radius: 9px;
}

.leo-modal-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #222;
}

.leo-modal-description {
  font-size: 14px;
  color: #666;
  margin-bottom: 18px;
}

.leo-input {
  width: 100%;
  padding: 12px 14px;
  margin: 5px 0;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
  outline: none;
  transition: border 0.2s ease;
}

.leo-input:focus {
  border-color: #2563eb;
}

.leo-button {
  width: 100%;
  margin-top: 14px;
  padding: 12px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(90deg, #2563eb, #1d4ed8);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.leo-button:hover {
  opacity: 0.9;
}

.leo-footer-text {
  margin-top: 14px;
  font-size: 12px;
  color: #888;
  text-align: center;
}

.leo-success {
  margin-top: 14px;
  padding: 10px;
  border-radius: 6px;
  background: #e6f9f0;
  color: #047857;
  font-size: 13px;
  display: none;
}
