/**
 * WCEx B2B Inquiry Form Styles (minimal)
 * Theme styles should drive visual appearance.
 */

.wcex-form-container,
.wcex-inq-form {
  width: 100%;
  margin: 2rem auto;
  padding: 0;
}

.wcex-form-hero,
.wcex-section-card,
[data-wcex-block="note"],
.wcex-submit-row,
.wcex-inq-field {
  margin: 0 0 1.5rem;
}

/* Section headers with extra spacing */
h3[data-wcex-block="section"] {
  margin: 0 0 2rem 0 !important;
}

.wcex-field-row,
.wcex-inq-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.wcex-field-row input,
.wcex-field-row select,
.wcex-field-row textarea,
.wcex-inq-field input,
.wcex-inq-field select,
.wcex-inq-field textarea {
  width: 100%;
  box-sizing: border-box;
}

/* Keep textarea typography aligned with other inquiry fields. */
.wcex-field-row textarea,
.wcex-inq-field textarea {
  font-family: inherit;
}

.wcex-inq-locked-field,
select.wcex-inq-locked-field {
  background: #f3f4f6;
  color: #4b5563;
}

.wcex-name-row {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: flex-start;
}

.wcex-layout-columns {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.wcex-field-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.wcex-layout-col {
  flex: 1;
  min-width: 0;
}

.wcex-divider {
  border: 0;
  border-top: 1px solid currentColor;
  opacity: 0.2;
  margin: 1.25rem 0;
}

@media (max-width: 600px) {
  .wcex-name-row {
    flex-direction: column;
    gap: 0;
  }
}

@media (max-width: 480px) {
  .wcex-layout-columns {
    flex-direction: column;
    gap: 0;
  }
}