/* SCOPE Recruiting forms: the "I am..." drop-down on Let's Talk / Contact Us, form status messages. */

section.talk select.inquiry-type {
  display: block;
  width: 31.5%;
  margin: 0 0 2.2rem;
  padding: 0 30px 24px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23ffffff' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 4px top 6px;
  color: #fff;
  font: 18px/18px gilroy, sans-serif;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  outline: none;
}
section.talk select.inquiry-type option { color: #105383; }
section.talk.white-bg select.inquiry-type {
  color: #105383;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23105383' stroke-width='2'/%3E%3C/svg%3E");
}

section.talk .inquiry-note {
  margin: -1rem 0 2rem;
  padding: 16px 20px;
  border-radius: 12px;
  background: rgb(255 255 255 / 0.12);
  color: #fff;
  font-size: 18px;
  line-height: 1.5;
}
section.talk.white-bg .inquiry-note { background: rgb(16 83 131 / 0.08); color: #105383; }
section.talk .inquiry-note a { color: inherit; font-weight: 700; text-decoration: underline; }
/* While "Looking for a job" is picked, the rest of the form steps aside. */
form.is-job-seeker > :not(.form-group):not(.inquiry-note),
form.is-job-seeker > .form-group ~ .form-group,
form.is-job-seeker .form-group input { display: none !important; }
section.talk .inquiry-note { margin-top: 0; }

/* "By submitting, you agree to our privacy policy." */
section.talk .privacy-line { float: left; margin: 14px 0 0; font-size: 16px; color: #fff; }
section.talk.white-bg .privacy-line { color: #105383; }
section.talk .privacy-line a { color: inherit; text-decoration: underline; }
.cust-modal .privacy-line { margin: 10px 0 16px; font-size: 14px; text-align: center; }

/* Find Talent popup: first and last name side by side. */
.form-name-row { display: flex; gap: 12px; }
.form-name-row .form-control { flex: 1 1 0; min-width: 0; }

@media (max-width: 767px) {
  section.talk select.inquiry-type { width: 100%; }
  section.talk .privacy-line { float: none; margin: 0 0 16px; }
}

.form-status { margin: 0 0 1rem; font-size: 18px; line-height: 1.5; clear: both; }
.form-status:empty { display: none; }
section.talk .form-status { color: #fff; }
section.talk.white-bg .form-status { color: #105383; }
.form-status.is-error { color: #ffb3b3 !important; }
section.talk.white-bg .form-status.is-error, .cust-modal .form-status.is-error { color: #c0392b !important; }
.form-status pre { white-space: pre-wrap; font-size: 12px; margin-top: 8px; }
.form-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Personal-email check: "send anyway" looks like a link. */
.form-status.personal-check a { color: inherit; font-weight: 700; text-decoration: underline; }
.form-status .send-anyway {
  background: none; border: 0; padding: 0; color: inherit; font: inherit; font-weight: 700;
  text-decoration: underline; cursor: pointer;
}
section.talk .form-status.personal-check { padding: 14px 18px; border-radius: 12px; background: rgb(255 255 255 / 0.12); }
section.talk.white-bg .form-status.personal-check, .cust-modal .form-status.personal-check { background: rgb(16 83 131 / 0.08); }
.cust-modal .form-status.personal-check { padding: 12px 14px; border-radius: 10px; color: #105383; font-size: 15px; }

/* Let's Talk: optional attachment (shown for "Looking to hire"). */
section.talk .attach-input { position: absolute !important; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
section.talk .attach-field {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; height: auto; margin: -1rem 0 2.2rem; padding: 0 0 14px; background: none; line-height: 1.3;
  border-bottom: 1px solid currentColor; color: #fff; font: 18px/1.3 gilroy, sans-serif; cursor: pointer;
}
section.talk.white-bg .attach-field { color: #105383; }
section.talk .attach-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
section.talk .attach-btn {
  flex: none; padding: 8px 22px; border-radius: 24px; background: #1ab3b8; color: #fff; font-size: 16px; font-weight: 600;
}
section.talk .attach-row:focus-within .attach-btn { outline: 2px solid #fff; outline-offset: 2px; }

/* Let's Talk: "How did you hear about us?" drop-down, full width under the message (same line style). */
section.talk select.heard-about {
  display: block; width: 100%; margin: -1rem 0 2.2rem; padding: 0 30px 24px 0;
  border: 0; border-bottom: 1px solid currentColor; border-radius: 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23ffffff' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 4px top 6px;
  color: #fff; font: 18px/18px gilroy, sans-serif; -webkit-appearance: none; appearance: none; cursor: pointer; outline: none;
}
section.talk select.heard-about option { color: #105383; }
section.talk.white-bg select.heard-about {
  color: #105383;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23105383' stroke-width='2'/%3E%3C/svg%3E");
}
section.talk .attach-field { margin-top: 0; }
/* Find Talent: the drop-down looks like the popup's other fields. */
.cust-modal select.heard-about-select { height: auto; min-height: 50px; color: #495057; cursor: pointer; }

/* The form grew (drop-down, attachment, messages): keep its bottom clear of the footer logo strip. */
section.talk #contact_form { margin-bottom: 48px; }
@media (max-width: 767px) { section.talk #contact_form { margin-bottom: 24px; } }

/* One type scale for both forms (Friddy, Dec 1):
   Let's Talk: fields 18px, small print (privacy line, notes, messages) 16px.
   Find Talent popup: fields 16px, small print 14px. Same font (Gilroy) and weight everywhere. */
section.talk .form-status,
section.talk .inquiry-note,
section.talk .privacy-line { font-size: 16px !important; line-height: 1.5; }
section.talk .privacy-line { margin-top: 14px; }
.cust-modal .modal-sub-title { font-size: 16px !important; line-height: 1.5; }
.cust-modal .form-control,
.cust-modal select.heard-about-select,
.cust-modal .custom-file-label { font-family: gilroy, sans-serif !important; font-size: 16px !important; font-weight: 400 !important; line-height: 1.4; }
.cust-modal .file_extensions,
.cust-modal .privacy-line,
.cust-modal .form-status { font-family: gilroy, sans-serif; font-size: 14px !important; line-height: 1.5; }
/* Let's Talk drop-downs and attachment line follow the text fields' size at every screen width
   (the site's fields are 21px from 1600px wide, 18px down to 1280px, 16px below). */
@media (min-width: 1600px) { section.talk select.inquiry-type, section.talk select.heard-about, section.talk .attach-field { font-size: 21px; } }
@media (max-width: 1279px) { section.talk select.inquiry-type, section.talk select.heard-about, section.talk .attach-field { font-size: 16px; } }
