/* ShopPilot dashboard — admin look aligned with the Munnashop (resellershop) panel:
   dark sidebar, light page, soft shadow cards, light table headers, compact inputs, "lighten" badges. */
:root {
    --sp-primary: #727cf5; --sp-primary-rgb: 114, 124, 245; --sp-primary-dark: #5b65e0;
    --sp-success: #0acf97; --sp-danger: #fa5c7c; --sp-warning: #ffbc00; --sp-info: #39afd1; --sp-secondary: #6c757d; --sp-dark: #313a46;
    --sp-sidebar: #313a46; --sp-sidebar-text: #8391a2; --sp-sidebar-hover: #bccee4;
    --sp-body: #fafbfe; --sp-text: #6c757d; --sp-heading: #313a46; --sp-border: #e3eaef; --sp-input-border: #dee2e6;
    --sp-card-shadow: 0 0 35px 0 rgba(154, 161, 171, .15);
    --sp-radius: .35rem; --sp-sidebar-w: 260px;
    --bs-primary: #727cf5; --bs-primary-rgb: 114, 124, 245; --bs-link-color: #727cf5; --bs-link-color-rgb: 114, 124, 245; --bs-link-hover-color: #5b65e0;
    --bs-success: #0acf97; --bs-success-rgb: 10, 207, 151; --bs-danger: #fa5c7c; --bs-danger-rgb: 250, 92, 124;
    --bs-warning: #ffbc00; --bs-warning-rgb: 255, 188, 0; --bs-info: #39afd1; --bs-info-rgb: 57, 175, 209;
    --bs-body-color: #6c757d; --bs-heading-color: #313a46; --bs-border-color: #e3eaef;
}
body { background: var(--sp-body); font-family: 'Nunito', Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: .9rem; color: var(--sp-text); }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { color: var(--sp-heading); font-weight: 700; }
a { color: var(--sp-primary); }
.text-primary { color: var(--sp-primary) !important; } .bg-primary { background-color: var(--sp-primary) !important; }
.text-success { color: var(--sp-success) !important; } .text-danger { color: var(--sp-danger) !important; } .text-warning { color: #e6a800 !important; } .text-info { color: var(--sp-info) !important; }
.text-dark { color: var(--sp-heading) !important; } .fw-semibold { font-weight: 600 !important; }

/* ---------- sidebar ---------- */
.sp-sidebar { width: var(--sp-sidebar-w); height: 100vh; background: var(--sp-sidebar); position: fixed; top: 0; left: 0; overflow-y: auto; z-index: 1040; transition: transform .2s; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent; }
.sp-brand { display: flex; align-items: center; gap: .6rem; height: 70px; padding: 0 1.5rem; color: #fff; font-weight: 800; font-size: 1.2rem; text-decoration: none; letter-spacing: -.01em; }
.sp-brand:hover { color: #fff; }
.sp-brand-icon { width: 34px; height: 34px; border-radius: .5rem; background: var(--sp-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; }
.sp-store-switch { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); color: #e2e8f0; border-radius: var(--sp-radius); padding: .5rem .75rem; font-size: .85rem; }
.sp-store-switch::after { position: absolute; right: 1.6rem; top: 50%; }
.sp-store-switch:hover { background: rgba(255,255,255,.1); }
.sp-menu-title { color: var(--sp-sidebar-text); opacity: .75; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 1.25rem 1.5rem .4rem; }
.sp-menu-link { display: flex; align-items: center; gap: .75rem; color: var(--sp-sidebar-text); padding: .55rem 1.5rem; font-size: .9rem; text-decoration: none; transition: color .15s, background .15s; position: relative; }
.sp-menu-link i { font-size: 1.05rem; width: 1.2rem; text-align: center; }
.sp-menu-link:hover { color: var(--sp-sidebar-hover); }
.sp-menu-link.active { color: #fff; background: rgba(255,255,255,.05); }
.sp-menu-link.active::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; border-radius: 0 3px 3px 0; background: var(--sp-primary); }
.sp-main { margin-left: var(--sp-sidebar-w); min-height: 100vh; display: flex; flex-direction: column; }
.sp-backdrop { display: none; }
@media (max-width: 991.98px) {
    .sp-sidebar { transform: translateX(-100%); } .sp-sidebar.show { transform: none; box-shadow: 0 0 40px rgba(0,0,0,.3); }
    .sp-sidebar.show ~ .sp-backdrop, body:has(.sp-sidebar.show) .sp-backdrop { display: block; position: fixed; inset: 0; background: rgba(49,58,70,.45); z-index: 1035; }
    .sp-main { margin-left: 0; }
}

/* ---------- topbar ---------- */
.sp-topbar { height: 70px; background: #fff; box-shadow: 0 0 35px 0 rgba(154,161,171,.15); display: flex; align-items: center; gap: .75rem; padding: 0 1.5rem; position: sticky; top: 0; z-index: 1020; }
.sp-topbar-icon { position: relative; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #98a6ad; font-size: 1.3rem; text-decoration: none; }
.sp-topbar-icon:hover { background: #f1f3fa; color: var(--sp-heading); }
.sp-dot { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--sp-danger); color: #fff; font-size: .62rem; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.sp-user { display: flex; align-items: center; gap: .6rem; padding: .35rem .75rem; background: #fafbfd; border: 1px solid #f1f3fa; border-radius: var(--sp-radius); color: var(--sp-heading); text-decoration: none; font-size: .85rem; }
.sp-avatar { width: 34px; height: 34px; border-radius: 50%; background: rgba(var(--sp-primary-rgb), .15); color: var(--sp-primary); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.sp-notify-menu { width: 340px; max-width: 92vw; }
.sp-notify-list { max-height: 360px; overflow-y: auto; }
.sp-notify-item { display: flex; gap: .75rem; padding: .75rem 1rem; text-decoration: none; color: inherit; border-bottom: 1px solid #f1f3fa; font-size: .85rem; }
.sp-notify-item:hover { background: #f8f9fc; } .sp-notify-item.unread { background: rgba(var(--sp-primary-rgb), .05); }
.sp-notify-icon { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 34px; }
.sp-content { padding: 0 1.5rem 1.5rem; flex: 1; }
.sp-page-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding: 1.4rem 0 1.25rem; }
.sp-page-title h1 { font-size: 1.15rem; margin: 0; line-height: 1.4; }
.sp-crumbs { font-size: .78rem; color: #98a6ad; display: flex; align-items: center; gap: .35rem; }
.sp-crumbs a { color: #98a6ad; text-decoration: none; } .sp-crumbs a:hover { color: var(--sp-primary); } .sp-crumbs i { font-size: .6rem; }
.sp-footer { padding: 1.1rem 1.5rem; color: #98a6ad; border-top: 1px solid #eef2f7; font-size: .82rem; }
@media (max-width: 575.98px) { .sp-content { padding: 0 .9rem 1rem; } .sp-topbar { padding: 0 .9rem; } }

/* ---------- cards ---------- */
.card { border: 0; border-radius: var(--sp-radius); box-shadow: var(--sp-card-shadow); margin-bottom: 0; }
.card-header { background: #fff; border-bottom: 1px solid #eef2f7; font-weight: 700; color: var(--sp-heading); padding: .9rem 1.25rem; }
.card-header:first-child { border-radius: var(--sp-radius) var(--sp-radius) 0 0; }
.card-body { padding: 1.25rem; }
.card.p-3, .card.p-4 { padding: 1.25rem !important; }
.card h6 { color: var(--sp-heading); font-weight: 700; font-size: .95rem; margin-bottom: .9rem; }
.header-title { font-size: .95rem; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 1rem; }
.stat-card .icon { width: 48px; height: 48px; border-radius: .5rem; display: grid; place-items: center; font-size: 1.35rem; }
.bg-primary-subtle { background: rgba(var(--sp-primary-rgb), .15) !important; } .bg-success-subtle { background: rgba(10,207,151,.15) !important; }
.bg-danger-subtle { background: rgba(250,92,124,.15) !important; } .bg-warning-subtle { background: rgba(255,188,0,.15) !important; } .bg-info-subtle { background: rgba(57,175,209,.15) !important; }

/* ---------- tables ---------- */
.table { --bs-table-color: var(--sp-text); --bs-table-hover-bg: #f6f8fb; --bs-table-striped-bg: #f9fafd; --bs-table-border-color: #eef2f7; margin-bottom: 0; font-size: .875rem; }
.table > :not(caption) > * > * { padding: .85rem .95rem; vertical-align: middle; border-bottom-color: #eef2f7; }
.table-sm > :not(caption) > * > * { padding: .55rem .7rem; }
.table > thead th, .table > tbody > tr:first-child:has(> th:nth-child(2)) > th {
    background: #f1f3fa; color: #6c757d; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; border-bottom: 0; white-space: nowrap; }
.table > tbody > tr:hover > td { background: #f9fafd; }
.table td a:not(.btn) { font-weight: 600; text-decoration: none; }
.card > .table, .card > .table-responsive > .table { margin-bottom: 0; }
.card > .table tr:first-child th:first-child, .card > .table-responsive > .table tr:first-child th:first-child { border-top-left-radius: var(--sp-radius); }
.table .btn-sm { padding: .2rem .5rem; }
.table-action { color: #98a6ad; font-size: 1.05rem; padding: 0 .25rem; } .table-action:hover { color: var(--sp-heading); }
.thumb { width: 44px; height: 44px; object-fit: cover; border-radius: .35rem; background: #f1f3fa; }
.pagination { --bs-pagination-color: var(--sp-text); --bs-pagination-active-bg: var(--sp-primary); --bs-pagination-active-border-color: var(--sp-primary); --bs-pagination-border-color: #eef2f7; --bs-pagination-hover-bg: #f1f3fa; --bs-pagination-focus-box-shadow: none; gap: .2rem; }
.page-link { border-radius: 50% !important; min-width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; padding: 0 .5rem; font-size: .85rem; }

/* ---------- forms ---------- */
.form-label { font-weight: 600; color: var(--sp-heading); font-size: .85rem; margin-bottom: .4rem; }
.form-label.small { font-size: .8rem; }
.form-control, .form-select { font-size: .875rem; padding: .45rem .9rem; color: #6c757d; border: 1px solid var(--sp-input-border); border-radius: var(--sp-radius); background-color: #fff; }
.form-select { padding-right: 2.25rem; }
.form-control-sm, .form-select-sm { padding: .28rem .7rem; font-size: .8rem; }
.form-control-lg { padding: .6rem 1.1rem; font-size: 1rem; }
.form-control:focus, .form-select:focus { border-color: #c8cbcf; box-shadow: none; color: #495057; }
.form-control::placeholder { color: #adb5bd; }
.form-control:disabled, .form-control[readonly] { background-color: #f1f3fa; }
.input-group-text { background: #f1f3fa; border-color: var(--sp-input-border); color: #6c757d; font-size: .875rem; }
.form-check-input { border-color: #c1c9d0; } .form-check-input:checked { background-color: var(--sp-primary); border-color: var(--sp-primary); }
.form-check-input:focus { box-shadow: 0 0 0 .15rem rgba(var(--sp-primary-rgb), .25); border-color: var(--sp-primary); }
.form-switch .form-check-input { width: 2.2em; }
.form-control-color { width: 3.2rem; height: 2.4rem; padding: .25rem; }
.form-text { color: #98a6ad; font-size: .78rem; }
.is-invalid { border-color: var(--sp-danger) !important; }

/* ---------- buttons & badges ---------- */
.btn { font-size: .875rem; border-radius: var(--sp-radius); padding: .45rem .9rem; font-weight: 600; }
.btn-sm { font-size: .8rem; padding: .28rem .7rem; } .btn-lg { padding: .55rem 1.2rem; font-size: 1rem; }
.btn-primary { --bs-btn-bg: #727cf5; --bs-btn-border-color: #727cf5; --bs-btn-hover-bg: #6169d0; --bs-btn-hover-border-color: #5b63c4; --bs-btn-active-bg: #5b63c4; --bs-btn-active-border-color: #5b63c4; --bs-btn-disabled-bg: #727cf5; --bs-btn-disabled-border-color: #727cf5; box-shadow: 0 2px 6px 0 rgba(114,124,245,.5); }
.btn-success { --bs-btn-bg: #0acf97; --bs-btn-border-color: #0acf97; --bs-btn-hover-bg: #09b080; --bs-btn-hover-border-color: #08a679; --bs-btn-active-bg: #08a679; --bs-btn-disabled-bg: #0acf97; --bs-btn-disabled-border-color: #0acf97; box-shadow: 0 2px 6px 0 rgba(10,207,151,.5); }
.btn-danger { --bs-btn-bg: #fa5c7c; --bs-btn-border-color: #fa5c7c; --bs-btn-hover-bg: #d54e69; --bs-btn-hover-border-color: #c84a63; --bs-btn-active-bg: #c84a63; box-shadow: 0 2px 6px 0 rgba(250,92,124,.5); }
.btn-warning { --bs-btn-bg: #ffbc00; --bs-btn-border-color: #ffbc00; --bs-btn-color: #313a46; --bs-btn-hover-bg: #e6a900; --bs-btn-hover-border-color: #e6a900; box-shadow: 0 2px 6px 0 rgba(255,188,0,.5); }
.btn-info { --bs-btn-bg: #39afd1; --bs-btn-border-color: #39afd1; --bs-btn-color: #fff; --bs-btn-hover-bg: #3095b2; --bs-btn-hover-color: #fff; box-shadow: 0 2px 6px 0 rgba(57,175,209,.5); }
.btn-light { --bs-btn-bg: #eef2f7; --bs-btn-border-color: #eef2f7; --bs-btn-hover-bg: #dde4ee; --bs-btn-hover-border-color: #dde4ee; --bs-btn-color: #313a46; }
.btn-outline-primary { --bs-btn-color: #727cf5; --bs-btn-border-color: #727cf5; --bs-btn-hover-bg: #727cf5; --bs-btn-hover-border-color: #727cf5; --bs-btn-active-bg: #727cf5; --bs-btn-active-border-color: #727cf5; }
.btn-outline-success { --bs-btn-color: #0acf97; --bs-btn-border-color: #0acf97; --bs-btn-hover-bg: #0acf97; --bs-btn-hover-border-color: #0acf97; }
.btn-outline-danger { --bs-btn-color: #fa5c7c; --bs-btn-border-color: #fa5c7c; --bs-btn-hover-bg: #fa5c7c; --bs-btn-hover-border-color: #fa5c7c; }
.btn-outline-secondary { --bs-btn-color: #6c757d; --bs-btn-border-color: #dee2e6; --bs-btn-hover-bg: #f1f3fa; --bs-btn-hover-color: #313a46; --bs-btn-hover-border-color: #dee2e6; }
.btn-soft-primary { background: rgba(var(--sp-primary-rgb), .15); color: var(--sp-primary); border: 0; }
.btn-soft-primary:hover { background: var(--sp-primary); color: #fff; }
.btn:focus-visible { box-shadow: 0 0 0 .15rem rgba(var(--sp-primary-rgb), .35); }
.badge { font-weight: 700; padding: .3em .55em; border-radius: .25rem; }
.text-bg-primary { background-color: #727cf5 !important; } .text-bg-success { background-color: #0acf97 !important; } .text-bg-danger { background-color: #fa5c7c !important; }
.text-bg-warning { background-color: #ffbc00 !important; } .text-bg-info { background-color: #39afd1 !important; color: #fff !important; } .text-bg-secondary { background-color: #6c757d !important; }
.text-bg-light { background-color: #eef2f7 !important; color: #313a46 !important; }
.badge-primary-lighten { color: #727cf5; background: rgba(114,124,245,.18); } .badge-success-lighten { color: #0acf97; background: rgba(10,207,151,.18); }
.badge-danger-lighten { color: #fa5c7c; background: rgba(250,92,124,.18); } .badge-warning-lighten { color: #ffbc00; background: rgba(255,188,0,.18); }
.badge-info-lighten { color: #39afd1; background: rgba(57,175,209,.18); } .badge-secondary-lighten { color: #6c757d; background: rgba(108,117,125,.18); }
.badge-source-munnashop { background: rgba(255,188,0,.18); color: #c48f00; } .badge-source-own { background: rgba(10,207,151,.18); color: #09a57a; }
.alert { border: 0; border-radius: var(--sp-radius); font-size: .875rem; }
.alert-success { background: rgba(10,207,151,.15); color: #078c66; } .alert-danger { background: rgba(250,92,124,.15); color: #c43f5b; }
.alert-warning { background: rgba(255,188,0,.15); color: #9e7600; } .alert-info { background: rgba(57,175,209,.15); color: #24819c; }
.nav-tabs { border-bottom-color: #eef2f7; } .nav-tabs .nav-link { color: #6c757d; font-weight: 600; border: 0; border-bottom: 2px solid transparent; }
.nav-tabs .nav-link.active { color: var(--sp-primary); border-bottom-color: var(--sp-primary); background: transparent; }
.nav-pills .nav-link { color: #6c757d; font-weight: 600; } .nav-pills .nav-link.active { background: var(--sp-primary); box-shadow: 0 2px 6px 0 rgba(114,124,245,.5); }
.list-group-item { border-color: #eef2f7; color: var(--sp-text); }
.list-group-item.active { background: var(--sp-primary); border-color: var(--sp-primary); }
.dropdown-menu { border: 0; border-radius: var(--sp-radius); font-size: .875rem; box-shadow: 0 0 35px 0 rgba(154,161,171,.25); }
.dropdown-item { padding: .4rem 1.2rem; color: #6c757d; } .dropdown-item:hover { background: #f4f6fb; color: var(--sp-heading); }
.dropdown-item.active, .dropdown-item:active { background: var(--sp-primary); color: #fff; }
.modal-content { border: 0; border-radius: var(--sp-radius); } .modal-header { border-bottom-color: #eef2f7; } .modal-footer { border-top-color: #eef2f7; }
.progress { background: #eef2f7; } .progress-bar { background-color: var(--sp-primary); }
.toast { border-radius: var(--sp-radius); }

/* ---------- settings / theme page helpers ---------- */
.sp-settings-nav .nav-link { display: flex; align-items: center; gap: .6rem; color: #6c757d; padding: .65rem 1rem; border-radius: var(--sp-radius); font-weight: 600; }
.sp-settings-nav .nav-link.active { background: rgba(var(--sp-primary-rgb), .12); color: var(--sp-primary); box-shadow: none; }
.sp-swatch { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #dee2e6; display: inline-block; cursor: pointer; }
.sp-option-card { border: 2px solid #eef2f7; border-radius: var(--sp-radius); padding: .75rem; cursor: pointer; text-align: center; transition: .15s; display: block; background: #fff; }
.sp-option-card:hover { border-color: rgba(var(--sp-primary-rgb), .45); }
.btn-check:checked + .sp-option-card { border-color: var(--sp-primary); background: rgba(var(--sp-primary-rgb), .06); }

/* ---------- media library / picker ---------- */
.media-picker-trigger { cursor: pointer; } .media-picker-trigger .form-control { background: #fff; cursor: pointer; }
.media-previews { display: flex; flex-wrap: wrap; gap: .5rem; } .media-previews:not(:empty) { margin-top: .6rem; }
.media-preview { position: relative; width: 84px; height: 84px; border-radius: var(--sp-radius); border: 1px solid #eef2f7; background: #f8f9fc; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.media-preview img { width: 100%; height: 100%; object-fit: cover; } .media-preview > i { font-size: 1.8rem; color: #98a6ad; }
.media-remove { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(250,92,124,.92); color: #fff; font-size: 1rem; line-height: 1; display: flex; align-items: center; justify-content: center; padding: 0; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .9rem; }
.media-grid-lg { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.media-card { position: relative; border: 2px solid transparent; border-radius: var(--sp-radius); background: #fff; box-shadow: var(--sp-card-shadow); cursor: pointer; overflow: hidden; transition: border-color .15s, transform .15s; }
.media-card:hover { transform: translateY(-2px); border-color: rgba(var(--sp-primary-rgb), .35); }
.media-card.selected { border-color: var(--sp-primary); }
.media-thumb { aspect-ratio: 1/1; background: #f1f3fa; display: flex; align-items: center; justify-content: center; position: relative; }
.media-thumb img { width: 100%; height: 100%; object-fit: cover; } .media-thumb > i { font-size: 2.5rem; color: #98a6ad; }
.media-check { position: absolute; top: .4rem; right: .4rem; width: 24px; height: 24px; border-radius: 50%; background: var(--sp-primary); color: #fff; display: none; align-items: center; justify-content: center; font-size: .9rem; }
.media-card.selected .media-check { display: flex; }
.media-card .fm-check { position: absolute; top: .5rem; left: .5rem; z-index: 2; width: 1.15rem; height: 1.15rem; }
.media-meta { padding: .5rem .65rem; font-size: .8rem; color: var(--sp-heading); } .media-meta small { color: #98a6ad; font-size: .72rem; }
.media-dropzone { display: block; border: 2px dashed #c9d2e3; border-radius: var(--sp-radius); background: #fafbfe; padding: 2.5rem 1rem; text-align: center; cursor: pointer; transition: .15s; margin: 0; }
.media-dropzone > i { font-size: 2.6rem; color: var(--sp-primary); display: block; margin-bottom: .4rem; }
.media-dropzone:hover, .media-dropzone.is-drag { border-color: var(--sp-primary); background: rgba(var(--sp-primary-rgb), .05); }
.media-upload-row { padding: .55rem .75rem; border: 1px solid #eef2f7; border-radius: var(--sp-radius); margin-bottom: .5rem; background: #fff; }
#mediaModal .modal-body { min-height: 55vh; background: #fafbfe; }

/* ---------- existing feature styles ---------- */
.builder-canvas { min-height: 60vh; background: #fff; border: 2px dashed #e2e8f0; border-radius: .75rem; padding: .75rem; }
.builder-item { border: 1px solid #e2e8f0; border-radius: .6rem; background: #fff; margin-bottom: .5rem; cursor: grab; }
.builder-item.active { border-color: var(--sp-primary); box-shadow: 0 0 0 3px rgba(114,124,245,.15); }
.builder-item .handle { cursor: grab; color: #94a3b8; }
.sortable-ghost { opacity: .4; }
.timeline { border-left: 2px solid #e5e7eb; padding-left: 1rem; }
.timeline .t-item { position: relative; margin-bottom: .75rem; }
.timeline .t-item:before { content: ""; position: absolute; left: -1.36rem; top: .35rem; width: .7rem; height: .7rem; border-radius: 50%; background: var(--sp-primary); }
.auth-wrap { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(135deg, #eef0fe, #f0f9ff); }
/* legacy layout (admin panel) */
.sp-sidebar .brand { color: #fff; font-weight: 700; font-size: 1.15rem; padding: 1rem 1.25rem; display: block; text-decoration: none; }
.sp-sidebar .nav-link { color: var(--sp-sidebar-text); padding: .55rem 1.25rem; font-size: .9rem; border-left: 3px solid transparent; }
.sp-sidebar .nav-link i { width: 1.4rem; display: inline-block; }
.sp-sidebar .nav-link:hover, .sp-sidebar .nav-link.active { color: #fff; background: rgba(255,255,255,.05); border-left-color: var(--sp-primary); }
.sp-sidebar .nav-section { color: var(--sp-sidebar-text); opacity: .75; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 1rem 1.25rem .25rem; }
.media-compact-btn { position: relative; width: 44px; height: 44px; border-radius: .35rem; border: 1px dashed #c9d2e3; background: #f1f3fa; padding: 0; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; color: #98a6ad; }
.media-compact-btn img { width: 100%; height: 100%; object-fit: cover; }
.media-compact-btn > span { position: absolute; inset: 0; background: rgba(49,58,70,.55); color: #fff; display: none; align-items: center; justify-content: center; }
.media-compact-btn:hover > span { display: flex; }
