/* ── LPC Fund native form styles ─────────────────────────────────────────── */
/* Replaces MetForm (mf-*) styling for the vanilla contact/license forms.    */
/* Uses the site's Astra/Elementor color palette.                            */

.lpc-form {
  width: 100%;
  font-family: inherit;
}

.mf-required-note {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0 0 1rem;
}

.mf-input-wrapper {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.1rem;
}

.mf-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.35rem;
}

.mf-required-star {
  color: #e53e3e;
  margin-left: 2px;
}

.mf-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: #1e293b;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.mf-input:focus {
  border-color: #126e82;
  box-shadow: 0 0 0 3px rgba(18, 110, 130, 0.12);
}

.mf-input.mf-textarea {
  resize: vertical;
  min-height: 120px;
}

.mf-submit-wrapper {
  margin-top: 0.5rem;
}

.mf-btn.mf-btn-submit {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background-color: #126e82;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

.mf-btn.mf-btn-submit:hover {
  background-color: #0e5a6b;
}

.mf-btn.mf-btn-submit:active {
  transform: translateY(1px);
}

.mf-btn.mf-btn-submit:disabled,
.mf-btn.mf-btn-submit.lpc-form-loading {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Response message */
.lpc-form-msg {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  display: none;
}

.lpc-form-msg.lpc-success {
  display: block;
  color: #166534;
  background: #dcfce7;
  border: 1px solid #86efac;
}

.lpc-form-msg.lpc-error {
  display: block;
  color: #991b1b;
  background: #fee2e2;
  border: 1px solid #fca5a5;
}
