/* FAA Careers — scoped to #faa-careers */
#faa-careers {
  --fc-gold: #A5886C;
  --fc-brown: #593D27;
  --fc-line: #e3dbd3;
  --fc-soft: #faf7f4;
  --fc-red: #c0392b;
  max-width: 860px;
  margin: 30px auto 10px;
  text-align: right;
  font-family: inherit;
  color: #222;
}
#faa-careers *, #faa-careers *::before, #faa-careers *::after { box-sizing: border-box; }

#faa-careers .fc-q {
  border: 0;
  margin: 0 0 22px;
  padding: 0;
  min-width: 0;
}
#faa-careers .fc-label {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  font-size: 16px;
  font-weight: 600;
  color: #111;
  margin: 0 0 10px;
  padding: 0;
  line-height: 1.6;
}
#faa-careers .fc-num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border-radius: 50%;
  background: var(--fc-gold);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
#faa-careers .fc-req { color: var(--fc-red); }

#faa-careers .fc-input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--fc-line);
  border-radius: 10px;
  background: #fff;
  padding: 0 14px;
  font: inherit;
  font-size: 15px;
  color: #222;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
#faa-careers select.fc-input {
  background-image: linear-gradient(45deg, transparent 50%, #777 50%), linear-gradient(135deg, #777 50%, transparent 50%);
  background-position: 18px 21px, 24px 21px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-left: 40px;
}
#faa-careers .fc-input:focus {
  border-color: var(--fc-gold);
  box-shadow: 0 0 0 3px rgba(165, 136, 108, .18);
}

/* option chips (radio / checkbox) */
#faa-careers .fc-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
#faa-careers .fc-opt {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0;
  cursor: pointer;
  font-weight: 400;
}
#faa-careers .fc-opt input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
#faa-careers .fc-opt span {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--fc-line);
  border-radius: 10px;
  background: #fff;
  font-size: 15px;
  line-height: 1.4;
  color: #333;
  transition: all .2s;
  user-select: none;
}
#faa-careers .fc-opt:hover span { border-color: var(--fc-gold); }
#faa-careers .fc-opt input:focus-visible + span { box-shadow: 0 0 0 3px rgba(165, 136, 108, .3); }
#faa-careers .fc-opt input:checked + span {
  background: var(--fc-gold);
  border-color: var(--fc-gold);
  color: #fff;
}
#faa-careers .fc-q[data-type="checkbox"] .fc-opt input:checked + span::before {
  content: "✓ ";
}

/* phone */
#faa-careers .fc-phone {
  display: flex;
  gap: 8px;
}
#faa-careers .fc-phone .fc-cc { flex: 0 0 110px; text-align: left; }
#faa-careers .fc-phone input { flex: 1 1 auto; text-align: left; }

/* date */
#faa-careers input[type="date"].fc-input { text-align: right; }

/* file */
#faa-careers .fc-file {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px;
  border: 1.5px dashed var(--fc-gold);
  border-radius: 12px;
  background: var(--fc-soft);
  cursor: pointer;
  margin: 0;
  font-weight: 400;
}
#faa-careers .fc-file input { position: absolute; opacity: 0; width: 1px; height: 1px; }
#faa-careers .fc-file-btn {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 8px;
  background: var(--fc-brown);
  color: #fff;
  font-size: 14px;
}
#faa-careers .fc-file-name { font-size: 14px; color: #666; word-break: break-all; }
#faa-careers .fc-file:focus-within { box-shadow: 0 0 0 3px rgba(165, 136, 108, .3); }

/* consent */
#faa-careers .fc-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  line-height: 1.7;
}
#faa-careers .fc-consent input {
  width: 20px;
  height: 20px;
  margin-top: 4px;
  accent-color: var(--fc-gold);
  flex: 0 0 auto;
}
#faa-careers .fc-consent .fc-num { margin-inline-end: 6px; }

/* errors */
#faa-careers .fc-err {
  margin: 6px 0 0;
  min-height: 0;
  font-size: 13px;
  color: var(--fc-red);
}
#faa-careers .fc-err:empty { display: none; }
#faa-careers .fc-invalid .fc-input,
#faa-careers .fc-invalid .fc-opt span,
#faa-careers .fc-invalid .fc-file { border-color: var(--fc-red); }

/* honeypot */
#faa-careers .fc-hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* submit */
#faa-careers .fc-actions { text-align: center; margin-top: 30px; }
#faa-careers .fc-submit {
  min-width: 200px;
  background: var(--fc-gold);
  border: 1px solid var(--fc-gold);
  color: #fff;
  cursor: pointer;
}
#faa-careers .fc-submit:hover { background: var(--fc-brown); border-color: var(--fc-brown); }
#faa-careers .fc-submit[disabled] { opacity: .65; cursor: wait; }
#faa-careers .fc-status { margin: 14px 0 0; font-size: 14px; color: #555; }
#faa-careers .fc-status:empty { display: none; }
#faa-careers .fc-status-err { color: var(--fc-red); }

/* thank you */
#faa-careers .fc-thanks {
  text-align: center;
  padding: 50px 20px;
  border: 1px solid var(--fc-line);
  border-radius: 16px;
  background: var(--fc-soft);
}
#faa-careers .fc-thanks[hidden], #faa-careers .fc-form[hidden] { display: none !important; }
#faa-careers .fc-thanks-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--fc-gold);
  color: #fff;
  font-size: 32px;
  line-height: 64px;
}
#faa-careers .fc-thanks p { font-size: 18px; font-weight: 600; color: var(--fc-brown); margin: 0; }

.fc-admin-note {
  padding: 14px 18px;
  border: 1px dashed #c0392b;
  border-radius: 10px;
  background: #fff6f5;
  margin: 20px 0;
}

@media (max-width: 600px) {
  #faa-careers .fc-label { font-size: 15px; }
  #faa-careers .fc-opt { flex: 1 1 calc(50% - 10px); }
  #faa-careers .fc-opt span { width: 100%; text-align: center; padding: 10px 8px; }
  #faa-careers .fc-phone .fc-cc { flex-basis: 96px; }
}

/* ---------- job postings ---------- */
#faa-careers .fc-jobs { margin: 0 0 40px; }
#faa-careers .fc-jobs-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--fc-brown);
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--fc-gold);
  display: inline-block;
}
#faa-careers .fc-form-title { margin-top: 10px; margin-bottom: 24px; }
#faa-careers .fc-jobs-empty {
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--fc-soft);
  border: 1px solid var(--fc-line);
  color: #555;
  margin: 0;
}
#faa-careers .fc-jobs-list { display: grid; gap: 16px; }
#faa-careers .fc-job {
  border: 1px solid var(--fc-line);
  border-right: 4px solid var(--fc-gold);
  border-radius: 12px;
  padding: 18px 20px;
  background: #fff;
}
#faa-careers .fc-job-title { font-size: 19px; font-weight: 700; color: #111; margin: 0 0 10px; }
#faa-careers .fc-job-meta {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#faa-careers .fc-job-meta li {
  margin: 0;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--fc-soft);
  border: 1px solid var(--fc-line);
  font-size: 13px;
  color: #555;
}
#faa-careers .fc-job-meta li::before { display: none; }
#faa-careers .fc-job-details { margin: 0 0 14px; }
#faa-careers .fc-job-details summary {
  cursor: pointer;
  color: var(--fc-gold);
  font-weight: 600;
  font-size: 14px;
}
#faa-careers .fc-job-body { padding-top: 10px; font-size: 15px; line-height: 1.9; color: #333; }
#faa-careers .fc-apply {
  background: var(--fc-gold);
  border: 1px solid var(--fc-gold);
  color: #fff;
  cursor: pointer;
  min-width: 170px;
}
#faa-careers .fc-apply:hover { background: var(--fc-brown); border-color: var(--fc-brown); }
