/* Card shell */
.bnm-apply-card {
  max-width: 720px;
  margin: 32px auto;
  background: #fff;
  border: 1px solid #e8e8ee;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(22,30,42,.06);
  padding: 28px;
}

/* Normalize */
.bnm-apply-card * { box-sizing: border-box; font-family: inherit; }
.bnm-apply-card form { margin: 0; }

/* Labels */
.bnm-apply-card label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin: 16px 0 8px;
}

/* Text inputs, email, tel, date, select, textarea */
.bnm-apply-card input[type="text"],
.bnm-apply-card input[type="email"],
.bnm-apply-card input[type="tel"],
.bnm-apply-card input[type="date"],
.bnm-apply-card input[type="number"],
.bnm-apply-card select,
.bnm-apply-card textarea {
  width: 100%;
  height: 46px;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.bnm-apply-card textarea { min-height: 120px; height: auto; resize: vertical; }
.bnm-apply-card input::placeholder,
.bnm-apply-card textarea::placeholder { color: #9ca3af; }
.bnm-apply-card input:focus,
.bnm-apply-card select:focus,
.bnm-apply-card textarea:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99,102,241,.15);
}

/* Programs / checkboxes */
.bnm-apply-card .programs,
.bnm-apply-card .checkbox-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 6px;
}
.bnm-apply-card input[type="checkbox"] { width: 18px; height: 18px; }
.bnm-apply-card .checkbox-inline,
.bnm-apply-card .programs label { display: flex; align-items: center; gap: 8px; font-weight: 500; color: #1f2937; }

/* File input */
.bnm-apply-card input[type="file"] {
  width: 100%;
  height: 46px;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
}
.bnm-apply-card input[type="file"]::file-selector-button {
  margin-right: 12px; padding: 8px 14px; border: 0; border-radius: 8px; background: #f3f4f6; cursor: pointer;
}
.bnm-apply-card .file-hint { color: #6b7280; font-size: 12px; margin-top: 6px; }

/* Privacy/consent */
.bnm-apply-card .consent, .bnm-apply-card .privacy {
  display: flex; gap: 8px; align-items: flex-start; margin-top: 10px;
}

/* Submit button (old amber style) */
.bnm-apply-card button[type="submit"],
.bnm-apply-card input[type="submit"] {
  display: inline-block;
  margin-top: 18px;
  padding: 14px 22px;
  border: 0;
  border-radius: 8px;
  background: #f59e0b;
  color: #111827;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .05s, filter .15s, opacity .15s;
}
.bnm-apply-card button[type="submit"]:hover,
.bnm-apply-card input[type="submit"]:hover { filter: brightness(.95); }
.bnm-apply-card button[type="submit"]:active,
.bnm-apply-card input[type="submit"]:active { transform: translateY(1px); }
.bnm-apply-card button[disabled],
.bnm-apply-card input[disabled] { background: #fde68a; color: #6b7280; cursor: not-allowed; }

/* Spacing helpers */
.bnm-apply-card .form-row, .bnm-apply-card .field { margin-bottom: 10px; }

/* Tame stray builder notes like “text* / Note” */
.bnm-apply-card .note, .bnm-apply-card .builder-note, .bnm-apply-card .ghost-label {
  color: #6b7280 !important; font-size: 12px !important; margin-top: -6px !important;
}

/* Mobile */
@media (max-width: 480px) {
  .bnm-apply-card { padding: 18px; border-radius: 8px; }
  .bnm-apply-card button[type="submit"],
  .bnm-apply-card input[type="submit"] { width: 100%; text-align: center; }
}
