/* Lead Capture Popup Styles */
#fn-lead-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fnFadeIn 0.3s ease;
  padding: 15px;
}
#fn-lead-overlay.fn-fade-out {
  animation: fnFadeOut 0.3s ease forwards;
}
@keyframes fnFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fnFadeOut { from { opacity: 1; } to { opacity: 0; } }

#fn-lead-popup {
  background: #f5f0e1;
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  padding: 35px 30px 30px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: fnSlideUp 0.4s ease;
}
@keyframes fnSlideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

#fn-popup-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: #1c6663;
  cursor: pointer;
  line-height: 1;
  font-weight: 700;
  transition: color 0.2s;
}
#fn-popup-close:hover { color: #c0392b; }

.fn-popup-header {
  text-align: center;
  margin-bottom: 20px;
}
.fn-popup-logo {
  width: 70px;
  height: auto;
  margin-bottom: 10px;
}
.fn-popup-header h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  color: #1a3a2f;
  margin: 0 0 6px;
}
.fn-popup-header p {
  font-size: 13px;
  color: #555;
  margin: 0;
  line-height: 1.4;
}

.fn-popup-field {
  margin-bottom: 12px;
}
.fn-popup-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: #1a3a2f;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.fn-popup-field input:focus {
  outline: none;
  border-color: #1c6663;
}
.fn-popup-field input::placeholder {
  color: #999;
}

.fn-popup-consent {
  margin: 14px 0 16px;
}
.fn-popup-consent label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}
.fn-popup-consent input[type="checkbox"] {
  margin-top: 3px;
  accent-color: #1c6663;
  min-width: 16px;
  min-height: 16px;
}
.fn-popup-consent span {
  font-size: 11.5px;
  color: #555;
  line-height: 1.4;
}
.fn-popup-consent a {
  color: #1c6663;
  text-decoration: underline;
  font-weight: 600;
}
.fn-popup-consent a:hover {
  color: #1a3a2f;
}

.fn-popup-submit-wrap {
  text-align: center;
}
#fn-popup-submit-btn {
  width: 100%;
  padding: 13px;
  background: #1c6663;
  color: #f5f0e1;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}
#fn-popup-submit-btn:hover {
  background: #1a3a2f;
}
#fn-popup-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

#fn-popup-msg {
  text-align: center;
  margin-top: 12px;
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 480px) {
  #fn-lead-popup {
    padding: 28px 20px 24px;
    max-width: 100%;
  }
  .fn-popup-header h3 { font-size: 20px; }
  .fn-popup-logo { width: 55px; }
}
