/* ═══ Talent forms in four steps (forms-steps.js) ═══ */
/* only the parts of the current step show */
.fs-form[data-fs-on="0"] > [data-fs-step]:not([data-fs-step="0"]),
.fs-form[data-fs-on="1"] > [data-fs-step]:not([data-fs-step="1"]),
.fs-form[data-fs-on="2"] > [data-fs-step]:not([data-fs-step="2"]),
.fs-form[data-fs-on="3"] > [data-fs-step]:not([data-fs-step="3"]) { display: none !important; }
/* the first section heading of each step is replaced by the step heading */
.fs-form .se-sec.fp-step .fp-step-n { display: none !important; }
.fs-form > .se-sec.fs-sec-first { display: none !important; }

/* progress bar */
.fs-bar { display: flex; gap: 8px; padding: 12px 28px 4px; flex: none; }
.fs-admin .fs-bar { padding-left: 0; padding-right: 0; margin-bottom: 14px; }
.fs-bar-step { flex: 1; min-width: 0; display: grid; gap: 7px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; font: inherit; }
.fs-bar-step i { display: block; height: 4px; border-radius: 9px; background: rgba(255,255,255,.1); transition: background .25s; }
.fs-bar-step span { font-size: .74rem; font-weight: 700; color: rgba(255,255,255,.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s; }
.fs-bar-step.done i { background: #c8102e; }
.fs-bar-step.on i { background: linear-gradient(90deg, #c8102e, #ff3a5c); box-shadow: 0 0 10px rgba(255,58,92,.45); }
.fs-bar-step.on span { color: #fff; }
.fs-bar-step.done span { color: rgba(255,255,255,.75); }
.fs-bar-step:focus-visible { outline: 2px solid var(--red-bright, #ff3a5c); outline-offset: 4px; border-radius: 6px; }

/* step heading */
.fs-head { margin: 0 0 18px; }
.fs-head-n { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red-bright, #ff3a5c); margin-bottom: 6px; }
.fs-head h4 { margin: 0; font-size: 1.25rem; font-weight: 800; color: #fff; letter-spacing: -.01em; }
.fs-head p { margin: 4px 0 0; font-size: .86rem; color: rgba(255,255,255,.6); }
.fs-form .se-sec.fp-step { margin-top: 26px !important; padding-top: 18px !important; font-size: .95rem !important; }

/* footer: Back on the left, Next or the send button on the right */
.fs-foot { display: flex !important; align-items: center; gap: 10px; }
.fs-foot .fs-back { margin-right: auto; display: inline-flex; align-items: center; gap: 7px; }
.fs-foot .fs-next { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
.fs-foot > .btn-ghost:not(.fs-back) { margin-right: auto; }
.fs-foot .fs-next, .fs-foot #submitTalentBtn, .fs-foot #publishNomineeBtn { min-width: 180px; justify-content: center; }

/* category: a plain dropdown in every publish form (event, talent, admin), quicker than tiles */
.fs .fp-tiles, #suggestEventOverlay .fp-tiles, #tab-event .fp-tiles, #tab-media .fp-tiles { display: none !important; }
#seCat.fp-hidden, #fCat.fp-hidden, #mCat.fp-hidden { position: static !important; width: 100% !important; height: auto !important; min-height: 46px; overflow: visible !important;
  clip: auto !important; opacity: 1 !important; pointer-events: auto !important; margin: 0 !important; }
#suggestEventOverlay .field.fp-full, #tab-event .field.fp-full, #tab-media .field.fp-full { max-width: 420px; }
.fs #tnCat.fp-hidden, .fs #anCat.fp-hidden { position: static !important; width: 100% !important; height: auto !important; min-height: 46px; overflow: visible !important;
  clip: auto !important; opacity: 1 !important; pointer-events: auto !important; margin: 0 !important; }
.fs .field.fp-full { max-width: 420px; }

/* the website field gets the full width when the other links are tucked away */
.fs-form .field:has(#tnWebsite), .fs-form .field:has(#anWebsite) { grid-column: 1 / -1; }
.fs-form .form-row-3:has(#tnWebsite) { grid-template-columns: 1fr !important; }

/* "Have a CV or press kit?": one slim line, a shortcut rather than the main way in */
.se-form .tn-doc-upload-card.se-fill-bar, .se-fill-bar .tn-doc-upload-card { flex-wrap: nowrap !important; gap: 12px !important; padding: 10px 12px 10px 14px !important; margin: 4px 0 18px !important;
  border: 1px solid rgba(255,255,255,.09) !important; border-radius: 14px !important; background: rgba(255,255,255,.03) !important; }
.se-fill-bar .tn-doc-upload-icon .ic, .se-fill-bar .tn-doc-upload-icon svg { width: 20px !important; height: 20px !important; color: var(--red-bright, #ff3a5c); }
.se-fill-bar .tn-doc-upload-text { flex-direction: row !important; flex-wrap: wrap; align-items: baseline; gap: 2px 6px !important; min-width: 0 !important; }
.se-fill-bar .tn-doc-upload-text strong { font-size: .85rem !important; }
.se-fill-bar .tn-doc-upload-text span { font-size: .8rem !important; }
.se-fill-bar .tn-doc-upload-btn { padding: 0 16px !important; height: 34px; color: var(--text-1, #fff) !important; background: transparent !important; border: 1px solid rgba(255,255,255,.18) !important; }
.se-fill-bar .tn-doc-upload-btn:hover { border-color: rgba(255,110,130,.7) !important; color: #fff !important; }
[data-theme="light"] .se-fill-bar .tn-doc-upload-card { background: #fff !important; border-color: rgba(0,0,0,.1) !important; }
[data-theme="light"] .se-fill-bar .tn-doc-upload-btn { color: #18090c !important; border-color: rgba(0,0,0,.18) !important; }

/* compact photo upload */
.fs-photo.drop-zone { display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: flex-start !important; gap: 18px !important;
  min-height: 0 !important; height: auto !important; padding: 16px !important; text-align: left !important; border-radius: 16px !important;
  border: 1px solid rgba(255,255,255,.1) !important; background: rgba(255,255,255,.035) !important; cursor: pointer; }
.fs-photo.drop-zone:hover, .fs-photo.drop-zone.hi { border-color: rgba(255,110,130,.6) !important; background: rgba(200,16,46,.07) !important; }
.fs-photo > .fs-old { display: none !important; }
.fs-photo input[type=file] { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none; }
.fs-photo-spot { width: 92px; height: 92px; flex: none; display: grid; place-items: center; border-radius: 50%; overflow: hidden; color: #ff3a5c;
  border: 1.5px dashed rgba(255,110,130,.55); background: radial-gradient(circle, rgba(200,16,46,.18), transparent 70%); }
.fs-photo-spot.has { border: 2px solid rgba(255,110,130,.8); box-shadow: 0 0 0 4px rgba(200,16,46,.15); }
.fs-photo-spot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fs-photo-tx { display: grid; gap: 4px; min-width: 0; }
.fs-photo-tx b { font-size: .95rem; color: #fff; }
.fs-photo-tx small { font-size: .78rem; color: rgba(255,255,255,.6); line-height: 1.4; }
.fs-photo-btn { display: inline-flex; align-items: center; gap: 7px; width: fit-content; height: 38px; margin-top: 6px; padding: 0 16px; border-radius: 999px;
  color: #fff; font-size: .82rem; font-weight: 700; background: linear-gradient(135deg, rgba(255,58,92,.82), rgba(200,16,46,.68));
  border: 1px solid rgba(255,110,130,.75); box-shadow: 0 5px 14px rgba(200,16,46,.3), inset 0 1px 0 rgba(255,255,255,.24); }
.fs-photo-prev { display: none !important; }
/* photos of their work: a neat row of small squares */
.fs .emg-grid { grid-template-columns: repeat(auto-fill, 78px) !important; gap: 10px !important; }
.fs .emg-tile { width: 78px; }
.fs .fv2-rights { margin-top: 14px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.04); font-size: .76rem; }

/* light theme */
[data-theme="light"] .fs-bar-step i { background: rgba(0,0,0,.1); }
[data-theme="light"] .fs-bar-step span { color: rgba(0,0,0,.45); }
[data-theme="light"] .fs-bar-step.on span, [data-theme="light"] .fs-head h4, [data-theme="light"] .fs-photo-tx b { color: #18090c; }
[data-theme="light"] .fs-bar-step.done span { color: rgba(0,0,0,.65); }
[data-theme="light"] .fs-head p, [data-theme="light"] .fs-photo-tx small { color: #8a5560; }
[data-theme="light"] .fs-photo.drop-zone { background: #fff !important; border-color: rgba(200,16,46,.2) !important; }
[data-theme="light"] .fs-photo-btn { background: linear-gradient(135deg, #e3264a, #c8102e); border-color: #c8102e; }

@media (max-width: 600px) {
  .fs-bar { padding: 10px 16px 2px; gap: 5px; }
  .fs-bar-step span { font-size: 0; }
  .fs-bar-step.on span { font-size: .72rem; }
  .fs-foot .fs-next, .fs-foot #submitTalentBtn, .fs-foot #publishNomineeBtn { min-width: 0; flex: 1; }
  .fs-photo-spot { width: 76px; height: 76px; }
}

/* "Other" category: the box appears right under the dropdown */
.fs-cat-other{display:block;width:100%;margin-top:8px;padding:11px 13px;border-radius:12px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.04);color:inherit;font:inherit;font-size:14px;box-sizing:border-box;outline:none}
.fs-cat-other:focus{border-color:rgba(200,16,46,.7);box-shadow:0 0 0 3px rgba(200,16,46,.18)}
.fs-cat-other[hidden]{display:none}
html[data-theme="light"] .fs-cat-other,body.light .fs-cat-other{border-color:rgba(0,0,0,.14);background:#fff}

/* admin Publish nominee: the step bar sits above the form and preview, lined up with the page */
#adminOverlay #tab-nominee > .fs-bar { max-width: 1120px; width: 100%; box-sizing: border-box; margin: 4px auto 14px; padding: 8px 24px 0; }
.fp-adm-grid > .fs-bar { grid-column: 1 / -1; }
/* Publish shows only on the last step, Next only before it */
.fs-hide, button.fs-hide, #adminOverlay .fs-hide,
#adminOverlay .publish-footer .btn.fs-hide, #adminOverlay .fs-foot .btn.fs-hide, #adminOverlay .publish-footer button.fs-hide { display: none !important; }
