﻿/* ============================================================
   iBM Online â€“ InApp-style Admin Layout
   Bootstrap 5.3 + Inter font
   ============================================================ */

:root {
    --ibm-primary:       #4f46e5;
    --ibm-primary-dark:  #312e81;
    --ibm-primary-light: #818cf8;
    --ibm-accent:        #06b6d4;
    --ibm-success:       #10b981;
    --ibm-danger:        #ef4444;
    --ibm-warning:       #f59e0b;
    --ibm-bg:            #f1f5f9;
    --ibm-card-bg:       #ffffff;
    --ibm-border:        #e2e8f0;
    --ibm-text:          #0f172a;
    --ibm-muted:         #64748b;
    --ibm-sidebar-w:     260px;
    --ibm-sidebar-collapsed-w: 0px;
    --ibm-topbar-h:      56px;
    --bs-primary:        #4f46e5;
    --bs-primary-rgb:    79, 70, 229;
}

/* â”€â”€ Base â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
*, *::before, *::after { box-sizing: border-box; }

/* ── Page preloader ──────────────────────────────────────── */
#page-preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--ibm-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
#page-preloader.hidden {
    opacity: 0;
    visibility: hidden;
}
.page-preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--ibm-primary);
}
.page-preloader-inner > .bi {
    font-size: 2.5rem;
}

/* ── Impersonation bar ──────────────────────────────────── */
#impersonation-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: #f59e0b;
    color: #1c1917;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    padding: .4rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}
body:has(#impersonation-bar) .topbar,
body:has(#impersonation-bar) .sidebar {
    top: 2.15rem;
}
body:has(#impersonation-bar) .sidebar {
    height: calc(100vh - 2.15rem);
}
body:has(#impersonation-bar) .main-content {
    padding-top: calc(var(--ibm-topbar-h) + 2.15rem);
}
body:has(#impersonation-bar) .main-wrapper {
    padding-top: calc(var(--ibm-topbar-h) + 2.15rem);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    background: var(--ibm-bg);
    color: var(--ibm-text);
    overflow-x: hidden;
}

a { color: var(--ibm-primary); text-decoration: none; }
a:hover { color: var(--ibm-primary-dark); text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--ibm-text);
}

/* â”€â”€ Sidebar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--ibm-sidebar-w);
    height: 100vh;
    background: #fff;
    border-right: 1px solid var(--ibm-border);
    display: flex;
    flex-direction: column;
    z-index: 1040;
    transition: transform .25s ease, width .25s ease;
    overflow: hidden;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1rem;
    height: var(--ibm-topbar-h);
    border-bottom: 1px solid var(--ibm-border);
    flex-shrink: 0;
}

.sidebar-logo-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ibm-primary-dark);
    white-space: nowrap;
    overflow: hidden;
    transition: opacity .2s;
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.5rem 0;
    scrollbar-width: thin;
    scrollbar-color: var(--ibm-border) transparent;
}

.sidebar-section-label {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: var(--ibm-muted);
    padding: 0.75rem 1.1rem 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    transition: opacity .2s;
}

.sidebar-menu {
    padding: 0 0.5rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    color: var(--ibm-muted);
    font-size: 13px;
    font-weight: 500;
    transition: background .15s, color .15s;
    white-space: nowrap;
    margin-bottom: 2px;
    text-decoration: none !important;
}

.sidebar-link i {
    font-size: 16px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    transition: margin .25s;
}

.sidebar-link span {
    overflow: hidden;
    transition: opacity .2s, width .2s;
}

.sidebar-link:hover {
    background: #f1f5f9;
    color: var(--ibm-primary);
    text-decoration: none !important;
}

.sidebar-link.active {
    background: #eef2ff;
    color: var(--ibm-primary);
    font-weight: 600;
}

.sidebar-link.disabled {
    opacity: 0.38;
    pointer-events: none;
    cursor: not-allowed;
}

.sidebar-footer {
    padding: 0.75rem 0.75rem;
    border-top: 1px solid var(--ibm-border);
    flex-shrink: 0;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.sidebar-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ibm-primary);
    font-size: 16px;
    flex-shrink: 0;
}

.sidebar-user-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    transition: opacity .2s;
}

.sidebar-user-name {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--ibm-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-role {
    display: block;
    font-size: 11px;
    color: var(--ibm-muted);
    text-transform: capitalize;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-close-btn {
    color: var(--ibm-muted);
}

/* Sidebar collapsed state (desktop) */
body.sidebar-collapsed .sidebar {
    width: 64px;
}

body.sidebar-collapsed .sidebar-logo-text,
body.sidebar-collapsed .sidebar-section-label,
body.sidebar-collapsed .sidebar-link span,
body.sidebar-collapsed .sidebar-user-info {
    opacity: 0;
    width: 0;
    pointer-events: none;
}

body.sidebar-collapsed .sidebar-link {
    justify-content: center;
    padding: 0.45rem;
}

body.sidebar-collapsed .sidebar-link i {
    margin: 0;
}

body.sidebar-collapsed .sidebar-user {
    justify-content: center;
}

body.sidebar-collapsed .topbar {
    left: 64px;
}

body.sidebar-collapsed .main-content {
    margin-left: 64px;
}

/* â”€â”€ Sidebar overlay (mobile) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 1039;
}

.sidebar-overlay.show {
    display: block;
}

/* â”€â”€ Topbar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.topbar {
    position: fixed;
    top: 0;
    left: var(--ibm-sidebar-w);
    right: 0;
    height: var(--ibm-topbar-h);
    background: #fff;
    border-bottom: 1px solid var(--ibm-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.25rem;
    z-index: 1030;
    transition: left .25s ease;
    gap: 1rem;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.topbar-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 1rem;
}

.topbar-firma-nazev {
    font-size: 13px;
    font-weight: 600;
    color: var(--bs-body-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.topbar-firm {
    font-size: 12px;
    border-radius: 20px;
}

.topbar-username {
    font-size: 12.5px;
    font-weight: 500;
}

.fb-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.fb-status-dot.fb-online  { background-color: #22c55e; box-shadow: 0 0 0 2px #dcfce7; }
.fb-status-dot.fb-offline { background-color: #ef4444; box-shadow: 0 0 0 2px #fee2e2; }

/* â”€â”€ Main content â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.main-content {
    position: relative;
    margin-left: var(--ibm-sidebar-w);
    padding-top: var(--ibm-topbar-h);
    min-height: 100vh;
    transition: margin-left .25s ease;
}

.content-inner {
    padding: 1.25rem 1.5rem;
}

/* â”€â”€ Auth / Login page â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--ibm-bg);
    padding: 2rem 1rem;
}

.auth-page > .alert {
    width: 100%;
    max-width: 400px;
}

.sign-in-wrap {
    width: 100%;
    max-width: 400px;
}

.sign-in-wrap .card {
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(79,70,229,.12);
    border: 1px solid var(--ibm-border);
}

.sign-in-wrap .card-header {
    border-radius: 13px 13px 0 0 !important;
    padding: 1rem 1.25rem;
    font-size: 1rem;
}

/* â”€â”€ Button icon helper â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    flex-shrink: 0;
}

/* â”€â”€ Page header â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
#banner {
    margin-bottom: 1rem;
}

#banner h1 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ibm-primary-dark);
    padding: 0.5rem 0 0.25rem;
    border-bottom: 2px solid var(--ibm-primary);
    display: inline-block;
    margin-bottom: 1rem;
}

/* â”€â”€ Cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.card {
    border: 1px solid var(--ibm-border);
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    background: var(--ibm-card-bg);
}

.card-header {
    background: linear-gradient(90deg, var(--ibm-primary-dark) 0%, var(--ibm-primary) 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 9px 9px 0 0 !important;
    padding: 0.5rem 1rem;
    border-bottom: none;
}

.card-header h2 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.card-body {
    padding: 0.75rem 1rem;
}

.card-footer {
    background: transparent;
    border-top: 1px solid var(--ibm-border);
    padding: 0.4rem 1rem;
}

/* â”€â”€ Tables â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.table {
    font-size: 12.5px;
    margin-bottom: 0;
}

.table:not(.table-dark) {
    --bs-table-striped-bg: #f8faff;
    --bs-table-hover-bg:   #eef2ff;
}

.table:not(.table-dark) thead th {
    background: #eef2ff;
    color: var(--ibm-primary-dark);
    font-weight: 600;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-bottom: 2px solid var(--ibm-primary-light);
    padding: 0.4rem 0.6rem;
    white-space: nowrap;
}

.table:not(.table-dark) td {
    padding: 0.3rem 0.6rem;
    vertical-align: middle;
    border-color: var(--ibm-border);
}

.table-sm td,
.table-sm th {
    padding: 0.25rem 0.5rem;
}

.table-dark thead th {
    background: var(--ibm-primary-dark);
    color: #fff;
    border-bottom-color: var(--ibm-primary-light);
}

/* â”€â”€ Buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.btn {
    font-size: 12.5px;
    font-weight: 500;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    transition: all .15s;
}

.btn-sm {
    font-size: 11.5px;
    padding: 0.2rem 0.55rem;
    border-radius: 5px;
}

.btn-xs {
    font-size: 11px;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    line-height: 1.5;
}

.btn-primary {
    background: var(--ibm-primary);
    border-color: var(--ibm-primary);
}
.btn-primary:hover {
    background: var(--ibm-primary-dark);
    border-color: var(--ibm-primary-dark);
}

.btn-success {
    background: var(--ibm-success);
    border-color: var(--ibm-success);
}

/* â”€â”€ Forms â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.form-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--ibm-muted);
    margin-bottom: 0.25rem;
}

.form-control,
.form-select {
    font-size: 12.5px;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--ibm-primary-light);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    outline: none;
}

.form-control-sm,
.form-select-sm {
    font-size: 12px;
    padding: 0.2rem 0.5rem;
}

.form-check-input:checked {
    background-color: var(--ibm-primary);
    border-color: var(--ibm-primary);
}

.invalid-feedback {
    font-size: 11px;
}

.required > .col-form-label::after {
    content: ' *';
    color: var(--ibm-danger);
}

/* â”€â”€ Alerts / Flash messages â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.alert {
    font-size: 13px;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    border-left: 4px solid transparent;
}

.alert-success { border-left-color: var(--ibm-success); }
.alert-danger   { border-left-color: var(--ibm-danger); }
.alert-warning  { border-left-color: var(--ibm-warning); }
.alert-info     { border-left-color: var(--ibm-accent); }

/* â”€â”€ Modals â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.modal-header {
    background: linear-gradient(90deg, var(--ibm-primary-dark) 0%, var(--ibm-primary) 100%);
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 10px 10px 0 0;
}

.modal-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.modal-header .btn-close {
    filter: invert(1) brightness(2);
}

.modal-body {
    padding: 0.75rem 1rem;
    font-size: 13px;
}

.modal-footer {
    padding: 0.5rem 1rem;
    border-top: 1px solid var(--ibm-border);
}

.modal-content {
    border-radius: 10px;
    border: none;
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
}

/* â”€â”€ Badges â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.badge {
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
    padding: 2px 8px;
}

/* â”€â”€ Datagrid overrides â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
[data-datagrid-name] {
    background: var(--ibm-card-bg);
    border: 1px solid var(--ibm-border);
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    padding: 0.75rem;
    margin-bottom: 1rem;
    width: 100%;
    min-width: 0;
}

[data-datagrid-name] .table-responsive,
[data-datagrid-name] > div {
    overflow-x: auto;
    width: 100%;
}

[data-datagrid-name] .table {
    width: 100%;
    table-layout: auto;
}

[data-datagrid-name] .datagrid-toolbar .btn {
    font-size: 12px;
}

[data-datagrid-name] .pagination .page-link {
    font-size: 12px;
    padding: 0.25rem 0.55rem;
    color: var(--ibm-primary);
}

[data-datagrid-name] .pagination .page-item.active .page-link {
    background: var(--ibm-primary);
    border-color: var(--ibm-primary);
    color: #fff;
}

[data-datagrid-name] .form-control,
[data-datagrid-name] .form-select {
    font-size: 12px;
}

.dual-scroll-top {
    overflow-x: auto;
    overflow-y: hidden;
    height: 14px;
    display: none;
}

.dual-scroll-top > div {
    height: 1px;
}

[data-datagrid-name] .table td,
[data-datagrid-name] .table th {
    padding: 0.2rem 0.45rem;
    vertical-align: middle;
}

/* â”€â”€ Utility â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.text-primary { color: var(--ibm-primary) !important; }
.bg-primary   { background: var(--ibm-primary) !important; }

a[href^="#error:"] {
    background: var(--ibm-danger);
    color: white;
    padding: 1px 4px;
    border-radius: 3px;
}

.profile-card { margin-bottom: 1rem; }

/* â”€â”€ Mobile (< 992px) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .topbar {
        left: 0;
    }

    .main-content {
        margin-left: 0;
    }

    body.sidebar-collapsed .topbar,
    body.sidebar-collapsed .main-content {
        left: 0;
        margin-left: 0;
    }
}

/* ── Admin dashboard ────────────────────────────────────── */
.stat-card {
    background: var(--ibm-card-bg);
    border: 1px solid var(--ibm-border);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
}

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    color: var(--ibm-text);
}

.stat-label {
    font-size: 12px;
    color: var(--ibm-muted);
    font-weight: 500;
}

.admin-panel {
    background: var(--ibm-card-bg);
    border: 1px solid var(--ibm-border);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.admin-panel-header {
    display: flex;
    align-items: center;
    padding: 0.65rem 1rem;
    font-size: 13px;
    font-weight: 600;
    color: var(--ibm-text);
    background: #f8fafc;
    border-bottom: 1px solid var(--ibm-border);
}

.admin-panel-body {
    flex: 1;
    overflow-x: auto;
    padding: 0.75rem;
}

.admin-table thead th {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--ibm-muted);
    background: #f8fafc;
    border-bottom: 1px solid var(--ibm-border);
    padding: 0.5rem 0.75rem;
    white-space: nowrap;
}

.admin-table tbody td {
    font-size: 12.5px;
    padding: 0.45rem 0.75rem;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-table tbody tr:hover td {
    background: #f8faff;
}

.role-badge {
    font-size: 10.5px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 20px;
    text-transform: capitalize;
}

.role-badge.role-admin   { background: #fef2f2; color: #dc2626; }
.role-badge.role-manager { background: #eff6ff; color: #2563eb; }
.role-badge.role-user    { background: #f0fdf4; color: #16a34a; }
.role-badge.role-person  { background: #fefce8; color: #ca8a04; }

.page-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ibm-primary-dark);
    padding-bottom: 0.5rem;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid var(--ibm-primary);
    display: inline-block;
}

