.form-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(3px);
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.form-modal-overlay.show {
  display: flex;
}

.form-modal-container {
  width: min(520px, 100%);
}

.lead-form-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  position: relative;
  box-shadow: 0 24px 45px rgba(15, 23, 42, 0.35);
}

.form-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 0;
  background: #f1f5f9;
  color: #64748b;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  cursor: pointer;
}

.lead-form-header {
  margin-bottom: 20px;
}

.lead-tag {
  display: inline-block;
  background: #dbeafe;
  color: #1d4ed8;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  border-radius: 999px;
}

.lead-form-header h2 {
  margin: 12px 0 4px;
  font-size: 1.7rem;
  line-height: 1.2;
}

.lead-form-header p {
  margin: 0;
  color: #64748b;
  font-size: 0.95rem;
}

.lead-plan-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 11px 16px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 12px;
}

.lead-plan-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
}

.lead-plan-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: #2563eb;
  white-space: nowrap;
}

.lead-form {
  display: grid;
  gap: 14px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.86rem;
  color: #334155;
  font-weight: 700;
}

.form-group label span {
  color: #dc2626;
}

.form-control,
.form-select {
  width: 100%;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  border-radius: 12px;
  padding: 11px 13px;
  font: inherit;
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-helper {
  margin: 6px 0 0;
  font-size: 0.76rem;
  color: #94a3b8;
}

.btn-submit {
  margin-top: 4px;
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: #22c55e;
  color: #fff;
  padding: 13px 16px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-submit:hover {
  filter: brightness(1.05);
}
