/* Recruiters (recruiters.js) */
:root { --rc-ok: #22c55e; --rc-ok-bg: rgba(34,197,94,.13); --rc-teal: #2dd4bf; --rc-line: var(--border, rgba(255,255,255,.1)); }
.rc-tbox[hidden], .rc-sheet [hidden] { display: none !important; }

/* Open to: chips on profiles, cards and lists */
.rc-open-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--rc-ok-bg); border: 1px solid rgba(34,197,94,.35); color: #86efac; font: 600 .74rem/1 var(--font-body, Inter, sans-serif); white-space: nowrap; }
.rc-open-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--rc-ok); box-shadow: 0 0 0 3px rgba(34,197,94,.18); }
.rc-open-list { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.rc-tbox { margin: 0 0 14px; }
.rc-open { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
.rc-open-l { font: 700 .72rem/1 var(--font-body, Inter, sans-serif); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.rc-link { background: none; border: 0; padding: 4px 2px; color: var(--muted); font: 600 .78rem/1 var(--font-body, Inter, sans-serif); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.rc-link:hover { color: var(--red-bright, #ff3a5c); }
.rc-danger:hover { color: #ff6b6b; }
.rc-open-ask { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 14px; cursor: pointer; text-align: left;
  border: 1px dashed rgba(34,197,94,.45); background: rgba(34,197,94,.06); color: var(--text-1); font-family: var(--font-body, Inter, sans-serif); }
.rc-open-ask > svg, .rc-open-ask > .phx { flex-shrink: 0; color: var(--rc-ok); font-size: 18px; }
.rc-open-ask span { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.rc-open-ask b { font-size: .88rem; }
.rc-open-ask small { font-size: .78rem; color: var(--muted); line-height: 1.35; }
.rc-open-ask em { font-style: normal; font-weight: 700; font-size: .78rem; color: var(--rc-ok); white-space: nowrap; }
.rc-open-ask:hover { border-style: solid; }

/* Save button on the profile */
.rc-save-btn.on { color: var(--red-bright, #ff3a5c); border-color: rgba(255,58,92,.55); }

/* talent card badge */
.talent-open-badge { position: absolute; top: 10px; right: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 999px; background: rgba(10,30,18,.78); border: 1px solid rgba(34,197,94,.5); color: #86efac; font: 700 .66rem/1.1 var(--font-body, Inter, sans-serif); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.talent-open-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--rc-ok); }

/* grid tools */
.rc-filter-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 10px; width: 100%; }
.rc-filter-row > * { margin: 0 !important; width: auto !important; flex: 0 0 auto; }
.rc-filter-row .tp-avail-toggle { min-height: 40px; }
.rc-filter-row .rc-tools-btn { margin-left: auto !important; }
.rc-open-toggle, .rc-tools-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 0 16px; margin-top: 10px; border-radius: 999px; cursor: pointer;
  color: var(--text-1); font: 700 .82rem/1 var(--font-body, Inter, sans-serif); background: var(--glass-bg2, rgba(255,255,255,.06)); border: 1px solid var(--rc-line); white-space: nowrap; transition: background .16s, border-color .16s, color .16s; }
.rc-open-toggle svg, .rc-open-toggle .phx { color: var(--rc-ok); }
.rc-open-toggle:hover { border-color: rgba(34,197,94,.6); }
.rc-open-toggle.on { color: #fff; background: linear-gradient(135deg, rgba(34,197,94,.55), rgba(21,128,61,.5)); border-color: rgba(134,239,172,.7); box-shadow: 0 5px 14px rgba(34,197,94,.22), inset 0 1px 0 rgba(255,255,255,.2); }
.rc-open-toggle.on svg, .rc-open-toggle.on .phx { color: #fff; }
.rc-tools-btn svg, .rc-tools-btn .phx { color: var(--red-bright, #ff3a5c); }
.rc-tools-btn:hover { border-color: rgba(255,110,130,.6); }
.rc-open-toggle:focus-visible, .rc-tools-btn:focus-visible { outline: 2px solid var(--red-bright, #ff3a5c); outline-offset: 2px; }

/* sheets */
.rc-p { margin: 0 0 14px; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.rc-opts, .rc-pick { display: flex; flex-direction: column; gap: 8px; }
.rc-opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--rc-line); cursor: pointer; transition: border-color .15s, background .15s; }
.rc-opt:hover { border-color: rgba(255,110,130,.5); }
.rc-opt:has(input:checked) { border-color: rgba(255,58,92,.65); background: rgba(200,16,46,.09); }
.rc-opt input { width: 18px; height: 18px; accent-color: #C8102E; margin: 0; flex-shrink: 0; }
.rc-opt span { flex: 1; font-weight: 600; font-size: .88rem; }
.rc-opt small { color: var(--muted); font-size: .76rem; }
.rc-new { display: flex; gap: 8px; margin-top: 12px; }
.rc-new input { flex: 1; min-width: 0; padding: 10px 13px; border-radius: 10px; border: 1px solid var(--rc-line); background: rgba(255,255,255,.04); color: inherit; font: inherit; font-size: .86rem; outline: none; }
.rc-new input:focus, .rc-apply input:focus, .rc-apply textarea:focus { border-color: rgba(200,16,46,.7); box-shadow: 0 0 0 3px rgba(200,16,46,.18); }
.rc-foot { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.rc-foot .tp-btn-q { margin-right: auto; }

.rc-status { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--rc-line); background: rgba(255,255,255,.03); }
.rc-status > svg, .rc-status > .phx { flex-shrink: 0; color: var(--red-bright, #ff3a5c); width: 20px; height: 20px; font-size: 20px; }
.rc-status div { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.rc-status b { font-size: .92rem; }
.rc-status span { color: var(--muted); font-size: .8rem; line-height: 1.45; }
.rc-status.is-ok { border-color: rgba(45,212,191,.45); background: rgba(45,212,191,.07); }
.rc-status.is-ok > svg, .rc-status.is-ok > .phx { color: var(--rc-teal); }
.rc-status.is-wait > i { width: 10px; height: 10px; border-radius: 50%; background: #f4b000; box-shadow: 0 0 0 4px rgba(244,176,0,.18); flex-shrink: 0; }

.rc-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 4px; }
.rc-how span { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.03); color: var(--muted); font-size: .76rem; line-height: 1.4; }
.rc-how b { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(200,16,46,.18); color: #ff8a9c; font-size: .72rem; }
.rc-how i { font-style: normal; }
.rc-how em { font-style: normal; color: var(--text-1); font-weight: 600; }

.rc-sec { margin-top: 18px; }
.rc-sec h4 { margin: 0 0 10px; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.rc-lists, .rc-items, .rc-admin-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.rc-list { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--rc-line); }
.rc-list-main, .rc-item-main { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; background: none; border: 0; padding: 0; color: inherit; text-align: left; cursor: pointer; font-family: inherit; }
.rc-list-main b, .rc-item-main b { font-size: .9rem; display: inline-flex; align-items: center; gap: 5px; }
.rc-list-main small, .rc-item-main small { color: var(--muted); font-size: .76rem; }
.rc-list-main:hover b, .rc-item-main:hover b { color: var(--red-bright, #ff3a5c); }
.rc-list-acts { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.rc-ren { flex: 1; margin: 0; }
.rc-empty { color: var(--muted); font-size: .84rem; padding: 10px 0; list-style: none; }
.rc-back { background: none; border: 0; padding: 0 0 12px; color: var(--muted); font: 600 .82rem/1 var(--font-body, Inter, sans-serif); cursor: pointer; }
.rc-back:hover { color: var(--red-bright, #ff3a5c); }

.rc-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--rc-line); }
.rc-item .rc-open-list { margin-top: 4px; }
.rc-face { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.rc-face-i { display: grid; place-items: center; background: linear-gradient(135deg, #3a1018, #1d0b10); color: #ff8a9c; font-weight: 700; font-size: .85rem; }
.rc-vid { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; color: #ff8a9c; font-weight: 600; }

.rc-apply { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 14px; border: 1px solid rgba(200,16,46,.35); background: rgba(200,16,46,.05); }
.rc-apply h4 { margin: 0; font-size: .95rem; }
.rc-apply label { display: flex; flex-direction: column; gap: 6px; font-size: .78rem; font-weight: 600; }
.rc-apply label i { font-style: normal; font-weight: 400; color: var(--muted); }
.rc-apply input, .rc-apply textarea { padding: 10px 13px; border-radius: 10px; border: 1px solid var(--rc-line); background: rgba(255,255,255,.04); color: inherit; font: inherit; font-size: .86rem; outline: none; resize: vertical; }
.rc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rc-apply .rc-foot { margin-top: 0; }

/* admin */
.rc-admin { margin: 0 0 18px; padding: 16px; border-radius: 14px; border: 1px solid var(--rc-line); background: rgba(255,255,255,.02); }
.rc-admin:empty { display: none; }
.rc-admin-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.rc-admin-head h4 { margin: 0; font-size: .95rem; }
.rc-admin-head span { color: var(--muted); font-size: .78rem; }
.rc-admin-list li { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; border: 1px solid var(--rc-line); }
.rc-admin-list li > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; font-size: .84rem; }
.rc-admin-list small, .rc-admin-list span { color: var(--muted); font-size: .78rem; }
.rc-admin-list em { color: var(--text-1); font-size: .8rem; opacity: .85; }
.rc-admin-list a { color: #ff8a9c; }
.rc-admin-acts { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.rc-tag { display: inline-flex; align-items: center; gap: 5px; color: var(--rc-teal) !important; font-weight: 700; }

/* account badge for verified recruiters */
.acct-badge-recruiter { background: linear-gradient(135deg, rgba(45,212,191,.24) 0%, rgba(13,148,136,.18) 100%); border: 1px solid rgba(45,212,191,.6); color: #99f6e4; box-shadow: 0 0 10px rgba(45,212,191,.25), inset 0 1px 0 rgba(255,255,255,.1); }

/* light theme */
[data-theme="light"] .rc-open-chip, [data-theme="light"] .talent-open-badge { color: #15803d; background: rgba(34,197,94,.12); }
[data-theme="light"] .talent-open-badge { background: rgba(255,255,255,.92); }
[data-theme="light"] .rc-new input, [data-theme="light"] .rc-apply input, [data-theme="light"] .rc-apply textarea { background: #fff; border-color: rgba(0,0,0,.14); }
[data-theme="light"] .rc-how span, [data-theme="light"] .rc-status { background: rgba(0,0,0,.025); }
[data-theme="light"] .acct-badge-recruiter { color: #0f766e; }

/* phones */
@media (max-width: 640px) {
  .rc-how { grid-template-columns: 1fr; }
  .rc-grid { grid-template-columns: 1fr; }
  .rc-list { flex-direction: column; align-items: stretch; }
  .rc-list-acts { justify-content: flex-start; }
  .rc-status { flex-wrap: wrap; }
  .rc-status .tp-btn { width: 100%; }
  .rc-admin-list li { flex-direction: column; align-items: stretch; }
  .rc-filter-row .rc-tools-btn { margin-left: 0 !important; }
  .rc-filter-row > * { flex: 1 1 auto; }
  .rc-foot .tp-btn { flex: 1; }
}
