/* ============================================================
   Admin-only CSS — scoped strictly to .sc-site-admin body
   Only status badges + column search row + date-of-joining field
   ============================================================ */

/* Allow header text to wrap on explicit <br> but not on spaces */
table.sc-table thead tr:first-child th {
    white-space: normal;
    word-break: keep-all;
    vertical-align: bottom;
    line-height: 1.3;
}

/* ── Column search row ── */
.sc-col-search-row th {
    padding: 5px 8px !important;
    background: #f8f9fa;
    white-space: normal !important;
}
.sc-col-search {
    font-size: .78rem !important;
    padding: .25rem .45rem !important;
    border-radius: 6px !important;
    min-width: 50px;
}

/* ── Date of Joining field highlight ── */
#dateOfJoiningWrap .form-control {
    border-color: #6ee7b7;
    background: #f0fdf4;
}

/* ============================================================
   Status colour badges — sc-status-{slug}
   ============================================================ */
.sc-status-badge {
    font-size: .78rem;
    font-weight: 700;
    padding: .30em .60em;
    border-radius: 999px;
    letter-spacing: .02em;
    border: 1px solid transparent;
    white-space: nowrap;
}

/* PENDING — slate blue */
.sc-status-pending {
    background: #e8eef8;
    color: #2c4a8a;
    border-color: #c5d3ee;
}

/* IN_PROCESS — blue */
.sc-status-in-process {
    background: #dbeafe;
    color: #1e40af;
    border-color: #93c5fd;
}

/* INTERVIEW_SCHEDULED — indigo/purple */
.sc-status-interview-scheduled {
    background: #ede9fe;
    color: #4c1d95;
    border-color: #c4b5fd;
}

/* NO_SHOW — amber */
.sc-status-no-show {
    background: #fef3c7;
    color: #78350f;
    border-color: #fcd34d;
}

/* ON_HOLD — orange */
.sc-status-on-hold {
    background: #fff7ed;
    color: #c2410c;
    border-color: #fdba74;
}

/* SELECTED — green */
.sc-status-selected {
    background: #dcfce7;
    color: #14532d;
    border-color: #86efac;
}

/* REJECTED — red */
.sc-status-rejected {
    background: #fee2e2;
    color: #7f1d1d;
    border-color: #fca5a5;
}

/* OFFER_REJECTED — deep rose */
.sc-status-offer-rejected {
    background: #ffe4e6;
    color: #881337;
    border-color: #fda4af;
}

/* ON_BOARDED — dark green */
.sc-status-on-boarded {
    background: #d1fae5;
    color: #064e3b;
    border-color: #6ee7b7;
}
