.talent-global-search { text-align: left; cursor: pointer; }
.talent-global-search > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.talent-applied-search { display: flex; align-items: center; gap: 14px; color: var(--talent-muted); font-size: 11px; margin: -7px 0 15px; }
.talent-applied-search span { display: inline-flex; align-items: center; gap: 6px; }
.talent-applied-search svg { width: 14px; height: 14px; }
.talent-applied-search button { padding: 0; border: 0; color: var(--talent-blue); background: none; }
.candidate-search-workspace { max-width: 1220px; padding: 22px 30px 40px; margin: 0 auto; }
.candidate-search-breadcrumb { display: flex; align-items: center; gap: 10px; color: var(--talent-muted); font-size: 11px; margin-bottom: 20px; }
.candidate-search-breadcrumb button { display: inline-flex; align-items: center; gap: 4px; border: 0; padding: 0; background: none; color: var(--talent-muted); font-size: 11px; }
.candidate-search-breadcrumb button:hover { color: var(--talent-blue); }
.candidate-search-breadcrumb svg { width: 14px; height: 14px; }
.candidate-search-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.candidate-search-heading h1 { font-size: 27px; font-weight: 750; margin: 3px 0 0; letter-spacing: 0; line-height: 1.3; }
.candidate-search-eyebrow { font-size: 10px; font-weight: 650; color: var(--talent-muted); }
.candidate-search-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 35px; align-items: start; }
.candidate-search-form { min-width: 0; padding: 0 24px; background: var(--surface); border-top: 2px solid var(--talent-blue); }
.candidate-search-section { padding: 23px 0; border-bottom: 1px solid var(--talent-line); }
.candidate-search-field { display: grid; gap: 7px; min-width: 0; }
.candidate-search-field > span, .candidate-keyword-heading > label { font-size: 12px; color: var(--talent-ink); font-weight: 600; }
.candidate-location-picker { position: relative; }
.candidate-location-picker > label { color: var(--talent-ink); font-size: 12px; font-weight: 600; }
.candidate-location-control { border: 1px solid #ccd8e9; border-radius: 4px; background: var(--surface); }
.candidate-location-control:focus-within { outline: 2px solid #8fb8ff; outline-offset: 1px; }
.candidate-location-input-row { display: flex; align-items: center; }
.candidate-location-input-row > input { border: 0 !important; outline: none !important; background: transparent; min-width: 0; flex: 1; }
.candidate-location-expand { display: grid; place-items: center; width: 36px; height: 36px; border: 0; padding: 0; color: var(--talent-muted); background: none; flex-shrink: 0; }
.candidate-location-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 8px 0; }
.candidate-location-tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 5px 3px 8px; border-radius: 4px; font-size: 11px; color: var(--talent-blue); background: var(--talent-soft); max-width: 100%; overflow-wrap: anywhere; }
.candidate-location-tag button { display: grid; place-items: center; flex-shrink: 0; width: 22px; height: 22px; border: 0; color: inherit; background: none; padding: 0; }
.candidate-location-tag svg { width: 12px; height: 12px; }
.candidate-location-dropdown { position: absolute; z-index: 16; left: 0; right: 0; top: calc(100% + 5px); border: 1px solid var(--talent-line); border-radius: 5px; background: var(--surface); box-shadow: 0 6px 18px #10204415; }
.candidate-location-dropdown.opens-up { top: auto; bottom: calc(100% + 5px); }
.candidate-location-list-heading { padding: 9px 12px; border-bottom: 1px solid var(--talent-line); color: var(--talent-muted); font-size: 11px; }
#candidate-location-list { max-height: 240px; overflow-y: auto; overscroll-behavior: contain; }
.candidate-location-option { display: flex; align-items: center; gap: 9px; padding: 9px 12px; font-size: 12px; cursor: pointer; }
.candidate-location-option:hover, .candidate-location-option:focus-within { background: var(--talent-soft); }
.candidate-location-option > span { min-width: 0; overflow-wrap: anywhere; }
.candidate-location-option small { margin-left: auto; font-size: 10px; color: var(--talent-muted); flex-shrink: 0; }
.candidate-location-empty { padding: 12px; color: var(--talent-muted); font-size: 12px; margin: 0; }
.candidate-location-retry { display: flex; align-items: center; gap: 6px; margin: 10px 12px; border: 0; background: none; color: var(--talent-blue); }
body.dark .candidate-location-control { border-color: var(--talent-line); }
.candidate-search-field input, .candidate-search-field select, .candidate-search-form textarea { min-width: 0; width: 100%; min-height: 40px; padding: 10px 12px; color: var(--talent-ink); background: var(--surface); border: 1px solid #ccd8e9; border-radius: 4px; font-size: 12px; line-height: 1.5; }
.candidate-search-form textarea { display: block; resize: vertical; min-height: 64px; max-height: 240px; font-family: inherit; }
.candidate-search-form textarea:focus { outline: 2px solid #8fb8ff; outline-offset: 1px; }
.candidate-search-form textarea::placeholder { color: #7183a4; }
.candidate-keyword-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.candidate-search-two-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.candidate-search-section .candidate-search-two-columns { margin: 18px 0; }
.candidate-search-check { display: flex; align-items: center; gap: 8px; color: var(--talent-muted); font-size: 11px; cursor: pointer; }
.candidate-search-section > .candidate-search-check { margin: 12px 0 0; }
.candidate-boolean-toggle { flex-direction: row-reverse; gap: 9px; white-space: nowrap; }
.candidate-boolean-toggle input[type="checkbox"] { appearance: none; width: 31px; height: 18px; border: none; border-radius: 12px; background: #c8d4e6; position: relative; transition: background .15s; }
.candidate-boolean-toggle input[type="checkbox"]::after { content: ""; display: block; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: white; top: 2px; left: 2px; box-shadow: 0 1px 3px #10204420; transition: transform .15s; }
.candidate-boolean-toggle input[type="checkbox"]:checked { background: var(--talent-blue); }
.candidate-boolean-toggle input[type="checkbox"]:checked::after { transform: translateX(13px); }
.candidate-search-range { min-width: 0; padding: 0; border: 0; margin: 0; }
.candidate-search-range legend { padding: 0; margin-bottom: 8px; color: var(--talent-ink); font-size: 12px; font-weight: 600; }
.candidate-search-range > div { display: grid; grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr); gap: 12px; align-items: end; }
.candidate-search-range .candidate-search-field > span { color: var(--talent-muted); font-size: 10px; font-weight: 400; }
.candidate-range-to { text-align: center; padding-bottom: 11px; color: var(--talent-muted); font-size: 11px; }
.candidate-search-section > .candidate-search-range:first-child { margin-bottom: 22px; }
.candidate-search-expander { border-bottom: 1px solid var(--talent-line); padding: 0; }
.candidate-search-expander > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; min-height: 57px; list-style: none; font-size: 13px; font-weight: 600; }
.candidate-search-expander > summary > span { display: inline-flex; align-items: center; gap: 12px; }
.candidate-search-expander > summary > span > svg { color: #3d7091; }
.candidate-search-expander > summary > svg { color: var(--talent-muted); width: 16px; height: 16px; }
.candidate-search-expander[open] > summary > svg { transform: rotate(180deg); }
.candidate-search-expander > .candidate-search-two-columns, .candidate-search-expander > .candidate-search-range { margin: 0 0 22px; }
.candidate-search-notice { padding: 12px; background: #fff0eb; color: #a53113; border-left: 3px solid #c84b2b; margin: 16px 0 0; font-size: 12px; }
.candidate-search-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; padding: 16px 0; background: var(--surface); border-top: 1px solid var(--talent-line); }
.candidate-search-footer > .candidate-search-field { width: 180px; }
.candidate-search-footer > div { display: flex; align-items: center; gap: 17px; }
.candidate-search-footer .talent-button { min-height: 40px; padding: 10px 22px; }
.candidate-search-footer button:disabled { opacity: .65; cursor: wait; }
.candidate-clear-button { border: 0; background: none; padding: 8px 0; color: var(--talent-muted); font-size: 12px; }
.candidate-clear-button:hover { color: var(--talent-blue); }
.candidate-search-history { position: sticky; top: 90px; min-width: 0; }
.candidate-search-history > section { padding: 0 0 24px; margin-bottom: 24px; border-bottom: 1px solid var(--talent-line); }
.candidate-history-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.candidate-history-heading h2 { font-size: 14px; font-weight: 650; display: flex; align-items: center; gap: 9px; margin: 0; }
.candidate-history-heading h2 svg { color: #426b9e; width: 17px; height: 17px; }
.candidate-history-heading .talent-icon-button { border: 0; background: none; color: var(--talent-muted); width: 26px; height: 26px; }
.candidate-history-heading .talent-icon-button svg { width: 15px; height: 15px; }
.candidate-history-item { position: relative; display: flex; align-items: flex-start; border-bottom: 1px solid var(--talent-line); }
.candidate-history-item:last-child { border-bottom: 0; }
.candidate-history-item > button:first-child { min-width: 0; width: 100%; text-align: left; display: grid; gap: 5px; padding: 11px 25px 11px 0; border: 0; background: none; color: var(--talent-ink); }
.candidate-history-item > button:first-child:hover strong { color: var(--talent-blue); }
.candidate-history-item strong { font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.candidate-history-item span { font-size: 11px; color: var(--talent-muted); overflow-wrap: anywhere; }
.candidate-history-item small { font-size: 10px; color: #7d8da7; }
.candidate-history-delete { display: grid; place-items: center; width: 25px; height: 28px; border: 0; background: none; color: var(--talent-muted); position: absolute; right: 0; top: 7px; }
.candidate-history-delete:hover { color: #be3e22; }
.candidate-history-delete svg { width: 14px; height: 14px; }
.candidate-history-empty { font-size: 12px; color: var(--talent-muted); margin: 15px 0 0; }
.candidate-search-total { display: flex; align-items: center; gap: 10px; color: var(--talent-ink); font-size: 12px; }
.candidate-search-total strong { display: block; font-weight: 600; }
.candidate-search-total small { display: block; color: var(--talent-muted); font-size: 11px; margin-top: 2px; }
body.dark .candidate-search-field input, body.dark .candidate-search-field select, body.dark .candidate-search-form textarea { border-color: var(--talent-line); }
body.dark .candidate-search-notice { background: #402723; color: #ffc6b4; }

@media (max-width: 900px) {
  .candidate-search-workspace { padding: 20px; }
  .candidate-search-layout { grid-template-columns: minmax(0, 1fr) 230px; gap: 20px; }
  .candidate-search-form { padding: 0 18px; }
  .candidate-search-footer { flex-wrap: wrap; }
  .candidate-search-footer > .candidate-search-field { width: 150px; }
  .candidate-search-footer .talent-button { padding: 9px 14px; }
}
@media (max-width: 720px) {
  .candidate-search-workspace { padding: 16px 12px 24px; }
  .candidate-search-breadcrumb { margin-bottom: 16px; }
  .candidate-search-heading { gap: 12px; flex-wrap: wrap; }
  .candidate-search-heading h1 { font-size: 24px; }
  .candidate-search-heading > .talent-button { min-height: 32px; font-size: 11px; padding: 7px 10px; }
  .candidate-search-layout { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .candidate-search-history { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .candidate-search-history > section { margin-bottom: 0; }
  .candidate-search-total { grid-column: 1 / -1; }
  .candidate-search-form { padding: 0 14px; }
  .candidate-search-two-columns { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .candidate-search-section { padding: 20px 0; }
  .candidate-search-check { font-size: 10px; align-items: flex-start; }
  .candidate-boolean-toggle { align-items: center; }
  .candidate-search-range > div { gap: 8px; grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr); }
  .candidate-search-field input, .candidate-search-field select { padding: 9px; }
  .candidate-search-footer { align-items: center; gap: 12px; }
  .candidate-search-footer > .candidate-search-field { width: 100%; grid-template-columns: 75px minmax(0, 1fr); align-items: center; }
  .candidate-search-footer > div { width: 100%; justify-content: space-between; gap: 12px; }
  .candidate-search-footer > div > .talent-button { padding: 9px 14px; min-height: 38px; }
  .candidate-history-heading h2 { font-size: 12px; gap: 5px; }
}
