/* Modern form styling, loaded on every page. Overrides Fluent Forms defaults; markup is unchanged. */
.fluentform{--f-border:#d9dde3;--f-text:#1c2330;--f-muted:#5d6675;--f-radius:10px;--f-primary:var(--primary,#ff5e14);font-family:inherit}
.fluentform .ff-el-group{margin-bottom:16px}
.fluentform .ff-el-input--label label{font-size:14px;font-weight:600;color:var(--f-text);margin-bottom:6px;display:inline-block}
.fluentform .ff-el-is-required.asterisk-right label:after{color:#d63b3b}
body:not(#_):not(#_):not(#_) .fluentform .ff-el-group .ff-el-form-control,.fluentform select.ff-el-form-control,
.fluentform textarea.ff-el-form-control{
  width:100%!important;box-sizing:border-box!important;background:#fff!important;color:var(--f-text)!important;font:inherit!important;font-size:15px!important;line-height:1.4!important;
  padding:13px 16px!important;border:1.5px solid var(--f-border)!important;border-radius:var(--f-radius)!important;
  box-shadow:0 1px 2px rgba(16,24,40,.04)!important;transition:border-color .15s,box-shadow .15s!important;}
.fluentform textarea.ff-el-form-control{min-height:130px;resize:vertical}
.fluentform .ff-el-form-control::placeholder{color:#8a93a1}
.fluentform .ff-el-form-control:hover{border-color:#b9c0cb}
body:not(#_):not(#_):not(#_) .fluentform .ff-el-group .ff-el-form-control:focus{outline:none;border-color:var(--f-primary)!important;box-shadow:0 0 0 4px rgba(255,94,20,.18)!important}
.fluentform .ff-el-is-error .ff-el-form-control{border-color:#d63b3b;box-shadow:0 0 0 4px rgba(214,59,59,.12)}
.fluentform .error.text-danger,.fluentform .ff-el-is-error .error{color:#d63b3b;font-size:13px;margin-top:6px}
.fluentform .ff-t-container{gap:16px}
.fluentform .ff-t-cell{padding:0!important}
.fluentform .ff-el-form-check{margin-bottom:8px}
.fluentform .ff-el-form-check label,.fluentform .ff-el-form-check-label{font-size:15px;font-weight:500;color:var(--f-text);display:flex;align-items:center;gap:10px;cursor:pointer}
.fluentform input[type=checkbox],.fluentform input[type=radio]{width:18px;height:18px;accent-color:var(--f-primary);margin:0}
.fluentform .iti,.fluentform .iti input{width:100%}
.fluentform .ff_submit_btn_wrapper{margin-top:8px}
.fluentform .ff-btn-submit,.fluentform button.ff-btn-submit{
  background:var(--f-primary)!important;color:#fff!important;border:0;border-radius:10px;
  padding:14px 32px;font:inherit;font-size:15px;font-weight:700;letter-spacing:.01em;cursor:pointer;
  box-shadow:0 6px 16px rgba(255,94,20,.28);transition:transform .15s,box-shadow .15s,background .15s}
.fluentform .ff-btn-submit:hover{background:var(--primary-hover,#ff7b3d)!important;transform:translateY(-1px);box-shadow:0 10px 22px rgba(255,94,20,.34)}
.fluentform .ff-btn-submit:focus-visible{outline:3px solid rgba(255,94,20,.4);outline-offset:2px}
.fluentform .ff-btn-submit:active{transform:none}
.fluentform .ff-message-success{background:#ecfdf3;border:1px solid #abefc6;color:#067647;border-radius:var(--f-radius);padding:16px 20px}

/* Header search */
.oxy-header-search_form input[type=search],.oxy-header-search_search-field{
  border-radius:999px!important;border:1.5px solid #d9dde3!important;padding:10px 18px!important;font:inherit;transition:border-color .15s,box-shadow .15s}
.oxy-header-search_search-field:focus{outline:none;border-color:var(--primary,#ff5e14)!important;box-shadow:0 0 0 4px rgba(255,94,20,.18)}

/* Any other plain inputs inside page content (e.g. jobs filter) */
main input[type=text],main input[type=email],main input[type=search],main input[type=tel],main select,main textarea{
  border:1.5px solid #d9dde3;border-radius:10px;padding:11px 14px;font:inherit;background:#fff;transition:border-color .15s,box-shadow .15s}
main input:focus,main select:focus,main textarea:focus{outline:none;border-color:var(--primary,#ff5e14);box-shadow:0 0 0 4px rgba(255,94,20,.18)}

/* Specificity fixes */
body:not(#_):not(#_):not(#_) .fluentform .ff-el-group .ff-el-form-control{border-bottom:1.5px solid var(--f-border)!important}
body:not(#_):not(#_):not(#_) .fluentform .ff-el-group .ff-el-form-control:focus{border-bottom-color:var(--f-primary)!important}
body:not(#_):not(#_):not(#_) .fluentform .ff-el-group .iti input.ff-el-form-control,body:not(#_):not(#_):not(#_) .fluentform .iti input[type=tel]{padding-left:62px!important}
body:not(#_):not(#_):not(#_) .fluentform .iti__flag-container,body:not(#_):not(#_):not(#_) .fluentform .iti__country-container{background:transparent!important}
/* Submit buttons: one orange style on every form */
body:not(#_):not(#_):not(#_):not(#_):not(#_) .fluentform .ff-btn-submit,
body:not(#_):not(#_):not(#_):not(#_):not(#_) .fluentform button.ff-btn.ff-btn-submit{
  background:var(--primary,#ff5e14)!important;background-color:var(--primary,#ff5e14)!important;color:#fff!important;border:0!important;border-radius:10px!important;
  box-shadow:0 6px 16px rgba(255,94,20,.28)!important}
body:not(#_):not(#_):not(#_):not(#_):not(#_) .fluentform .ff-btn-submit:hover{background:var(--primary-hover,#ff7b3d)!important;background-color:var(--primary-hover,#ff7b3d)!important;box-shadow:0 10px 22px rgba(255,94,20,.34)!important}

/* ===================== Pop-up (modal) redesign ===================== */
body:not(#_):not(#_) .oxy-modal-backdrop{background:rgba(11,18,32,.62)!important;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);padding:24px;box-sizing:border-box}
body:not(#_):not(#_) .oxy-modal-backdrop .ct-modal{
  position:relative;box-sizing:border-box;width:min(720px,100%)!important;max-width:100%;max-height:calc(100vh - 48px);overflow-y:auto;
  background:#fff!important;border-radius:22px!important;padding:44px 44px 36px!important;
  box-shadow:0 30px 80px rgba(11,18,32,.45),0 0 0 1px rgba(255,255,255,.08);border:0}
body:not(#_):not(#_) .oxy-modal-backdrop.live .ct-modal{animation:ctModalIn .28s cubic-bezier(.2,.8,.2,1)}
@keyframes ctModalIn{from{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){body .oxy-modal-backdrop.live .ct-modal{animation:none!important}}
body:not(#_):not(#_) .oxy-modal-backdrop .ct-modal>.ct-headline{
  text-align:left!important;padding-left:0!important;margin-left:0!important;color:#101828!important;font-size:28px!important;line-height:1.2!important;font-weight:700!important;margin:0 48px 28px 0!important;position:relative;padding-bottom:16px}
body:not(#_):not(#_) .oxy-modal-backdrop .ct-modal>.ct-headline:after{content:"";position:absolute;left:0;bottom:0;width:40px;height:2px;border-radius:2px;background:var(--primary,#ff5e14)}
/* Close button: round icon button */
body:not(#_):not(#_) .oxy-modal-backdrop .ct-modal a.oxy-close-modal{
  position:absolute!important;top:16px!important;right:16px!important;left:auto!important;bottom:auto!important;width:38px!important;height:38px!important;min-width:0!important;padding:0!important;
  border-radius:50%!important;background:#f2f4f7!important;color:transparent!important;font-size:0!important;line-height:0!important;border:0!important;box-shadow:none!important;
  display:flex!important;align-items:center;justify-content:center;transition:background .15s,transform .15s}
body:not(#_):not(#_) .oxy-modal-backdrop .ct-modal a.oxy-close-modal:before,
body:not(#_):not(#_) .oxy-modal-backdrop .ct-modal a.oxy-close-modal:after{content:"";position:absolute;width:16px;height:2px;border-radius:2px;background:#344054}
body:not(#_):not(#_) .oxy-modal-backdrop .ct-modal a.oxy-close-modal:before{transform:rotate(45deg)}
body:not(#_):not(#_) .oxy-modal-backdrop .ct-modal a.oxy-close-modal:after{transform:rotate(-45deg)}
body:not(#_):not(#_) .oxy-modal-backdrop .ct-modal a.oxy-close-modal:hover{background:#e4e7ec!important;transform:rotate(90deg)}
body:not(#_):not(#_) .oxy-modal-backdrop .ct-modal a.oxy-close-modal+a.oxy-close-modal{display:none!important}
.oxy-modal-backdrop .ct-modal .fluentform .ff-el-group{margin-bottom:18px}
.oxy-modal-backdrop .ct-modal .fluentform .ff-btn-submit{width:100%}
@media (max-width:640px){
  body:not(#_):not(#_) .oxy-modal-backdrop{padding:12px;align-items:flex-end}
  body:not(#_):not(#_) .oxy-modal-backdrop .ct-modal{padding:32px 20px 24px!important;border-radius:20px!important;max-height:calc(100vh - 24px)}
  body:not(#_):not(#_) .oxy-modal-backdrop .ct-modal>.ct-headline{font-size:22px!important}
  .oxy-modal-backdrop .ct-modal .ff-t-container{flex-direction:column;gap:0}
  .oxy-modal-backdrop .ct-modal .ff-t-cell{width:100%!important;flex-basis:auto!important}
}

/* Radio / checkbox groups as selectable pills */
.fluentform .ff-el-input--content:has(.ff-el-form-check){display:flex;flex-wrap:wrap;gap:10px}
.fluentform .ff-el-input--content .ff-el-form-check{margin:0}
.fluentform .ff-el-form-check label{border:1.5px solid var(--f-border);border-radius:999px;padding:9px 18px;background:#fff;transition:border-color .15s,background .15s,box-shadow .15s}
.fluentform .ff-el-form-check label:hover{border-color:#b9c0cb}
.fluentform .ff-el-form-check label:has(input:checked){border-color:var(--f-primary);background:#fff3ec;box-shadow:0 0 0 3px rgba(255,94,20,.14)}
.fluentform .ff-el-form-check label:has(input:focus-visible){outline:3px solid rgba(255,94,20,.4);outline-offset:2px}

/* ===================== Select dropdowns ===================== */
.ffx-select{position:relative;width:100%}
.ffx-select>select{position:absolute!important;opacity:0!important;pointer-events:none!important;height:1px!important;width:1px!important;left:0;bottom:0}
body:not(#_):not(#_) .ffx-trigger{
  display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;box-sizing:border-box;text-align:left;cursor:pointer;
  background:#fff!important;color:var(--f-text,#1c2330)!important;font:inherit;font-size:15px;line-height:1.4;padding:13px 16px!important;
  border:1.5px solid var(--f-border,#d9dde3)!important;border-radius:10px!important;box-shadow:0 1px 2px rgba(16,24,40,.04)!important;transition:border-color .15s,box-shadow .15s}
.ffx-trigger:hover{border-color:#b9c0cb!important}
.ffx-trigger[aria-expanded=true],.ffx-trigger:focus-visible{outline:none;border-color:var(--f-primary,#ff5e14)!important;box-shadow:0 0 0 4px rgba(255,94,20,.18)!important}
.ffx-trigger .ffx-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ffx-trigger .ffx-label.is-placeholder{color:#8a93a1}
.ffx-chev{flex:none;width:18px;height:18px;margin-right:2px;color:#667085;transition:transform .18s}
.ffx-trigger[aria-expanded=true] .ffx-chev{transform:rotate(180deg)}
.ffx-panel{position:fixed;z-index:2147483000;background:#fff;border:1px solid #e4e7ec;border-radius:14px;box-shadow:0 18px 48px rgba(16,24,40,.22);
  padding:8px;box-sizing:border-box;display:flex;flex-direction:column;animation:ffxIn .14s ease-out}
@keyframes ffxIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.ffx-search{position:relative;margin:2px 2px 8px}
.ffx-search input{width:100%;box-sizing:border-box;border:1.5px solid #e4e7ec;border-radius:9px;padding:10px 12px 10px 36px;font:inherit;font-size:14px;background:#f9fafb;color:#1c2330}
.ffx-search input:focus{outline:none;border-color:var(--f-primary,#ff5e14);background:#fff;box-shadow:0 0 0 3px rgba(255,94,20,.15)}
.ffx-search svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:16px;height:16px;color:#98a2b3;pointer-events:none}
.ffx-list{list-style:none;margin:0;padding:0;overflow-y:auto;overscroll-behavior:contain;max-height:260px}
.ffx-opt{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:8px;font-size:15px;line-height:1.35;color:#1c2330;cursor:pointer;margin:0}
.ffx-opt.is-active{background:#fff3ec}
.ffx-opt[aria-selected=true]{font-weight:600;color:#b33900}
.ffx-opt[aria-selected=true]:not(.is-empty):after{content:"\2713";flex:none;font-size:15px;font-weight:700}
.ffx-opt.is-disabled{opacity:.45;cursor:default}
.ffx-empty{padding:14px 12px;color:#667085;font-size:14px}

/* Country picker (Choices.js) gets the same look */
.fluentform .choices{margin:0}
.fluentform .choices__inner{background:#fff!important;border:1.5px solid var(--f-border)!important;border-radius:10px!important;padding:11px 16px!important;min-height:0;font-size:15px}
.fluentform .choices.is-open .choices__inner,.fluentform .choices.is-focused .choices__inner{border-color:var(--f-primary)!important;box-shadow:0 0 0 4px rgba(255,94,20,.18)}
.fluentform .choices[data-type*=select-one]:after{right:18px!important}
.fluentform .choices__list--dropdown,.fluentform .choices__list[aria-expanded]{border:1px solid #e4e7ec!important;border-radius:14px!important;box-shadow:0 18px 48px rgba(16,24,40,.22);margin-top:6px!important;overflow:hidden;z-index:2147483000}
.fluentform .choices__list--dropdown .choices__input{margin:8px;width:calc(100% - 16px);border:1.5px solid #e4e7ec!important;border-radius:9px;padding:10px 12px;background:#f9fafb}
.fluentform .choices__list--dropdown .choices__item{padding:10px 16px}
.fluentform .choices__list--dropdown .choices__item--selectable.is-highlighted{background:#fff3ec}

/* Forms always fill their container */
.ct-shortcode:has(.fluentform),.ct-shortcode>.fluentform,.fluentform,.fluentform form.frm-fluent-form{width:100%;max-width:100%;box-sizing:border-box;align-self:stretch}


/* ===== Refined framing (replaces thick coloured borders) ===== */
/* Home video: soft rounded frame instead of a 3px orange border */
body:not(#_):not(#_) #-pro-media-player-319-6{border:0!important;border-radius:18px!important;overflow:hidden;
  box-shadow:0 24px 60px rgba(16,24,40,.22),0 0 0 1px rgba(16,24,40,.06)}
/* Phone flag dropdown: chevron instead of triangle */
.iti__arrow{border:0!important;width:6px;height:6px;margin-left:6px;border-right:1.8px solid #667085!important;border-bottom:1.8px solid #667085!important;transform:rotate(45deg);margin-top:-3px}
.iti__arrow--up{transform:rotate(-135deg);margin-top:3px}

/* Popups: form content lines up with the heading's left edge */
body:not(#_):not(#_) .oxy-modal-backdrop .ct-modal .ct-shortcode,
body:not(#_):not(#_) .oxy-modal-backdrop .ct-modal .ct-shortcode>.fluentform,
body:not(#_):not(#_) .oxy-modal-backdrop .ct-modal .fluentform_wrapper,
body:not(#_):not(#_) .oxy-modal-backdrop .ct-modal form.frm-fluent-form{margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box}

/* auto-filled enrollment summary */
.pc-autofill-note{margin:0 0 14px;padding:10px 14px;border-radius:10px;background:#f6f8fb;color:#1f2a37;font-size:14px;font-weight:600;line-height:1.4}
/* modal open: keep the page visible behind the backdrop (body is position:fixed with a negative top) */
html body.oxy-modal-active{overflow:visible!important;height:auto!important;min-height:0!important}
/* popups above the sticky header so the close button stays tappable on phones */
html body .oxy-modal-backdrop{z-index:10050!important}
