:root {
    --sidebar-width: 250px;
    --sidebar-bg: #1e293b;
}

body {
    background-color: #f4f6f9;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--sidebar-width);
    background-color: var(--sidebar-bg);
    color: #cbd5e1;
    overflow-y: auto;
    z-index: 1030;
}

.sidebar .brand {
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.sidebar .sidebar-heading {
    font-size: .7rem;
    letter-spacing: .08em;
    color: #64748b;
}

.sidebar .nav-link {
    color: #cbd5e1;
    padding: .6rem .9rem;
    border-radius: .375rem;
    margin-bottom: .15rem;
    font-size: .925rem;
}

.sidebar .nav-link:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, .08);
}

.sidebar .nav-link.active {
    color: #fff;
    background-color: #0d6efd;
}

/* Main */
.main-wrapper {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.topbar {
    height: 60px;
    background-color: #fff;
    border-bottom: 1px solid #e9ecef;
    flex-shrink: 0;
}

.avatar {
    width: 34px;
    height: 34px;
    font-size: .95rem;
}

.content {
    flex-grow: 1;
}

.login-body {
    background-color: #f4f6f9;
}

.tabular-nums {
    font-variant-numeric: tabular-nums;
}

.numeri-grid {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: .4rem;
}

.numeri-grid-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    padding: .35rem .2rem;
    border: 1px solid #e2e8f0;
    border-radius: .375rem;
    background: #fff;
    color: inherit;
    text-decoration: none;
}

.numeri-grid-cell:hover {
    border-color: #0d6efd;
    background: #f8fafc;
}

.numeri-grid-cell .k {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.numeri-grid-cell .meta {
    font-size: .7rem;
    color: #64748b;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 767.98px) {
    .numeri-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}
