/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --sidebar-w: 240px;
    --topbar-h: 56px;
    --primary:   #4f46e5;
    --primary-dk:#4338ca;
    --bg:        #f4f5f7;
    --surface:   #ffffff;
    --border:    #e5e7eb;
    --text:      #111827;
    --muted:     #6b7280;
    --danger:    #ef4444;
    --success:   #10b981;
    --radius:    8px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,.10);
}

body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); }

/* ═══════════════════════════════════════
   APP SHELL — sidebar + main
═══════════════════════════════════════ */
.app-body { min-height: 100vh; }

/* ── Sidebar ── */
.sidebar {
    width: var(--sidebar-w);
    background: #1e1b4b;
    color: #c7d2fe;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 200;
    transition: transform .25s ease;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.sidebar-logo { font-size: 1.25rem; color: #818cf8; }
.sidebar-title { font-size: .9375rem; font-weight: 700; color: #fff; letter-spacing: .01em; }

.sidebar-nav {
    flex: 1;
    padding: .75rem 0;
    overflow-y: auto;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .6rem 1.25rem;
    font-size: .875rem;
    color: #a5b4fc;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: background .15s, color .15s, border-color .15s;
    margin: .1rem 0;
}
.sidebar-link:hover { background: rgba(255,255,255,.07); color: #fff; }
.sidebar-link.active {
    background: rgba(99,102,241,.25);
    color: #fff;
    border-left-color: #818cf8;
    font-weight: 600;
}
.sidebar-icon { font-size: .45rem; opacity: .7; flex-shrink: 0; }
.sidebar-link.active .sidebar-icon { opacity: 1; color: #818cf8; }

/* nested sub-menu items (e.g. aslan sub-pages) */
.sidebar-sublink { padding-left: 2.9rem; font-size: .82rem; margin: 0; }
.sidebar-sublink .sidebar-icon { font-size: .5rem; }

/* collapsible sidebar group (e.g. aslan) */
.sidebar-group-toggle {
    width: 100%;
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
}
.sidebar-caret {
    margin-left: auto;
    font-size: .55rem;
    opacity: .65;
    transition: transform .2s ease;
}
.sidebar-group.open .sidebar-caret { transform: rotate(90deg); }
.sidebar-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
}
.sidebar-group.open .sidebar-submenu { max-height: 240px; }

/* Markdown preview panel (aslan article editor) — fills the area beside the modal drawer */
.md-preview-panel {
    flex: 1;
    min-width: 0;
    margin: 2rem;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    overflow: hidden;
}
.md-preview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .85rem 1.5rem;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    font-size: .95rem;
    color: var(--muted);
    flex-shrink: 0;
}
.md-preview-body {
    padding: 1.75rem 2.25rem;
    overflow-y: auto;
    font-size: .95rem;
    line-height: 1.8;
    color: var(--text);
}
.md-preview-body h2 { font-size: 1.3rem; margin: 1.4rem 0 .6rem; }
.md-preview-body h2.learn-h1 { font-size: 1.5rem; }
.md-preview-body h3 { font-size: 1.1rem; margin: 1.1rem 0 .45rem; }
.md-preview-body p { margin: 0 0 .85rem; }
.md-preview-body ul, .md-preview-body ol { margin: 0 0 .85rem; padding-left: 1.5rem; }
.md-preview-body li { margin-bottom: .3rem; }
.md-preview-body blockquote { margin: .9rem 0; padding: .6rem 1rem; border-left: 3px solid var(--primary); background: var(--bg); color: var(--muted); }
.md-preview-body pre { background: #1f2937; color: #f3f4f6; padding: .8rem 1rem; border-radius: 6px; overflow-x: auto; font-size: .82rem; }
.md-preview-body code { background: var(--bg); padding: .05rem .3rem; border-radius: 3px; font-size: .85em; }
.md-preview-body pre code { background: transparent; padding: 0; }
.md-preview-body table.learn-table { width: 100%; border-collapse: collapse; margin: .9rem 0; font-size: .88rem; }
.md-preview-body table.learn-table th, .md-preview-body table.learn-table td { border: 1px solid var(--border); padding: .45rem .7rem; text-align: left; vertical-align: top; }
.md-preview-body table.learn-table th { background: var(--bg); font-weight: 600; }
.md-preview-body img { max-width: 100%; height: auto; }
.md-preview-body hr { border: none; border-top: 1px solid var(--border); margin: 1.2rem 0; }

.sidebar-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(255,255,255,.08);
}

.lang-switch { font-size: .8rem; }
.lang-switch a { color: #a5b4fc; text-decoration: none; padding: .125rem .25rem; border-radius: 3px; }
.lang-switch a:hover { color: #fff; }
.lang-switch a.active { color: #fff; font-weight: 700; background: rgba(255,255,255,.12); }
.lang-switch span { color: rgba(255,255,255,.3); margin: 0 .1rem; }

/* ── Sidebar overlay (mobile) ── */
.sidebar-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 190;
}

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

/* ── Topbar ── */
.topbar {
    height: var(--topbar-h);
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.topbar-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .375rem;
}
.topbar-toggle span {
    display: block;
    width: 20px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: .2s;
}

.topbar-breadcrumb {
    font-size: .875rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: capitalize;
    flex: 1;
}

.topbar-end { display: flex; align-items: center; gap: .75rem; }

.btn-logout {
    font-size: .8125rem;
    padding: .375rem .875rem;
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--muted);
    cursor: pointer;
    transition: background .15s, color .15s;
}
.btn-logout:hover { background: #fef2f2; color: var(--danger); border-color: #fecaca; }

/* ── Page content ── */
.page-content { padding: 1.75rem 2rem; flex: 1; }

/* ── Page header ── */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}
.page-header h1 { font-size: 1.375rem; font-weight: 700; color: var(--text); }

/* ═══════════════════════════════════════
   STAT CARDS
═══════════════════════════════════════ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--border);
    transition: box-shadow .15s;
}
.stat-card:hover { box-shadow: var(--shadow-md); }

.stat-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    flex-shrink: 0;
}
.stat-icon.indigo  { background: #eef2ff; color: #4f46e5; }
.stat-icon.emerald { background: #ecfdf5; color: #059669; }
.stat-icon.amber   { background: #fffbeb; color: #d97706; }
.stat-icon.rose    { background: #fff1f2; color: #e11d48; }

.stat-body { min-width: 0; }
.stat-value { font-size: 1.75rem; font-weight: 700; line-height: 1; color: var(--text); }
.stat-label { font-size: .8125rem; color: var(--muted); margin-top: .25rem; white-space: nowrap; }

/* ═══════════════════════════════════════
   QUICK ACTIONS
═══════════════════════════════════════ */
.section-title {
    font-size: .8125rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .75rem;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: .75rem;
    margin-bottom: 2rem;
}

.quick-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.125rem;
    text-decoration: none;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: .875rem;
    font-weight: 500;
    transition: border-color .15s, box-shadow .15s, transform .1s;
}
.quick-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79,70,229,.08);
    transform: translateY(-1px);
}
.quick-card-icon { font-size: 1.125rem; }

/* ═══════════════════════════════════════
   TABLE (shared)
═══════════════════════════════════════ */
.table-wrap {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: var(--shadow-sm);
}
.data-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.data-table thead tr { background: #f9fafb; border-bottom: 1px solid var(--border); }
.data-table th { padding: .75rem 1rem; text-align: left; font-size: .75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.data-table td { padding: .75rem 1rem; border-bottom: 1px solid #f3f4f6; vertical-align: middle; }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: #fafafa; }
.data-table tbody tr:hover td:last-child { background: #fafafa; }

/* Sticky last column ("จัดการ") — always visible on horizontal scroll */
.data-table th:last-child,
.data-table td:last-child {
    position: sticky;
    right: 0;
    z-index: 2;
    box-shadow: -4px 0 8px -4px rgba(0,0,0,.08);
}
.data-table thead th:last-child { background: #f9fafb; }
.data-table tbody td:last-child { background: var(--surface); }

/* ── Badges ── */
.badge {
    display: inline-flex;
    align-items: center;
    padding: .2rem .6rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 500;
    white-space: nowrap;
}
.badge-green  { background: #ecfdf5; color: #059669; }
.badge-gray   { background: #f3f4f6; color: #6b7280; }
.badge-indigo { background: #eef2ff; color: #4338ca; }

/* ── Action buttons ── */
.btn-action {
    padding: .3rem .7rem;
    font-size: .8rem;
    border-radius: 5px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    transition: background .12s;
}
.btn-action:hover { background: #f3f4f6; }
.btn-action.danger { color: var(--danger); border-color: #fecaca; }
.btn-action.danger:hover { background: #fef2f2; }

/* ═══════════════════════════════════════
   BUTTONS (general)
═══════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    padding: .625rem 1.125rem;
    border: none;
    border-radius: 6px;
    font-size: .875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s, transform .1s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dk); }
.btn-sm { padding: .375rem .75rem; font-size: .8125rem; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { background: #f9fafb; }

/* ═══════════════════════════════════════
   FORMS
═══════════════════════════════════════ */
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .875rem; font-weight: 500; margin-bottom: .375rem; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: .625rem .75rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: .9375rem;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
    background: var(--surface);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79,70,229,.1);
}

/* ═══════════════════════════════════════
   ALERTS
═══════════════════════════════════════ */
.alert { padding: .75rem 1rem; border-radius: 6px; font-size: .875rem; margin-bottom: 1rem; }
.alert-error  { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-success{ background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }

/* ═══════════════════════════════════════
   LOGIN PAGE
═══════════════════════════════════════ */
.login-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: var(--bg); }
.login-container { width: 100%; max-width: 400px; padding: 1rem; }
.login-box { background: var(--surface); border-radius: var(--radius); padding: 2.5rem 2rem; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.login-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; text-align: center; }

/* ═══════════════════════════════════════
   MODAL (Side-panel drawer)
═══════════════════════════════════════ */
.modal-overlay {
    display: flex;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 500;
    justify-content: flex-end;
    align-items: stretch;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease-out, visibility 0s linear .2s;
}
.modal-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .2s ease-out, visibility 0s linear 0s;
}
.modal {
    background: var(--surface);
    border-radius: 0;
    box-shadow: -8px 0 24px rgba(0,0,0,.12);
    width: 100%;
    max-width: 480px;
    height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    min-height: 0;
    transform: translateX(100%);
    transition: transform .25s ease-out;
    position: relative;
}
.modal-overlay.open .modal {
    transform: translateX(0);
}
.modal > form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}
.modal-header {
    padding: 1.125rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}
.modal-title { font-size: 1.0625rem; font-weight: 600; }
.modal-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--muted); line-height: 1; padding: .25rem; border-radius: 6px; }
.modal-close:hover { color: var(--text); background: rgba(0,0,0,.05); }
.modal-body { padding: 1.5rem; overflow-y: auto; flex: 1 1 auto; min-height: 0; }

/* Chip row — compact chips with inline "+ เพิ่ม" button */
.chip-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem;
    min-height: 2rem;
    margin-bottom: .6rem;
}
.chip-row > #cat-list, .chip-row > #tag-list,
.chip-row > #add-cat-list, .chip-row > #add-tag-list {
    display: contents;
}
.chip-add-btn {
    background: transparent;
    color: var(--accent, #7c3aed);
    border: 1px dashed var(--accent, #7c3aed);
    border-radius: 999px;
    padding: .18rem .65rem;
    font-size: .78rem;
    font-weight: 500;
    cursor: pointer;
    line-height: 1.3;
    transition: background .15s, color .15s;
}
.chip-add-btn:hover {
    background: var(--accent, #7c3aed);
    color: #fff;
}

/* Sub-drawer: detail & form panels overlay the whole .modal when shown */
#cat-detail, #cat-form, #tag-detail, #tag-form,
#add-cat-detail, #add-cat-form, #add-tag-detail, #add-tag-form {
    position: absolute !important;
    inset: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: var(--surface) !important;
    padding: 1.25rem 1.5rem !important;
    overflow-y: auto;
    z-index: 5;
    box-shadow: -8px 0 16px rgba(0,0,0,.06);
    animation: subdrawerIn .22s ease-out;
}
@keyframes subdrawerIn {
    from { transform: translateX(20%); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}
.subdrawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: -.25rem -.25rem .75rem;
    padding-bottom: .65rem;
    border-bottom: 1px solid var(--border, #e5e7eb);
}
.subdrawer-header strong { font-size: .95rem; font-weight: 600; }
.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: .75rem;
    flex-shrink: 0;
    background: var(--surface);
}
@media (max-width: 640px) {
    .modal { max-width: 100%; }
}

/* ═══════════════════════════════════════
   SORTABLE TABLE HEADERS
═══════════════════════════════════════ */
.th-label {
    font-size: .75rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .05em;
    white-space: nowrap;
    margin-right: .25rem;
}
.th-sort-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 3px;
    font-size: .7rem;
    color: var(--muted);
    text-decoration: none;
    opacity: .5;
    transition: opacity .15s, background .15s, color .15s;
    vertical-align: middle;
}
.th-sort-btn:hover { opacity: 1; background: #f3f4f6; color: var(--text); }
.th-sort-btn.active { opacity: 1; color: var(--primary); background: #eef2ff; }

/* ═══════════════════════════════════════
   FILTER BAR
═══════════════════════════════════════ */
.filter-bar {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.filter-input {
    padding: .375rem .625rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: .875rem;
    background: var(--surface);
    color: var(--text);
    outline: none;
    transition: border-color .15s;
}
.filter-input:focus { border-color: var(--primary); }

/* ═══════════════════════════════════════
   PAGINATION
═══════════════════════════════════════ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    flex-wrap: wrap;
    gap: .5rem;
}
.pagination-info { font-size: .8125rem; color: var(--muted); }
.pagination-nav { display: flex; gap: .25rem; flex-wrap: wrap; }
.pag-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 .5rem;
    border-radius: 5px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-size: .8125rem;
    text-decoration: none;
    cursor: pointer;
    transition: background .12s, border-color .12s;
}
.pag-btn:hover:not(.disabled):not(.active) { background: #f3f4f6; border-color: #d1d5db; }
.pag-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); font-weight: 600; }
.pag-btn.disabled { color: var(--muted); cursor: default; opacity: .5; }

/* ═══════════════════════════════════════
   STAT CARD COLOR VARIANTS
═══════════════════════════════════════ */
.stat-card.stat-blue  { background: linear-gradient(135deg,#eff6ff 0%,#dbeafe 100%); border-color: #bfdbfe; }
.stat-card.stat-green { background: linear-gradient(135deg,#f0fdf4 0%,#dcfce7 100%); border-color: #bbf7d0; }
.stat-card.stat-amber { background: linear-gradient(135deg,#fffbeb 0%,#fef3c7 100%); border-color: #fde68a; }
.stat-card.stat-rose  { background: linear-gradient(135deg,#fff1f2 0%,#ffe4e6 100%); border-color: #fecdd3; }

/* ═══════════════════════════════════════
   CHART CARDS
═══════════════════════════════════════ */
.chart-card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow .15s;
}
.chart-card:hover { box-shadow: var(--shadow-md); }
.chart-card-wide { margin-bottom: 2rem; }

.chart-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
}
.chart-card-title { font-size: .875rem; font-weight: 600; color: var(--text); }

.chart-canvas-wrap {
    position: relative;
    height: 260px;
    padding: 1rem 1.25rem;
}
.chart-canvas-bar {
    height: 220px; /* overridden by JS based on row count */
    padding: 1rem 1.25rem;
}

/* ═══════════════════════════════════════
   TWO COLUMN GRID
═══════════════════════════════════════ */
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* ═══════════════════════════════════════
   RESPONSIVE — mobile sidebar
═══════════════════════════════════════ */
@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); }
    .sidebar-overlay.open { display: block; }
    .app-main { margin-left: 0; }
    .topbar-toggle { display: flex; }
    .page-content { padding: 1.25rem 1rem; }
    .two-col-grid { grid-template-columns: 1fr; }
    .aslan-hub-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════
   ASLAN — superadmin hub polish
═══════════════════════════════════════ */
.aslan-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}
.aslan-card {
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
    padding: 1.25rem 1.25rem 1.1rem;
}
.aslan-card .quick-card-icon {
    font-size: 1.5rem;
    margin-bottom: .25rem;
}
.aslan-card-title {
    font-size: .95rem;
    font-weight: 600;
    color: var(--text);
}
.aslan-card-count {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--primary);
}
.aslan-card-count small {
    font-size: .8125rem;
    font-weight: 500;
    color: var(--muted);
    margin-left: .25rem;
}
