/* Shared Contact Form 7 inquiry forms — matches employment .emp-form-card styling */

.emp-form-card .bellino-cf7-inquiry .wpcf7 {
  width: 100%;
}

.emp-form-card .bellino-cf7-inquiry .wpcf7-form {
  margin: 0;
}

.emp-form-card .bellino-cf7-inquiry .wpcf7 form br,
.emp-form-card .bellino-cf7-inquiry .hidden-fields-container {
  display: none;
}

.emp-form-card .bellino-cf7-inquiry .emp-cf7-grid,
.emp-form-card .bellino-cf7-inquiry .bfund3-form-grid {
  display: grid;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.emp-form-card .bellino-cf7-inquiry label {
  display: block;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}

.emp-form-card .bellino-cf7-inquiry label > span:not(.wpcf7-form-control-wrap) {
  display: inline;
}

.emp-form-card .bellino-cf7-inquiry .wpcf7-form-control-wrap {
  display: block;
  margin-top: 6px;
}

.emp-form-card .bellino-cf7-inquiry .wpcf7-form-control:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.emp-form-card .bellino-cf7-inquiry textarea,
.emp-form-card .bellino-cf7-inquiry select {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(10, 30, 70, 0.12);
  border-radius: 10px;
  background-color: #f6f8fb;
  color: var(--navy);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  box-shadow: none;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease;
}

.emp-form-card .bellino-cf7-inquiry textarea {
  min-height: 96px;
  padding: 11px 14px;
  line-height: 1.5;
  resize: vertical;
}

.emp-form-card .bellino-cf7-inquiry select {
  padding-right: 38px;
  appearance: none;
  background-color: #f6f8fb;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230a1e46' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.emp-form-card .bellino-cf7-inquiry .wpcf7-form-control::placeholder,
.emp-form-card .bellino-cf7-inquiry textarea::placeholder {
  color: #8b95a8;
  font-weight: 400;
}

.emp-form-card .bellino-cf7-inquiry .wpcf7-form-control:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):hover,
.emp-form-card .bellino-cf7-inquiry textarea:hover,
.emp-form-card .bellino-cf7-inquiry select:hover {
  border-color: #bcc5d4;
  background-color: #fff;
}

.emp-form-card .bellino-cf7-inquiry .wpcf7-form-control:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):focus,
.emp-form-card .bellino-cf7-inquiry textarea:focus,
.emp-form-card .bellino-cf7-inquiry select:focus {
  outline: none;
  border-color: var(--navy-3);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(10, 30, 70, 0.1);
}

.emp-form-card .bellino-cf7-inquiry .wpcf7-submit {
  margin-top: 8px;
  width: 100%;
  min-height: 48px;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 28px rgba(225, 31, 45, 0.22);
}

.emp-form-card .bellino-cf7-inquiry .wpcf7-submit:hover {
  box-shadow: 0 14px 36px rgba(225, 31, 45, 0.28);
}

.emp-form-card .bellino-cf7-inquiry .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
}

.emp-form-card .bellino-cf7-inquiry .wpcf7-response-output {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--navy);
  background: #f0f7f2;
  border: 1px solid rgba(34, 120, 60, 0.16);
}

.emp-form-card .bellino-cf7-inquiry .bfund3-span-2 {
  grid-column: 1 / -1;
}

@media (min-width: 560px) {
  .emp-form-card .bellino-cf7-inquiry .emp-cf7-grid .emp-form-row,
  .emp-form-card .bellino-cf7-inquiry .bfund3-form-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .emp-form-card .bellino-cf7-inquiry .emp-cf7-grid > label,
  .emp-form-card .bellino-cf7-inquiry .bfund3-span-2,
  .emp-form-card .bellino-cf7-inquiry .wpcf7-submit,
  .emp-form-card .bellino-cf7-inquiry .wpcf7-response-output {
    grid-column: 1 / -1;
  }
}

:root[data-theme="dark"] body.fundraising-page .emp-form-card .bellino-cf7-inquiry label,
:root[data-theme="dark"] body.employment-page .emp-form-card .bellino-cf7-inquiry label {
  color: rgba(255, 255, 255, 0.86);
}

:root[data-theme="dark"] body.fundraising-page .emp-form-card .bellino-cf7-inquiry .wpcf7-form-control:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
:root[data-theme="dark"] body.fundraising-page .emp-form-card .bellino-cf7-inquiry textarea,
:root[data-theme="dark"] body.fundraising-page .emp-form-card .bellino-cf7-inquiry select,
:root[data-theme="dark"] body.employment-page .emp-form-card .bellino-cf7-inquiry .wpcf7-form-control:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
:root[data-theme="dark"] body.employment-page .emp-form-card .bellino-cf7-inquiry textarea,
:root[data-theme="dark"] body.employment-page .emp-form-card .bellino-cf7-inquiry select {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
}

:root[data-theme="dark"] body.fundraising-page .emp-form-card .bellino-cf7-inquiry .wpcf7-form-control::placeholder,
:root[data-theme="dark"] body.fundraising-page .emp-form-card .bellino-cf7-inquiry textarea::placeholder,
:root[data-theme="dark"] body.employment-page .emp-form-card .bellino-cf7-inquiry .wpcf7-form-control::placeholder,
:root[data-theme="dark"] body.employment-page .emp-form-card .bellino-cf7-inquiry textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

:root[data-theme="dark"] body.fundraising-page .emp-form-card .bellino-cf7-inquiry .wpcf7-form-control:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):hover,
:root[data-theme="dark"] body.fundraising-page .emp-form-card .bellino-cf7-inquiry textarea:hover,
:root[data-theme="dark"] body.fundraising-page .emp-form-card .bellino-cf7-inquiry select:hover,
:root[data-theme="dark"] body.employment-page .emp-form-card .bellino-cf7-inquiry .wpcf7-form-control:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):hover,
:root[data-theme="dark"] body.employment-page .emp-form-card .bellino-cf7-inquiry textarea:hover,
:root[data-theme="dark"] body.employment-page .emp-form-card .bellino-cf7-inquiry select:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.09);
}

:root[data-theme="dark"] body.fundraising-page .emp-form-card .bellino-cf7-inquiry .wpcf7-form-control:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):focus,
:root[data-theme="dark"] body.fundraising-page .emp-form-card .bellino-cf7-inquiry textarea:focus,
:root[data-theme="dark"] body.fundraising-page .emp-form-card .bellino-cf7-inquiry select:focus,
:root[data-theme="dark"] body.employment-page .emp-form-card .bellino-cf7-inquiry .wpcf7-form-control:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):focus,
:root[data-theme="dark"] body.employment-page .emp-form-card .bellino-cf7-inquiry textarea:focus,
:root[data-theme="dark"] body.employment-page .emp-form-card .bellino-cf7-inquiry select:focus {
  border-color: rgba(217, 164, 32, 0.45);
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(217, 164, 32, 0.14);
}

:root[data-theme="dark"] body.fundraising-page .emp-form-card .bellino-cf7-inquiry select,
:root[data-theme="dark"] body.employment-page .emp-form-card .bellino-cf7-inquiry select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff' fill-opacity='0.72' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
}

:root[data-theme="dark"] body.fundraising-page .emp-form-card .bellino-cf7-inquiry .wpcf7-response-output,
:root[data-theme="dark"] body.employment-page .emp-form-card .bellino-cf7-inquiry .wpcf7-response-output {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(34, 120, 60, 0.14);
  border-color: rgba(72, 180, 100, 0.22);
}
