/* SchoolMock panel: small additions on top of Metronic's style.bundle.css (keep the theme's look). */

.sm-logo-pill { display: inline-flex; align-items: center; background: var(--bs-gray-100); padding: 10px 14px; border-radius: 40px; }
.sm-auth-aside { background-color: #001144; }

/* Sidebar menu tiles (the old panel's square buttons) */
.sm-menu .btn.active, .sm-menu .btn:hover { border-color: var(--bs-primary) !important; }
.sm-menu .btn.active i, .sm-menu .btn.active span { color: var(--bs-primary); }
.sm-menu .btn { transition: border-color .15s ease, transform .15s ease; }
.sm-menu .btn:hover { transform: translateY(-1px); }

/* Page toolbar: Metronic fixes its height; ours grows with the title, breadcrumb and description line */
#kt_app_toolbar.app-toolbar { height: auto !important; min-height: 0; padding-bottom: 1.25rem !important; }
@media (min-width: 992px) { #kt_app_toolbar.app-toolbar { padding-bottom: 1.75rem !important; } }

/* Stat cards */
.sm-stat { border: 1px solid var(--bs-gray-200); }
.sm-stat .sm-stat-value { font-size: 1.85rem; font-weight: 700; line-height: 1.1; color: var(--bs-gray-900); font-variant-numeric: tabular-nums; }
.sm-stat .sm-stat-label { color: var(--bs-gray-600); font-weight: 600; font-size: .85rem; }

/* Tables: numbers line up; long names wrap instead of widening the page */
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table td .text-break { word-break: break-word; }
/* position: relative keeps absolutely placed children (e.g. .visually-hidden headers) inside the scroll box on phones */
.sm-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; position: relative; }

/* Filter bar */
.sm-filters .form-select, .sm-filters .form-control { min-width: 140px; }
@media (max-width: 575.98px) { .sm-filters > * { flex: 1 1 100%; } .sm-filters .form-select, .sm-filters .form-control { min-width: 0; width: 100%; } }

/* Score bar (percent) */
.sm-bar { height: 6px; border-radius: 3px; background: var(--bs-gray-200); overflow: hidden; min-width: 60px; }
.sm-bar > span { display: block; height: 100%; border-radius: 3px; }

/* Busy button */
.btn[data-busy="1"] { pointer-events: none; opacity: .75; }

/* Print: just the content */
@media print {
    #kt_app_header, #kt_app_sidebar, #kt_app_footer, #kt_app_toolbar .btn, .no-print { display: none !important; }
    .app-main { margin: 0 !important; padding: 0 !important; }
}
