/* ─── WPFORMS STYLING TO MATCH LSL DESIGN ─── */

/* Remove WPForms default container padding/margin */
.lsl-contact-form-wrapper .wpforms-container {
  max-width: 100% !important;
}

.lsl-contact-form-wrapper .wpforms-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

/* Field wrappers */
.lsl-contact-form-wrapper .wpforms-field {
  padding: 0 !important;
  margin: 0 !important;
}

/* Two column name row */
.lsl-contact-form-wrapper .wpforms-field-name .wpforms-field-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
}

/* All inputs, textareas, selects */
.lsl-contact-form-wrapper .wpforms-field input[type="text"],
.lsl-contact-form-wrapper .wpforms-field input[type="email"],
.lsl-contact-form-wrapper .wpforms-field textarea,
.lsl-contact-form-wrapper .wpforms-field select {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(201,168,76,0.15) !important;
  border-radius: 0 !important;
  color: var(--cream) !important;
  font-family: 'Raleway', sans-serif !important;
  font-size: 13px !important;
  padding: 5px 20px !important;
  width: 100% !important;
  letter-spacing: 0.03em !important;
  box-shadow: none !important;
  outline: none !important;
  transition: border-color 0.3s !important;
  -webkit-appearance: none !important;
}

.lsl-contact-form-wrapper .wpforms-field input:focus,
.lsl-contact-form-wrapper .wpforms-field textarea:focus,
.lsl-contact-form-wrapper .wpforms-field select:focus {
  border-color: rgba(201,168,76,0.5) !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Placeholder text */
.lsl-contact-form-wrapper .wpforms-field input::placeholder,
.lsl-contact-form-wrapper .wpforms-field textarea::placeholder {
  color: rgba(242,235,217,0.2) !important;
  font-size: 12px !important;
  letter-spacing: 0.05em !important;
}

/* Select dropdown arrow */
.lsl-contact-form-wrapper .wpforms-field select {
  background-image: none !important;
  cursor: pointer !important;
}

/* Select options */
.lsl-contact-form-wrapper .wpforms-field select option {
  background: #1a1712 !important;
  color: var(--cream) !important;
}

/* Labels */
.lsl-contact-form-wrapper .wpforms-field label.wpforms-field-label,
.lsl-contact-form-wrapper .wpforms-field label.wpforms-sublabel {
  color: rgba(242,235,217,0.35) !important;
  font-family: 'Cinzel', serif !important;
  font-size: 9px !important;
  letter-spacing: 0.35em !important;
  text-transform: uppercase !important;
  font-weight: 400 !important;
  margin: 20px 0 5px 0 !important;
}

/* Hide sub-labels (First / Last) since placeholder handles it */
.lsl-contact-form-wrapper .wpforms-field-name .wpforms-sublabel {
  display: none !important;
}

/* Textarea height */
.lsl-contact-form-wrapper .wpforms-field textarea {
  min-height: 120px !important;
  resize: vertical !important;
}

/* Required asterisk */
.lsl-contact-form-wrapper .wpforms-required-label {
  color: var(--gold) !important;
}

/* Error messages */
.lsl-contact-form-wrapper .wpforms-error {
  color: rgba(201,168,76,0.8) !important;
  font-family: 'Raleway', sans-serif !important;
  font-size: 11px !important;
  letter-spacing: 0.05em !important;
  margin-top: 6px !important;
}

/* Submit button */
.lsl-contact-form-wrapper .wpforms-submit-container {
  margin-top: 8px !important;
  text-align: center !important;
}

.lsl-contact-form-wrapper .wpforms-submit {
  font-family: 'Cinzel', serif !important;
  font-size: 11px !important;
  letter-spacing: 0.3em !important;
  text-transform: uppercase !important;
  color: #080808 !important;
  background: linear-gradient(135deg, #C9A84C, #E8C96A, #C9A84C) !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 16px 40px !important;
  cursor: pointer !important;
  transition: opacity 0.4s ease !important;
  box-shadow: none !important;
  width: auto !important;
}

.lsl-contact-form-wrapper .wpforms-submit:hover {
  opacity: 0.85 !important;
}

/* Success message */
.lsl-contact-form-wrapper .wpforms-confirmation-container-full {
  background: rgba(201,168,76,0.06) !important;
  border: 1px solid rgba(201,168,76,0.2) !important;
  border-radius: 0 !important;
  color: var(--cream) !important;
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 18px !important;
  font-style: italic !important;
  padding: 32px !important;
  text-align: center !important;
}

/* ─── FIX NAME FIELD TWO COLUMNS ─── */
.lsl-contact-form-wrapper .wpforms-field-name {
  width: 100% !important;
}

.lsl-contact-form-wrapper .wpforms-field-name .wpforms-field-row {
  display: flex !important;
  flex-direction: row !important;
  gap: 16px !important;
  width: 100% !important;
}

.lsl-contact-form-wrapper .wpforms-field-name .wpforms-field-row .wpforms-one-half {
  flex: 1 !important;
  width: 50% !important;
  min-width: 0 !important;
}

/* ─── FIX OVERALL FORM WIDTH ─── */
.lsl-contact-form-wrapper {
  width: 100% !important;
}

.lsl-contact-form-wrapper .wpforms-container,
.lsl-contact-form-wrapper .wpforms-form,
.lsl-contact-form-wrapper .wpforms-field {
  width: 100% !important;
  max-width: 100% !important;
}

/* ─── SHOW SUBLABELS FOR FIRST/LAST ─── */
.lsl-contact-form-wrapper .wpforms-field-name .wpforms-sublabel {
  display: block !important;
  color: rgba(242,235,217,0.25) !important;
  font-family: 'Cinzel', serif !important;
  font-size: 8px !important;
  letter-spacing: 0.3em !important;
  text-transform: uppercase !important;
  margin-top: 6px !important;
}
legend.wpforms-field-label{
    color: rgba(242, 235, 217, 0.35) !important;
    font-family: 'Cinzel', serif !important;
    font-size: 9px !important;
    letter-spacing: 0.35em !important;
    text-transform: uppercase !important;
    font-weight: 400 !important;
    margin-bottom: 10px !important;
}