/* ── Sidebar card ─────────────────────────────────────────────────────────── */
.ss-sidebar-card {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    background: #fff;
}

/* ── Avatar ──────────────────────────────────────────────────────────────── */
.ss-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4154f1, #7c8ff8);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ss-avatar-sm {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── Info rows in sidebar ─────────────────────────────────────────────────── */
.ss-info-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ss-info-item label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.ss-info-item .val {
    font-size: 0.88rem;
    color: #1e293b;
    font-weight: 500;
}

/* ── Section cards ────────────────────────────────────────────────────────── */
.ss-section-card {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    background: #fff;
    margin-bottom: 14px;
}

.ss-section-card .card-body {
    padding: 18px 20px;
}

/* ── Table ────────────────────────────────────────────────────────────────── */
.ss-table thead th {
    font-size: .76rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: .03em;
    text-transform: uppercase;
    border-bottom: 1px solid #e2e8f0;
    padding: 8px 10px;
}

.ss-table td {
    font-size: .87rem;
    padding: 9px 10px;
    border-color: #f1f5f9;
    vertical-align: middle;
}

.ss-table tbody tr:hover {
    background: #f8fafc;
}

/* ── Summary boxes ────────────────────────────────────────────────────────── */
.ss-summary-box {
    border-radius: 8px;
    padding: 12px 10px;
    text-align: center;
}

.ss-summary-label {
    font-size: .72rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.ss-summary-value {
    font-size: 1rem;
    font-weight: 700;
    margin-top: 2px;
}

/* ── Department salary input ──────────────────────────────────────────────── */
.dept-salary-input {
    max-width: 200px;
}

.dept-badge {
    display: inline-block;
    background: #eef2ff;
    color: #4154f1;
    border-radius: 5px;
    padding: 2px 10px;
    font-size: .78rem;
    font-weight: 600;
}

/* ── Workflow section ─────────────────────────────────────────────────────── */
.ss-workflow-group {
    flex: 1;
    min-width: 180px;
}

.ss-workflow-label {
    font-size: .78rem;
    font-weight: 700;
    color: #475569;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.ss-workflow-divider {
    width: 1px;
    background: #e2e8f0;
    align-self: stretch;
    margin: 0 4px;
}

.ss-wf-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 600;
    border: 1px solid currentColor;
}

.ss-wf-empty {
    font-size: .8rem;
    color: #94a3b8;
    font-style: italic;
}

/* ── Stat cards (overview) ────────────────────────────────────────────────── */
.ss-stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}

.ss-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.ss-stat-label {
    font-size: .72rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.ss-stat-value {
    font-weight: 700;
    color: #1e293b;
    margin-top: 2px;
}

/* ── Small avatar (table rows) ────────────────────────────────────────────── */
.ss-avatar-sm {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
