/* ============================================================
   MANPOWER SCHEDULE ASSISTANT — results styling
   ------------------------------------------------------------
   Defines the classes emitted by js/manpower-assistant.js in
   runSearch(): badge-avail, badge-busy, badge-division,
   slot-container, slot, slot-label, slot-status,
   status-free, status-busy, text-highlight.

   None of these were defined in core.css or manpower-sched.css,
   which is why the assistant results rendered as flat white text.
   All rules are scoped under #assist-results to avoid colliding
   with the admin grid's .status-* classes in manpower-sched.css.
   ============================================================ */

/* --- Tech name cell --- */
#assist-results .text-highlight    { color: var(--text-main); }
#assist-results .text-highlight b  { color: var(--text-main); }

/* --- STATUS column pills --- */
#assist-results .badge-avail,
#assist-results .badge-busy {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: bold;
    white-space: nowrap;
    border: 1px solid transparent;
}
#assist-results .badge-avail {
    background: rgba(0, 255, 136, 0.15);
    color: var(--success-color);
    border-color: rgba(0, 255, 136, 0.45);
}
#assist-results .badge-busy {
    background: rgba(255, 51, 68, 0.15);
    color: var(--danger-color);
    border-color: rgba(255, 51, 68, 0.45);
}

/* --- DIVISION cell (understated, matches internal view) --- */
#assist-results .badge-division {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9em;
}

/* --- DETAILS column: one row per scheduled day --- */
#assist-results .slot-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
#assist-results .slot {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
#assist-results .slot-label {
    flex-shrink: 0;
    font-weight: 700;
    font-size: 0.8em;
    letter-spacing: 0.5px;
    color: var(--accent-color);
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.25);
    padding: 2px 8px;
    border-radius: 4px;
}
#assist-results .slot-status {
    color: var(--text-muted);
    font-size: 0.9em;
}

/* Free = green, Busy job assignment = red */
#assist-results .status-free { color: var(--success-color); font-weight: 600; }
#assist-results .status-busy { color: var(--danger-color);  font-weight: 600; }
