/* Overlay */
#ifl-lm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  z-index: 9998;
}

/* Popup container */
#ifl-lm-popup {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ifl-lm-inner {
  background: #05090c;
  border-radius: 18px;
  max-width: 480px;
  width: 90%;
  padding: 28px 24px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
  color: #e6f6ef;
  position: relative;
}

/* Close button */
.ifl-lm-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  color: #6f8790;
  font-size: 22px;
  cursor: pointer;
}

/* Logo */
.ifl-lm-logo {
  display: block;
  max-width: 260px;
  margin: 0 auto 12px;
}

/* Badge */
.ifl-lm-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 16px;
  border-radius: 999px;
  background: #00d86b;
  color: #05090c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Headline */
.ifl-lm-headline {
  font-size: 26px;
  margin: 4px 0 8px;
  color: #ffffff;
}

/* Subhead */
.ifl-lm-subhead {
  font-size: 14px;
  color: #9ab7a9;
  margin-bottom: 10px;
}

/* Bullets */
.ifl-lm-bullets {
  margin: 0 0 14px;
  padding-left: 18px;
  list-style: none;
}

.ifl-lm-bullets li {
  font-size: 14px;
  color: #e6f6ef;
  margin-bottom: 4px;
}

.ifl-lm-bullets li::before {
  content: "✔ ";
  color: #00d86b;
}

/* Form */
#ifl-lm-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}

#ifl-lm-form input {
  background: #0b1216;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  color: #e6f6ef;
  padding: 11px 12px;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
}

#ifl-lm-form input::placeholder {
  color: #6f8790;
}

/* Button */
#ifl-lm-submit {
  background: #00d86b;
  border-radius: 999px;
  border: none;
  color: #05090c;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 16px;
  cursor: pointer;
  margin-top: 4px;
  font-size: 13px;
}

#ifl-lm-submit:hover {
  background: #00c162;
  transform: scale(1.02);
}

/* Message */
.ifl-lm-message {
  margin-top: 6px;
  font-size: 13px;
}

/* Privacy */
.ifl-lm-privacy {
  font-size: 11px;
  color: #6f8790;
}

/* Show helpers */
.ifl-lm-visible {
  opacity: 1 !important;
  visibility: visible !important;
}

.ifl-lm-hidden {
  opacity: 0;
  visibility: hidden;
}

/* Responsive */
@media (max-width: 480px) {
  .ifl-lm-inner {
    padding: 22px 16px 18px;
  }
  .ifl-lm-headline {
    font-size: 22px;
  }
}
