/* ── Sidebar compact sub-items ────────────────────── */
.nav-group-items.compact .nav-link {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
    font-size: 0.875rem;
}

/* ── Notification dropdown ────────────────────────── */
#notification-list .notification-item {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--cui-border-color, #e9ecef);
    white-space: normal;
}
#notification-list .notification-item:last-child {
    border-bottom: none;
}
#notification-list .notification-item:hover {
    background-color: var(--cui-tertiary-bg, #f8f9fa);
}

/* ── Active nav highlight ─────────────────────────── */
.sidebar-nav .nav-link.active {
    font-weight: 600;
}

/* ── Breadcrumb style ─────────────────────────────── */
.breadcrumb {
    font-size: 0.875rem;
}

/* ── Page header utility ──────────────────────────── */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.page-header h4 {
    margin-bottom: 0;
}

/* ── DataTable-like empty state ───────────────────── */
.table-empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--cui-secondary-color, #6c757d);
}

/* ── Status badges ────────────────────────────────── */
.badge-status-active    { background-color: #2eb85c !important; }
.badge-status-enrolled  { background-color: #3399ff !important; }
.badge-status-pending   { background-color: #f9b115 !important; color: #000 !important; }
.badge-status-approved  { background-color: #2eb85c !important; }
.badge-status-rejected  { background-color: #e55353 !important; }
.badge-status-cancelled { background-color: #636f83 !important; }
.badge-status-expired   { background-color: #9da5b1 !important; }
.badge-status-pass      { background-color: #2eb85c !important; }
.badge-status-fail      { background-color: #e55353 !important; }

/* ── Card stat widget (dashboard) ─────────────────── */
.stat-card .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}
.stat-card .stat-label {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--cui-secondary-color, #6c757d);
}

/* ── Loading spinner overlay ──────────────────────── */
.spinner-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: inherit;
}
.spinner-overlay .spinner-border {
    width: 2rem;
    height: 2rem;
}
