/* =====================================================================
   Super Vision - application design system (v2)
   Shell (sidebar + topbar), dashboards, lists, forms, tables, platform panel
   ===================================================================== */
:root {
    --sv-ink: #0b1b3a;
    --sv-navy: #0f2a5e;
    --sv-navy-2: #173a7a;
    --sv-gold: #f5a524;
    --sv-gold-2: #ffcb5c;
    --sv-canvas: #f3f5fa;
    --sv-card: #ffffff;
    --sv-line: #e5e9f2;
    --sv-text: #18233f;
    --sv-muted: #66739a;
    --sv-ok: #0f9d58;
    --sv-bad: #e5484d;
    --sv-info: #2f6fed;
    --sv-violet: #6d4ae6;
    --sv-teal: #0aa6a6;
    --sv-radius: 16px;
    --sv-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 28px rgba(16, 24, 40, .06);
    --sv-shadow-lg: 0 18px 50px rgba(11, 27, 58, .18);
    --sbw: 280px;
    --tbh: 70px;
    --sv-font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--sv-font); background: var(--sv-canvas) !important; color: var(--sv-text); -webkit-font-smoothing: antialiased; letter-spacing: -.005em; }
.wrapper, .bg-ash { background: transparent !important; }
a { color: var(--sv-navy-2); }
h1, h2, h3, h4, h5 { font-family: var(--sv-font); color: var(--sv-ink); letter-spacing: -.015em; }

/* ============================ SHELL ============================ */
.dashboard-page-one { display: block !important; }
.dashboard-content-one {
    display: block !important; margin-left: var(--sbw); padding: calc(var(--tbh) + 26px) 30px 30px !important; min-height: 100vh; overflow: visible !important;
    transition: margin-left .25s ease;
}
body.sv-collapsed { --sbw: 88px; }

/* ---- sidebar ---- */
.sv-sidebar {
    position: fixed; z-index: 1040; inset: 0 auto 0 0; width: var(--sbw); display: flex; flex-direction: column;
    background: radial-gradient(120% 70% at 0% 0%, #1a4a96 0%, #0d2a62 38%, #071a40 100%); color: #dbe6fb; transition: width .25s ease, transform .25s ease;
    box-shadow: 6px 0 40px rgba(7, 22, 55, .22);
}
.sv-brand { padding: 18px 18px 8px; }
.sv-logo-plate { background: #fff; border-radius: 14px; padding: 8px 12px; display: flex; align-items: center; justify-content: center; height: 62px; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); overflow: hidden; }
.sv-logo-plate img { max-height: 42px; max-width: 100%; object-fit: contain; }
.sv-school { margin: 12px 4px 4px; display: flex; align-items: center; gap: 10px; }
.sv-school .mono { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--sv-gold), #ff8a3d); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: 0 0 34px; }
.sv-school b { display: block; color: #fff; font-size: 13.5px; line-height: 1.2; max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sv-school span { font-size: 11.5px; color: #8fa6d6; }
.sv-nav { flex: 1; overflow-y: auto; padding: 6px 14px 16px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent; }
.sv-nav::-webkit-scrollbar { width: 6px; } .sv-nav::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .2); border-radius: 6px; }
.sv-sec { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #7f98cc; font-weight: 700; padding: 16px 12px 6px; white-space: nowrap; }
.sv-item-link {
    display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin: 2px 0; border-radius: 12px; color: #d6e2fa !important; text-decoration: none !important;
    font-size: 14.5px; font-weight: 500; position: relative; transition: background .16s, color .16s, transform .12s;
}
.sv-item-link lord-icon { width: 24px !important; height: 24px !important; flex: 0 0 24px; padding: 0 !important; margin: 0 !important; }
.sv-item-link .lbl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-item-link:hover { background: rgba(255, 255, 255, .09); color: #fff !important; transform: translateX(2px); }
.sv-item-link.active { background: linear-gradient(90deg, rgba(245, 165, 36, .30), rgba(245, 165, 36, .06)); color: #fff !important; font-weight: 700; box-shadow: inset 3px 0 0 var(--sv-gold); }
.sv-item-link .pill { margin-left: auto; font-size: 10px; font-weight: 800; background: var(--sv-gold); color: #3b2500; border-radius: 999px; padding: 2px 8px; }
.sv-side-foot { padding: 12px 14px 16px; border-top: 1px solid rgba(255, 255, 255, .09); }
.sv-me { display: flex; align-items: center; gap: 11px; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, .07); }
.sv-me .av { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, #3b82f6, #6d4ae6); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: 0 0 40px; }
.sv-me .who { min-width: 0; flex: 1; } .sv-me b { display: block; color: #fff; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sv-me span { font-size: 11.5px; color: #8fa6d6; }
.sv-me a { color: #cfe0ff !important; padding: 7px; border-radius: 10px; display: flex; } .sv-me a:hover { background: rgba(255, 255, 255, .12); }
.sv-me svg { width: 18px; height: 18px; }

body.sv-collapsed .sv-sidebar .sv-school .who, body.sv-collapsed .sv-sidebar .lbl, body.sv-collapsed .sv-sidebar .sv-sec, body.sv-collapsed .sv-sidebar .sv-me .who, body.sv-collapsed .sv-sidebar .pill { display: none; }
body.sv-collapsed .sv-sidebar .sv-item-link { justify-content: center; padding: 11px 0; }
body.sv-collapsed .sv-sidebar .sv-logo-plate { padding: 6px; } body.sv-collapsed .sv-sidebar .sv-logo-plate img { max-height: 36px; }
body.sv-collapsed .sv-sidebar .sv-me { justify-content: center; } body.sv-collapsed .sv-sidebar .sv-me a { display: none; }

/* ---- topbar ---- */
.sv-topbar {
    position: fixed; z-index: 1030; top: 0; left: var(--sbw); right: 0; height: var(--tbh); display: flex; align-items: center; gap: 16px; padding: 0 30px;
    background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--sv-line); transition: left .25s ease;
}
.sv-burger { border: 0; background: #eef2f9; width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--sv-navy); flex: 0 0 42px; }
.sv-burger:hover { background: #e2e9f6; } .sv-burger svg { width: 20px; height: 20px; }
.sv-title { min-width: 0; line-height: 1.2; }
.sv-title h1 { margin: 0; font-size: 19px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-title small { color: var(--sv-muted); font-size: 12.5px; }
.sv-search { margin-left: auto; position: relative; flex: 0 1 340px; }
.sv-search input { width: 100%; height: 42px; border-radius: 12px; border: 1px solid var(--sv-line); background: #f6f8fc; padding: 0 14px 0 40px; font-size: 14px; outline: none; transition: border-color .15s, box-shadow .15s, background .15s; }
.sv-search input:focus { background: #fff; border-color: #9db6e6; box-shadow: 0 0 0 4px rgba(47, 111, 237, .12); }
.sv-search svg { position: absolute; left: 13px; top: 12px; width: 18px; height: 18px; color: var(--sv-muted); }
.sv-top-actions { display: flex; gap: 8px; }
.sv-user { position: relative; }
.sv-user > button { display: flex; align-items: center; gap: 10px; border: 1px solid var(--sv-line); background: #fff; border-radius: 14px; padding: 5px 12px 5px 6px; cursor: pointer; }
.sv-user .av { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--sv-navy-2), var(--sv-violet)); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.sv-user .who { text-align: left; line-height: 1.15; } .sv-user .who b { display: block; font-size: 13px; color: var(--sv-ink); max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sv-user .who span { font-size: 11.5px; color: var(--sv-muted); }
.sv-menu { position: absolute; right: 0; top: 52px; width: 232px; background: #fff; border: 1px solid var(--sv-line); border-radius: 14px; box-shadow: var(--sv-shadow-lg); padding: 8px; display: none; z-index: 5; }
.sv-menu.open { display: block; animation: svpop .14s ease; }
.sv-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--sv-text) !important; text-decoration: none !important; font-size: 14px; font-weight: 600; }
.sv-menu a:hover { background: #f1f5fc; } .sv-menu a.danger { color: var(--sv-bad) !important; } .sv-menu hr { margin: 6px 4px; border-color: var(--sv-line); }
.sv-menu .head { padding: 8px 12px 6px; font-size: 12px; color: var(--sv-muted); }
@keyframes svpop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.sv-backdrop { display: none; position: fixed; inset: 0; background: rgba(7, 18, 40, .5); z-index: 1035; }
.sv-banner { background: linear-gradient(90deg, #fff3d6, #ffe7ad); border: 1px solid #f3d27a; color: #6a4700; border-radius: 12px; padding: 10px 16px; margin-bottom: 18px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 14px; }

@media (max-width: 991px) {
    :root { --sbw: 0px; }
    .sv-sidebar { transform: translateX(-100%); width: 280px; } body.sv-drawer .sv-sidebar { transform: none; } body.sv-drawer .sv-backdrop { display: block; }
    .sv-topbar { left: 0; padding: 0 14px; } .dashboard-content-one { margin-left: 0; padding: calc(var(--tbh) + 18px) 14px 24px !important; }
    .sv-search { display: none; } .sv-user .who { display: none; } .sv-top-actions .sv-btn span { display: none; }
    body.sv-collapsed { --sbw: 0px; } body.sv-collapsed .sv-sidebar .lbl, body.sv-collapsed .sv-sidebar .sv-sec, body.sv-collapsed .sv-sidebar .sv-school .who, body.sv-collapsed .sv-sidebar .sv-me .who { display: revert; }
}

/* ============================ PAGE HEADER ============================ */
.sv-page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin: 0 0 20px; }
.sv-page-head h2 { margin: 0; font-size: 26px; font-weight: 800; }
.sv-page-head p { margin: 4px 0 0; color: var(--sv-muted); font-size: 14.5px; max-width: 720px; }
.sv-tabs a { font-weight: 600; }
.sv-greet { background: linear-gradient(120deg, #0f2a5e 0%, #1a4a96 55%, #2d6cdf 100%); color: #fff; border-radius: 20px; padding: 26px 30px; position: relative; overflow: hidden; margin-bottom: 22px; box-shadow: var(--sv-shadow-lg); }
.sv-greet::after { content: ""; position: absolute; right: -60px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 165, 36, .55), transparent 65%); }
.sv-greet::before { content: ""; position: absolute; right: 120px; bottom: -110px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 65%); }
.sv-greet h2 { color: #fff; margin: 0 0 4px; font-size: 24px; } .sv-greet p { margin: 0; color: #c9d9fb; font-size: 14.5px; position: relative; z-index: 1; }
.sv-greet .acts { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ============================ CARDS & GRID ============================ */
.card { border: 1px solid var(--sv-line) !important; border-radius: var(--sv-radius) !important; box-shadow: var(--sv-shadow) !important; background: #fff; height: auto !important; }
.card .card-body { padding: 24px; }
.sv-grid-kpi { display: grid; grid-template-columns: repeat(auto-fit, minmax(186px, 1fr)); gap: 16px; margin-bottom: 22px; }
.sv-kpi { background: #fff; border: 1px solid var(--sv-line); border-radius: var(--sv-radius); box-shadow: var(--sv-shadow); padding: 18px 20px; display: flex; gap: 16px; align-items: center; text-decoration: none !important; color: inherit !important; transition: transform .15s, box-shadow .15s; position: relative; overflow: hidden; }
a.sv-kpi:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(11, 27, 58, .12); }
.sv-kpi .ic { width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center; flex: 0 0 54px; }
.sv-kpi .ic svg { width: 26px; height: 26px; }
.sv-kpi .v { font-size: 27px; font-weight: 800; color: var(--sv-ink); line-height: 1.1; }
.sv-kpi .l { font-size: 12.5px; color: var(--sv-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.sv-kpi .s { font-size: 12.5px; color: var(--sv-muted); margin-top: 2px; }
.tone-blue .ic { background: #e6efff; color: #2f6fed; } .tone-green .ic { background: #e2f6ec; color: #0f9d58; } .tone-gold .ic { background: #fff1d6; color: #d98a00; }
.tone-violet .ic { background: #ece6ff; color: #6d4ae6; } .tone-red .ic { background: #ffe8e9; color: #e5484d; } .tone-teal .ic { background: #def5f5; color: #0aa6a6; }
.sv-cols { display: grid; gap: 18px; grid-template-columns: repeat(12, 1fr); margin-bottom: 18px; }
.sv-cols > .c4 { grid-column: span 4; } .sv-cols > .c5 { grid-column: span 5; } .sv-cols > .c6 { grid-column: span 6; } .sv-cols > .c7 { grid-column: span 7; } .sv-cols > .c8 { grid-column: span 8; } .sv-cols > .c12 { grid-column: span 12; }
@media (max-width: 1199px) { .sv-cols > .c4, .sv-cols > .c5, .sv-cols > .c6, .sv-cols > .c7, .sv-cols > .c8 { grid-column: span 12; } }
.sv-card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.sv-card-h h3 { margin: 0; font-size: 16.5px; font-weight: 800; } .sv-card-h a { font-size: 13px; font-weight: 700; text-decoration: none; }
.sv-card-h .sub { color: var(--sv-muted); font-size: 12.5px; }

/* bar chart (pure CSS) */
.sv-bars { display: flex; align-items: flex-end; gap: 12px; height: 190px; padding: 6px 4px 0; }
.sv-bars .b { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; min-width: 0; }
.sv-bars .bar { width: 100%; max-width: 46px; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, #4f86f0, #2757c4); position: relative; min-height: 4px; transition: filter .15s; }
.sv-bars .bar.today { background: linear-gradient(180deg, #ffc24d, #f5a524); }
.sv-bars .bar:hover { filter: brightness(1.08); }
.sv-bars .bar em { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 11px; font-weight: 700; color: var(--sv-ink); white-space: nowrap; }
.sv-bars .x { font-size: 11.5px; color: var(--sv-muted); margin-top: 8px; font-weight: 600; }
.sv-donut-wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.sv-donut { position: relative; width: 150px; height: 150px; flex: 0 0 150px; }
.sv-donut .mid { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sv-donut .mid b { font-size: 28px; color: var(--sv-ink); line-height: 1; } .sv-donut .mid span { font-size: 11.5px; color: var(--sv-muted); font-weight: 600; }
.sv-legend { display: grid; gap: 9px; font-size: 14px; } .sv-legend div { display: flex; align-items: center; gap: 9px; } .sv-legend i { width: 11px; height: 11px; border-radius: 4px; display: inline-block; } .sv-legend b { margin-left: auto; padding-left: 16px; }
.sv-progress { height: 9px; border-radius: 999px; background: #edf1f9; overflow: hidden; } .sv-progress > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #4f86f0, #2757c4); }
.sv-rows .r { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--sv-line); } .sv-rows .r:last-child { border-bottom: 0; }
.sv-rows .r .t { min-width: 0; flex: 1; } .sv-rows .r b { display: block; font-size: 14px; color: var(--sv-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sv-rows .r small { color: var(--sv-muted); font-size: 12.5px; }
.sv-rows .r .amt { font-weight: 800; color: var(--sv-ink); white-space: nowrap; }
.sv-av { width: 38px; height: 38px; border-radius: 12px; background: #e6efff; color: #2f6fed; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: 0 0 38px; overflow: hidden; font-size: 14px; }
.sv-av img { width: 100%; height: 100%; object-fit: cover; }
.sv-av.t1 { background: #e6efff; color: #2f6fed; } .sv-av.t2 { background: #e2f6ec; color: #0f9d58; } .sv-av.t3 { background: #fff1d6; color: #d98a00; } .sv-av.t4 { background: #ece6ff; color: #6d4ae6; } .sv-av.t5 { background: #ffe8e9; color: #e5484d; } .sv-av.t6 { background: #def5f5; color: #0aa6a6; }
.sv-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.sv-quick a { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 14px; background: #f6f8fd; border: 1px solid var(--sv-line); text-decoration: none !important; color: var(--sv-ink) !important; font-weight: 700; font-size: 14px; transition: transform .14s, background .14s, box-shadow .14s; }
.sv-quick a:hover { transform: translateY(-3px); background: #fff; box-shadow: var(--sv-shadow); }
.sv-quick a .q { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; } .sv-quick a .q svg { width: 22px; height: 22px; }

/* ============================ LIST PAGES ============================ */
.sv-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.sv-toolbar .grow { flex: 1 1 260px; position: relative; } .sv-toolbar .grow svg { position: absolute; left: 13px; top: 13px; width: 18px; height: 18px; color: var(--sv-muted); }
.sv-toolbar input[type=search], .sv-toolbar input[type=text], .sv-toolbar select { height: 44px; border-radius: 12px; border: 1px solid var(--sv-line); background: #fff; padding: 0 14px; font-size: 14px; outline: none; }
.sv-toolbar .grow input { width: 100%; padding-left: 40px; } .sv-toolbar input:focus, .sv-toolbar select:focus { border-color: #9db6e6; box-shadow: 0 0 0 4px rgba(47, 111, 237, .12); }
.sv-table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--sv-line); background: #fff; }
.sv-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.sv-table th { background: #f6f8fc; color: var(--sv-muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; padding: 13px 16px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--sv-line); position: sticky; top: 0; }
.sv-table td { padding: 13px 16px; border-bottom: 1px solid #eef1f8; vertical-align: middle; }
.sv-table tr:last-child td { border-bottom: 0; }
.sv-table tbody tr { transition: background .12s; } .sv-table tbody tr.link { cursor: pointer; } .sv-table tbody tr:hover { background: #f7faff; }
.sv-person { display: flex; align-items: center; gap: 12px; min-width: 190px; } .sv-person b { display: block; color: var(--sv-ink); font-size: 14px; } .sv-person small { color: var(--sv-muted); font-size: 12.5px; }
.sv-chip { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #eef2f9; color: #3d4d75; white-space: nowrap; }
.sv-chip.blue { background: #e6efff; color: #1f55c4; } .sv-chip.green { background: #e2f6ec; color: #0b7a43; } .sv-chip.gold { background: #fff1d6; color: #a86500; } .sv-chip.red { background: #ffe8e9; color: #b3262b; } .sv-chip.violet { background: #ece6ff; color: #5333c9; } .sv-chip.teal { background: #def5f5; color: #077a7a; }
.sv-pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 14px 4px 0; color: var(--sv-muted); font-size: 13px; }
.sv-pager .pg { display: flex; gap: 6px; } .sv-pager .pg button { min-width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--sv-line); background: #fff; font-weight: 700; color: var(--sv-navy); cursor: pointer; }
.sv-pager .pg button.on { background: var(--sv-navy); color: #fff; border-color: var(--sv-navy); } .sv-pager .pg button:disabled { opacity: .4; cursor: default; }
.sv-empty { text-align: center; color: var(--sv-muted); padding: 44px 10px; }

/* ============================ BUTTONS ============================ */
.sv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 12px; padding: 10px 18px; font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none !important; white-space: nowrap; transition: transform .12s, box-shadow .18s, background .18s, color .18s; line-height: 1.2; font-family: var(--sv-font); }
.sv-btn:hover { transform: translateY(-1px); } .sv-btn:active { transform: none; } .sv-btn svg { width: 17px; height: 17px; }
.sv-btn-primary { background: linear-gradient(135deg, #1a4a96, #0f2a5e); color: #fff !important; box-shadow: 0 6px 16px rgba(15, 42, 94, .28); }
.sv-btn-amber { background: linear-gradient(135deg, #ffbe3d, #f59e0b); color: #fff !important; box-shadow: 0 6px 16px rgba(245, 158, 11, .35); }
.sv-btn-light { background: #eef2f9; color: var(--sv-navy) !important; } .sv-btn-light:hover { background: #e1e8f5; }
.sv-btn-ghost { background: rgba(255, 255, 255, .14); color: #fff !important; border-color: rgba(255, 255, 255, .28); } .sv-btn-ghost:hover { background: rgba(255, 255, 255, .24); }
.sv-btn-danger { background: #ffecec; color: #b3262b !important; border-color: #ffd0d1; } .sv-btn-danger:hover { background: #e5484d; color: #fff !important; }
.sv-btn-ok { background: #e2f6ec; color: #0b7a43 !important; }
.sv-btn-lg { padding: 14px 26px; font-size: 15.5px; } .sv-btn-sm { padding: 6px 12px; font-size: 13px; border-radius: 10px; }
.sv-btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.sv-top-actions .sv-btn { padding: 9px 14px; }

/* ============================ FORMS (old template forms) ============================ */
.form-control, .new-added-form .form-control, .select2-container--default .select2-selection--single { border-radius: 12px !important; border: 1px solid var(--sv-line) !important; background: #fff !important; min-height: 46px; box-shadow: none !important; color: var(--sv-text); }
.form-control:focus, .select2-container--default.select2-container--focus .select2-selection--single { border-color: #9db6e6 !important; box-shadow: 0 0 0 4px rgba(47, 111, 237, .12) !important; }
label { font-weight: 700; color: #2b3857; font-size: 13px; }
.new-added-form .form-group label { margin-bottom: 7px; }
.heading-layout1 .item-title h3 { font-size: 18px; font-weight: 800; color: var(--sv-ink); padding-left: 14px; position: relative; }
.heading-layout1 .item-title h3::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 4px; background: var(--sv-gold); }
.table thead th { background: #f6f8fc; color: var(--sv-muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; border-bottom: 1px solid var(--sv-line) !important; }
.table td { border-color: #eef1f8 !important; vertical-align: middle; }
.alert { border-radius: 12px; border: 0; box-shadow: var(--sv-shadow); font-weight: 500; }
.alert-primary { background: #e7f7ee; color: #115c36; border-left: 4px solid var(--sv-ok); } .alert-danger { background: #ffeceb; color: #8f1d22; border-left: 4px solid var(--sv-bad); }
.footer-wrap-layout1 { margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--sv-line); color: var(--sv-muted); font-size: 12.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-wrap-layout1 a { color: var(--sv-navy-2); font-weight: 700; }

/* ============================ PLATFORM (super admin) ============================ */
.pf-body { background: var(--sv-canvas) !important; min-height: 100vh; }
.pf-top { background: linear-gradient(120deg, #0a1f4a, #123a80); color: #fff; padding: 0 30px; height: 68px; display: flex; align-items: center; gap: 18px; box-shadow: 0 6px 24px rgba(7, 22, 55, .25); position: sticky; top: 0; z-index: 20; }
.pf-top .logo { background: #fff; border-radius: 12px; padding: 6px 12px; display: flex; align-items: center; height: 46px; } .pf-top .logo img { height: 32px; }
.pf-top .tag { background: rgba(245, 165, 36, .2); color: var(--sv-gold-2); border: 1px solid rgba(245, 165, 36, .5); border-radius: 999px; padding: 3px 12px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pf-top .sp { flex: 1; } .pf-top a.lnk { color: #d6e2fa; text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 10px; } .pf-top a.lnk:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.pf-wrap { max-width: 1240px; margin: 0 auto; padding: 28px 24px 60px; }
.pf-school { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr auto; gap: 14px; align-items: center; padding: 16px 20px; border-bottom: 1px solid #eef1f8; }
.pf-school:last-child { border-bottom: 0; }
@media (max-width: 991px) { .pf-school { grid-template-columns: 1fr 1fr; } }
.pf-copy { display: inline-flex; align-items: center; gap: 6px; background: #f1f5fc; border: 1px dashed #c9d6ee; border-radius: 10px; padding: 6px 10px; font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; color: var(--sv-navy); cursor: pointer; }
.pf-cred { border: 1px solid var(--sv-line); border-radius: 14px; padding: 14px 16px; background: #fff; }
.pf-cred b { color: var(--sv-ink); } .pf-cred code { background: #f1f5fc; padding: 2px 8px; border-radius: 8px; font-size: 13px; color: #123a80; }
.pf-login-bg { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 15% 10%, #1a4a96 0%, #0a1f4a 45%, #050f26 100%); padding: 24px; }
.pf-login { width: 100%; max-width: 420px; background: #fff; border-radius: 22px; box-shadow: 0 40px 100px rgba(2, 10, 28, .55); padding: 36px 36px 30px; }

/* ============================ LOGIN ============================ */
.lg-body { margin: 0; background: #071a40 !important; font-family: var(--sv-font); }
.lg-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.lg-brand { background: radial-gradient(120% 90% at 0% 0%, #2a63c4 0%, #123a80 40%, #071a40 100%); color: #dbe6fb; padding: 56px 64px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.lg-brand::after { content: ""; position: absolute; right: -120px; bottom: -140px; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 165, 36, .38), transparent 65%); }
.lg-plate { background: #fff; border-radius: 18px; padding: 10px 18px; align-self: flex-start; box-shadow: 0 14px 40px rgba(0, 0, 0, .25); margin-bottom: 44px; }
.lg-plate img { height: 54px; display: block; }
.lg-brand h1 { color: #fff; font-size: 44px; line-height: 1.1; font-weight: 800; margin: 0 0 16px; letter-spacing: -.03em; }
.lg-brand p { font-size: 17px; max-width: 460px; color: #bcd0f5; margin: 0 0 34px; }
.lg-brand ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; position: relative; z-index: 1; }
.lg-brand li { padding-left: 18px; border-left: 3px solid var(--sv-gold); } .lg-brand li b { display: block; color: #fff; font-size: 15.5px; } .lg-brand li span { font-size: 14px; color: #9db6e6; }
.lg-form { background: #f3f5fa; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 24px; position: relative; }
.lg-card { width: 100%; max-width: 440px; background: #fff; border-radius: 22px; padding: 38px 38px 30px; box-shadow: 0 30px 80px rgba(11, 27, 58, .14); border: 1px solid var(--sv-line); }
.lg-card h2 { margin: 0 0 4px; font-size: 28px; font-weight: 800; color: var(--sv-ink); letter-spacing: -.02em; }
.lg-sub { color: var(--sv-muted); font-size: 15px; margin: 0 0 22px; }
.lg-card label { display: block; font-size: 13px; font-weight: 700; color: #2b3857; margin: 14px 0 7px; }
.lg-card input[type=text], .lg-card input[type=password] { width: 100%; height: 50px; border: 1px solid var(--sv-line); border-radius: 13px; padding: 0 16px; font-size: 15px; background: #fafbfe; outline: none; transition: border-color .15s, box-shadow .15s, background .15s; font-family: var(--sv-font); }
.lg-card input:focus { border-color: #8fb0ee; background: #fff; box-shadow: 0 0 0 4px rgba(47, 111, 237, .13); }
.lg-pw { position: relative; } .lg-pw input { padding-right: 70px !important; }
.lg-pw button { position: absolute; right: 8px; top: 8px; height: 34px; border: 0; background: #eef2f9; color: var(--sv-navy); font-weight: 700; font-size: 12.5px; border-radius: 9px; padding: 0 12px; cursor: pointer; }
.lg-btn { width: 100%; margin-top: 22px; height: 52px; border: 0; border-radius: 14px; background: linear-gradient(135deg, #ffbe3d, #f59e0b); color: #fff; font-size: 16px; font-weight: 800; letter-spacing: .01em; cursor: pointer; box-shadow: 0 12px 26px rgba(245, 158, 11, .38); transition: transform .12s, box-shadow .15s; font-family: var(--sv-font); }
.lg-btn:hover { transform: translateY(-1px); box-shadow: 0 16px 32px rgba(245, 158, 11, .45); }
.lg-err { background: #ffeceb; color: #8f1d22; border-left: 4px solid var(--sv-bad); border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-bottom: 8px; font-weight: 600; }
.lg-foot { text-align: center; color: var(--sv-muted); font-size: 13px; margin: 20px 0 0; }
.lg-school { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #f3f7ff; border: 1px solid #dfe8fb; margin-bottom: 20px; }
.lg-school .mono { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--sv-gold), #ff8a3d); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.lg-school small { display: block; color: var(--sv-muted); font-size: 12px; } .lg-school b { color: var(--sv-ink); font-size: 15px; }
.lg-plat { position: absolute; bottom: 18px; right: 24px; font-size: 12.5px; color: #8a96b5 !important; text-decoration: none; } .lg-plat:hover { color: var(--sv-navy) !important; }
@media (max-width: 991px) { .lg-wrap { grid-template-columns: 1fr; } .lg-brand { padding: 30px 26px 34px; } .lg-brand h1 { font-size: 30px; } .lg-brand ul { display: none; } .lg-brand p { margin-bottom: 0; font-size: 15px; } .lg-plate { margin-bottom: 22px; } .lg-form { padding: 26px 16px 50px; } }
.sv-title { flex: 0 1 300px; min-width: 150px; } .sv-title small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-search { flex: 1 1 260px; max-width: 360px; }

.lg-demo { margin-top: 20px; padding: 14px 14px 10px; border-radius: 14px; background: #fff8e8; border: 1px dashed #f0cc7a; }
.lg-demo-h { font-weight: 800; font-size: 13px; color: #8a5a00; margin-bottom: 10px; letter-spacing: .02em; }
.lg-demo-b { display: flex; flex-wrap: wrap; gap: 8px; }
.lg-demo-b button { border: 1px solid #ecd08a; background: #fff; color: #6a4700; font-weight: 700; font-size: 13px; padding: 7px 14px; border-radius: 999px; cursor: pointer; transition: background .12s, transform .1s; }
.lg-demo-b button:hover { background: #ffe9b8; transform: translateY(-1px); }
.lg-demo-n { font-size: 12px; color: #9a7a30; margin-top: 8px; }
/* the template draws the card twice (padding + shadow on both .card and .card-body): keep one clean surface */
.card { padding-bottom: 0 !important; background: #fff !important; overflow: visible; }
.card > .card-body, .card .card-body { box-shadow: none !important; background: transparent !important; border-radius: var(--sv-radius) !important; }
.card .card { box-shadow: none !important; border: 1px solid var(--sv-line) !important; }
.card.height-auto, .height-auto { height: auto !important; }
.mt-5 { margin-top: 0 !important; }
.new-added-form .form-group { margin-bottom: 20px; }
.gutters-8 .form-group { margin-bottom: 12px; }
select.form-control, .form-select { padding-left: 14px; }
.fw-btn-fill.btn-gradient-yellow, .btn-gradient-yellow.fw-btn-fill { min-height: 46px; }
/* phones */
.dashboard-content-one { min-width: 0; }
@media (max-width: 575px) {
    .sv-grid-kpi { grid-template-columns: 1fr 1fr; gap: 10px; }
    .sv-kpi { padding: 12px; gap: 10px; flex-direction: column; align-items: flex-start; }
    .sv-kpi .ic { width: 42px; height: 42px; flex-basis: 42px; border-radius: 12px; } .sv-kpi .ic svg { width: 21px; height: 21px; }
    .sv-kpi .v { font-size: 20px; } .sv-kpi .l { font-size: 11px; }
    .sv-greet { padding: 20px 18px; } .sv-greet h2 { font-size: 20px; }
    .sv-page-head h2 { font-size: 22px; } .card .card-body { padding: 16px; }
    .sv-bars { gap: 6px; } .sv-bars .bar em { font-size: 9.5px; }
    .sv-topbar { gap: 8px; } .sv-title h1 { font-size: 16px; } .sv-title small { display: none; }
    .lg-card { padding: 28px 22px 24px; }
}
/* ---- final polish: white logo straight on the sidebar, login = just the box ---- */
.sv-logo-plate { background: none !important; box-shadow: none !important; padding: 0 4px !important; height: auto !important; justify-content: flex-start !important; border-radius: 0 !important; }
.sv-logo-plate img { height: 44px !important; max-width: 100%; }
body.sv-collapsed .sv-sidebar .sv-logo-plate { justify-content: center !important; padding: 0 !important; } body.sv-collapsed .sv-sidebar .sv-logo-plate img { height: 30px !important; width: auto; object-fit: cover; object-position: left center; max-width: 34px; }
.sv-brand { padding: 22px 20px 6px !important; }
.pf-top .logo { background: none !important; padding: 0 !important; height: auto !important; } .pf-top .logo img { height: 34px !important; }
.lg-body { background: radial-gradient(90% 60% at 50% 0%, #eaf1ff 0%, #f6f8fd 55%, #f3f5fa 100%) !important; }
.lg-wrap { min-height: 100vh; display: flex !important; flex-direction: column; align-items: center; justify-content: center; padding: 28px 16px; grid-template-columns: none !important; }
.lg-logo { height: 70px; margin: 0 0 22px; display: block; }
.lg-card { box-shadow: 0 24px 70px rgba(11, 27, 58, .12) !important; }
/* sidebar logo: 15% larger, centred */
.sv-logo-plate { justify-content: center !important; }
.sv-logo-plate img { height: 51px !important; }
body.sv-collapsed .sv-sidebar .sv-logo-plate img { height: 30px !important; }

/* KPI tiles: icon on top, value never wraps */
.sv-kpi { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px; }
.sv-kpi > div { min-width: 0; max-width: 100%; }
.sv-kpi .ic { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 13px; } .sv-kpi .ic svg { width: 22px; height: 22px; }
.sv-kpi .v { font-size: 26px; white-space: nowrap; }
.sv-kpi .l { font-size: 11.5px; }

/* checkboxes: the template hid the real input and drew a fake box that was offset from it - use the real, visible control everywhere */
.form-check { display: flex; align-items: center; gap: 10px; padding-left: 0 !important; margin: 0; min-height: 0; }
.form-check input[type="checkbox"], .form-check input[type="radio"], .form-check-input { position: static !important; opacity: 1 !important; margin: 0 !important; width: 18px !important; height: 18px !important; flex: 0 0 18px; cursor: pointer; accent-color: var(--sv-navy, #0b1b3a); }
.form-check label, .form-check-label { padding-left: 0 !important; margin: 0 !important; font-size: inherit; cursor: pointer; }
.form-check label::before, .form-check label::after, .form-check-label::before, .form-check-label::after { content: none !important; display: none !important; }
input[type="checkbox"], input[type="radio"] { cursor: pointer; }
label > input[type="checkbox"], label > input[type="radio"] { margin-right: 6px; vertical-align: -3px; width: 17px; height: 17px; }

/* sidebar: logo partition, no school-name block; school logo as profile picture */
.sv-brand { padding: 22px 20px 18px !important; margin-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.sv-nav { padding-top: 12px !important; }
.sv-me .av.has-logo, .sv-user .av.has-logo { background: #fff !important; padding: 2px; overflow: hidden; }
.sv-me .av img, .sv-user .av img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; display: block; }

.sv-me .av.has-logo, .sv-user .av.has-logo { background: transparent !important; padding: 0; }

/* ===== form engine ===== */
.sv-form .sv-fsec { margin-bottom: 18px; }
.sv-fh { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--sv-line, #e6ebf5); }
.sv-fh .no { width: 34px; height: 34px; border-radius: 11px; background: linear-gradient(135deg, #0b3a8a, #2f6fed); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; flex: 0 0 34px; }
.sv-fh h3 { margin: 0; font-size: 17px; font-weight: 800; color: var(--sv-ink, #0b1b3a); } .sv-fh p { margin: 2px 0 0; font-size: 13px; color: var(--sv-muted, #66749a); }
.sv-fgrid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px 20px; }
.sv-fld { grid-column: span 12; min-width: 0; }
@media (min-width: 768px) { .sv-fld.c3 { grid-column: span 6; } .sv-fld.c4 { grid-column: span 4; } .sv-fld.c6 { grid-column: span 6; } .sv-fld.c2 { grid-column: span 4; } }
@media (min-width: 1200px) { .sv-fld.c3 { grid-column: span 3; } .sv-fld.c2 { grid-column: span 2; } }
.sv-fld > label:first-child { display: block; font-size: 13px; font-weight: 700; color: #3b4a6e; margin-bottom: 6px; } .sv-fld .rq { color: #e5484d; font-style: normal; }
.sv-fld input:not([type=file]):not([type=checkbox]):not([type=radio]), .sv-fld select, .sv-fld textarea { width: 100%; border: 1.5px solid #dfe5f1; border-radius: 12px; padding: 11px 14px; font-size: 14.5px; background: #fff; color: var(--sv-ink, #0b1b3a); min-height: 46px; transition: border-color .15s, box-shadow .15s; }
.sv-fld input:focus, .sv-fld select:focus, .sv-fld textarea:focus { outline: 0; border-color: #2f6fed; box-shadow: 0 0 0 4px rgba(47, 111, 237, .12); }
.sv-fld input[disabled], .sv-fld select[disabled] { background: #f3f6fb; color: #7a88a8; }
.sv-fld .hn { display: block; color: var(--sv-muted, #66749a); margin-top: 5px; font-size: 12px; }
.sv-drop { display: flex !important; align-items: center; gap: 14px; border: 2px dashed #cbd5ea; border-radius: 14px; padding: 12px 14px; cursor: pointer; background: #f8faff; margin: 0 !important; }
.sv-drop:hover { border-color: #2f6fed; background: #f1f6ff; }
.sv-drop .pv { width: 62px; height: 62px; border-radius: 16px; background: #e6efff; color: #2f6fed; display: flex; align-items: center; justify-content: center; overflow: hidden; flex: 0 0 62px; } .sv-drop .pv svg { width: 28px; height: 28px; } .sv-drop .pv img { width: 100%; height: 100%; object-fit: cover; }
.sv-drop .tx b { display: block; color: var(--sv-ink, #0b1b3a); } .sv-drop .tx small { display: block; color: var(--sv-muted, #66749a); font-size: 12px; } .sv-drop .fn { font-style: normal; font-size: 12px; color: #2f6fed; font-weight: 600; }
.sv-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.sv-fbar { position: sticky; bottom: 0; z-index: 5; display: flex; gap: 10px; flex-wrap: wrap; padding: 14px 18px; margin: 6px 0 20px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border: 1px solid var(--sv-line, #e6ebf5); border-radius: 16px; box-shadow: 0 -6px 24px rgba(11, 27, 58, .08); }

.sv-pills { display: flex; flex-wrap: wrap; gap: 8px; } .sv-pills .pill { margin: 0; cursor: pointer; } .sv-pills input { position: absolute; opacity: 0; width: 0; height: 0; }
.sv-pills span { display: inline-block; min-width: 46px; text-align: center; padding: 10px 16px; border-radius: 12px; border: 1.5px solid #dfe5f1; font-weight: 700; color: #61709a; background: #fff; transition: .15s; }
.sv-pills input:checked + span { background: linear-gradient(135deg, #0b3a8a, #2f6fed); color: #fff; border-color: transparent; box-shadow: 0 6px 14px rgba(47, 111, 237, .3); }

/* ===== polish for the remaining classic pages ===== */
#pagination { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 16px; }
#pagination button { border: 1.5px solid #dfe5f1; background: #fff; color: #3b4a6e; border-radius: 10px; min-width: 40px; height: 38px; padding: 0 14px; font-weight: 700; font-size: 13px; cursor: pointer; transition: .15s; }
#pagination button:hover { border-color: #2f6fed; color: #2f6fed; } #pagination button.on { background: linear-gradient(135deg, #0b3a8a, #2f6fed); border-color: transparent; color: #fff; box-shadow: 0 6px 14px rgba(47, 111, 237, .28); }
#pagination span { color: #8a96b3; }
#search-bar { border-radius: 12px !important; border: 1.5px solid #dfe5f1 !important; background: #fff !important; min-height: 46px; }
#rows-dropdown { border: 1.5px solid #dfe5f1 !important; border-radius: 12px !important; background: #fff !important; height: 46px !important; padding: 0 12px; color: #3b4a6e; font-weight: 600; }
.heading-layout1 .item-title h3 { font-size: 18px; font-weight: 800; color: var(--sv-ink, #0b1b3a); }
.dashboard-content-one > .card, .dashboard-content-one .card.height-auto { border: 1px solid var(--sv-line, #e6ebf5); }
.fw-btn-fill, .btn-fill-lg { border-radius: 12px !important; font-weight: 700 !important; }
.new-added-form .form-control, .new-added-form select, .new-added-form textarea { border: 1.5px solid #dfe5f1; border-radius: 12px; min-height: 46px; }
.new-added-form .form-control:focus { border-color: #2f6fed; box-shadow: 0 0 0 4px rgba(47, 111, 237, .12); }
.new-added-form label { font-size: 13px; font-weight: 700; color: #3b4a6e; }
.table thead th { background: #f6f8fd; color: #61709a; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid #e6ebf5 !important; }
.table td { vertical-align: middle; }

/* ===== profile pages ===== */
.sv-prof-h { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--sv-line, #e6ebf5); }
.sv-prof-av { width: 86px; height: 86px; border-radius: 24px; background: linear-gradient(135deg, #e6efff, #ece6ff); color: #2f6fed; font-size: 30px; font-weight: 800; display: flex; align-items: center; justify-content: center; overflow: hidden; flex: 0 0 86px; }
.sv-prof-av img { width: 100%; height: 100%; object-fit: cover; }
.sv-prof-h .nm { flex: 1; min-width: 200px; } .sv-prof-h h3 { margin: 0 0 6px; font-size: 24px; font-weight: 800; color: var(--sv-ink, #0b1b3a); } .sv-prof-h .acts { display: flex; gap: 8px; }
.sv-delbox { margin-top: 16px; padding: 14px 16px; background: #fff4f4; border: 1px solid #ffd5d6; border-radius: 14px; gap: 10px; align-items: center; flex-wrap: wrap; } .sv-delbox span { color: #8a4b4d; font-size: 13px; flex: 1; min-width: 200px; } .sv-delbox input { border: 1.5px solid #f0c3c4; border-radius: 10px; padding: 9px 12px; min-width: 180px; }
.sv-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px 24px; padding-top: 20px; }
.sv-facts small { display: block; color: var(--sv-muted, #66749a); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; } .sv-facts b { color: var(--sv-ink, #0b1b3a); font-size: 15px; font-weight: 700; word-break: break-word; }

/* sidebar logo: +30% (51px -> 66px) */
.sv-logo-plate img { height: 66px !important; max-width: 100%; }
body.sv-collapsed .sv-sidebar .sv-logo-plate img { height: 30px !important; }

.sv-logo-plate img { max-height: none !important; height: 66px !important; width: auto !important; max-width: 100% !important; }
body.sv-collapsed .sv-sidebar .sv-logo-plate img { height: 30px !important; max-height: 30px !important; }

/* licence warning strip */
.sv-lic-banner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 14px 0 0; padding: 12px 18px; border-radius: 14px; background: #fff4dc; border: 1px solid #ffd98a; color: #6b4a00; font-size: 14px; }
.sv-lic-banner .ic { font-size: 20px; } .sv-lic-banner div { flex: 1; min-width: 220px; } .sv-lic-banner .sm { font-size: 13px; opacity: .85; }
.sv-lic-banner a { background: #0b1b3a; color: #fff !important; padding: 8px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.sv-lic-banner.red { background: #ffe8e9; border-color: #ffb9bc; color: #7c1519; }

/* sidebar logo: full logo when open, only the icon when collapsed */
.sv-logo-plate .lg-mini { display: none !important; }
body.sv-collapsed .sv-sidebar .sv-logo-plate .lg-full { display: none !important; }
body.sv-collapsed .sv-sidebar .sv-logo-plate .lg-mini { display: block !important; height: 40px !important; width: auto !important; max-width: 56px !important; max-height: none !important; object-fit: contain !important; margin: 0 auto; }
body.sv-collapsed .sv-sidebar .sv-brand { padding: 22px 10px 18px !important; }
