:root{--brand:#0866df;--ink:#112c50;--muted:#607590;--line:#e4ebf4;--canvas:#f3f7fc;--nav:#082649;--radius:16px}*{box-sizing:border-box}body{margin:0;font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:14px;color:var(--ink);background:var(--canvas);line-height:1.6}a{color:var(--brand);text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #f4b740;outline-offset:3px}button:disabled{opacity:.5;cursor:wait}h1,h2,h3,p{margin:0 0 12px}h1{font-size:30px;line-height:1.25;letter-spacing:-.7px}h2{font-size:18px;line-height:1.4}h3{font-size:16px}small,.small{font-size:12px}.muted{color:var(--muted)}.eyebrow{font-size:10px;font-weight:800;letter-spacing:2px;margin-bottom:12px;color:var(--brand)}.skip{position:fixed;top:-60px;left:12px;z-index:100;background:white;padding:10px}.skip:focus{top:12px}.sidebar{width:248px;position:fixed;inset:0 auto 0 0;background:linear-gradient(165deg,#092d54,#061f3d);color:#d5e5f9;padding:26px 16px;display:flex;flex-direction:column;z-index:30}.brand{display:flex;gap:12px;color:white;font-size:16px;font-weight:700;line-height:1.3;align-items:center;padding:0 6px 30px;overflow-wrap:anywhere}.brand small{display:block;font-size:10px;color:#a7c3e2;font-weight:400;margin-top:6px}.brand-icon{
    flex:none;
    width:42px;
    height:42px;
    border-radius:50%;
    background:#ffffff;
    padding:4px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    border:1px solid #d8e5f3;
}

.brand-icon img{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
}.brand-icon span{position:absolute;color:#67dcb9;right:5px;bottom:0}.nav-caption{color:#7396b9;font-size:9px;letter-spacing:2px;margin:12px}.nav-link{display:flex;align-items:center;gap:13px;color:#c9dbef;padding:12px 14px;border-radius:9px;margin:5px 0;font-size:13px}.nav-link>span{font-size:23px;width:25px;line-height:1}.nav-link:hover{background:#173b60;color:white}.nav-link.active{background:var(--brand);color:white;box-shadow:0 5px 14px #0002}.sidebar-bottom{margin-top:auto;padding:18px 12px;border:1px solid #254b70;border-radius:10px;font-size:12px}.sidebar-bottom small{display:block;color:#8daaca;margin:5px 0 0 15px;font-size:10px}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#43d5a5;margin-right:6px}.shell{margin-left:248px}.topbar{height:84px;padding:0 30px;background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;align-items:center}.top-left{display:flex;align-items:center;gap:15px;min-width:0}.top-left strong{font-size:16px}.topbar small{display:block;font-size:11px;color:var(--muted)}.topbar small span{padding:0 5px;color:#aec1d6}.account{display:flex;align-items:center;gap:10px}.account strong{font-size:12px}.avatar{display:grid;place-items:center;width:36px;height:36px;background:#e7f2ff;color:var(--brand);border-radius:50%;font-weight:700}.icon-button{border:0;background:none;color:var(--ink);font-size:23px;padding:6px;display:none}.text-button{background:none;border:0;color:var(--brand);padding:8px 4px;font-size:12px;font-weight:600}.text-button:hover{text-decoration:underline}main{padding:28px 30px;max-width:1600px;margin:auto;min-height:calc(100vh - 145px)}footer{text-align:center;color:#8a9bb0;padding:18px;font-size:10px}footer span{margin:0 10px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:5px 0 24px}.page-heading p{margin-bottom:0}.badge,.pill{display:inline-flex;align-items:center;background:#edf4ff;color:#18599e;padding:4px 10px;border-radius:20px;font-size:11px;font-weight:600;white-space:nowrap}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:0 3px 8px #1d467303;margin-bottom:22px;min-width:0}.card.fit{align-self:start}.card.narrow{max-width:680px}.button{border:0;border-radius:8px;background:var(--brand);color:white;padding:11px 18px;font-size:13px;font-weight:600;display:inline-flex;justify-content:center;gap:15px;align-items:center;min-height:44px}.button:hover{filter:brightness(.94)}.button.secondary{background:#edf3fb;color:var(--ink)}.button.full{width:100%;justify-content:space-between}.field{display:flex;flex-direction:column;gap:7px;margin:0 0 18px;font-size:12px;font-weight:600}.field input,.field select,.field textarea{border:1px solid #d5e0ed;border-radius:8px;padding:11px 12px;color:var(--ink);background:#fff;min-width:0;width:100%;font-weight:400;min-height:44px}.field input[type=color]{padding:5px;width:90px;height:45px}.field input[type=file]{font-size:11px}.field textarea{resize:vertical}fieldset{border:1px solid var(--line);border-radius:9px;margin:10px 0 20px;padding:12px}legend{font-size:12px;font-weight:600}.checks{display:flex;gap:20px;flex-wrap:wrap}.checks label{display:flex;align-items:center;gap:6px}.checks input{width:17px;height:17px;accent-color:var(--brand)}hr{border:0;border-top:1px solid var(--line);margin:24px 0}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:22px}.two-col.form-grid{gap:32px}.notice{padding:13px 18px;border-radius:9px;margin-bottom:20px}.notice.success{background:#e9f8f1;color:#176647;border:1px solid #bfebd5}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;white-space:nowrap}thead{background:#f3f7fc;color:#5d7390}th{font-size:11px;font-weight:600}th,td{padding:14px 12px;border-bottom:1px solid #edf1f7}td small{display:block;color:var(--muted);margin-top:3px}td form{margin:0}td:last-child{white-space:nowrap}.empty{text-align:center;padding:40px 20px}.empty p{font-size:13px;line-height:1.8}.empty-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:#f0f5fc;color:#7290b3;font-size:26px;margin:0 auto 14px}.green{background:#e5f7ef;color:#20845f}.blue{background:#e7f1ff;color:#0866df}.purple{background:#eee9ff;color:#7952d8}.orange{background:#fff1df;color:#d88620}.gray{background:#f0f3f7;color:#697c92}.hero{position:relative;background:linear-gradient(115deg,#06366c,#0b589b);overflow:hidden;border-radius:18px;color:white;min-height:235px;margin-bottom:24px}.hero-content{position:relative;z-index:2;padding:28px 32px;background:linear-gradient(90deg,#06366cfa 0%,#06366cde 42%,#06366c00 100%);min-height:235px}.hero .eyebrow{color:#8ebfeb;font-size:9px}.hero-title{display:flex;align-items:center;gap:19px}.hero h1{font-size:32px;margin-bottom:5px}.hero p{font-size:14px;color:#d8e8fa;margin-bottom:0}.hero .tagline{font-size:12px;font-style:italic;margin-top:16px}.school-logo{width:62px;height:66px;object-fit:contain;flex:none}.logo-fallback{display:grid;place-items:center;border:1px solid #7eb1de;background:#0a5485;border-radius:17px;font-size:38px}.hero-chip{display:inline-block;font-size:10px;letter-spacing:1px;background:#ffffff18;border:1px solid #ffffff30;border-radius:5px;padding:3px 10px;margin-top:12px}.hero-pattern{position:absolute;right:5%;top:-80px;font-size:370px;line-height:1;color:#6bb8ed1f;transform:rotate(-15deg)}.hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.stat{display:flex;gap:14px;align-items:flex-start;margin:0;padding:21px 17px}.stat p{font-size:11px;margin-bottom:2px}.stat strong{font-size:28px;line-height:1.4;display:block}.stat small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.stat-icon{width:42px;height:44px;display:grid;place-items:center;border-radius:13px;font-size:25px;flex:none}.dashboard-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:22px}.dashboard-grid>.card{margin:0}.section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.section-title h2{margin:0;font-size:16px}.setup-list{list-style:none;padding:0;margin:20px 0 0}.setup-list li{display:flex;gap:13px;align-items:flex-start;padding:17px 0;border-top:1px solid #edf2f7}.setup-list strong{font-size:12px}.setup-list p{font-size:11px;color:var(--muted);margin:3px 0 0}.setup-list .pill{margin-left:auto}.step{width:28px;height:28px;display:grid;place-items:center;flex:none;border-radius:50%;font-size:11px;font-weight:700;background:#e8f1ff;color:#0866df}.step.done{background:#e1f5ec;color:#20845f}.step.pending{background:#f0f3f7;color:#91a2b6}.quick-links{margin-top:22px}.quick-links a{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 0;border-top:1px solid var(--line)}.quick-links strong{font-size:12px}.quick-links small{display:block;color:var(--muted);font-size:10px}.contact-card{background:linear-gradient(140deg,#fff,#edf5ff)}.platform-callout{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:25px;background:#e6f0ff;border:1px solid #cfdef3;border-radius:16px;margin-bottom:24px}.platform-callout p{margin:0;font-size:12px}.school-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.school-card{color:var(--ink);transition:transform .15s}.school-card:hover{transform:translateY(-3px);border-color:#93b7e2}.school-monogram{display:grid;place-items:center;width:50px;height:50px;border-radius:13px;background:#e9f2ff;color:var(--brand);font-weight:700;font-size:18px;margin-bottom:18px}.school-card p{font-size:12px;min-height:40px}.link{font-size:12px;font-weight:600;color:var(--brand)}.pagination{display:flex;justify-content:space-between;margin-top:20px}.guest .shell{margin:0}.guest main{max-width:1180px;min-height:calc(100vh - 65px);display:grid;align-content:center}.login-layout{display:grid;grid-template-columns:1.15fr 1fr;gap:65px;align-items:center}.login-story{background:linear-gradient(140deg,#082649,#0b4e87);color:#fff;border-radius:24px;padding:45px;min-height:550px;display:flex;flex-direction:column;justify-content:center;overflow:hidden}.login-story h1{font-size:40px;line-height:1.25;margin-bottom:20px}.login-story p{font-size:14px;color:#b4cce5;max-width:340px;line-height:1.9}.login-story .eyebrow{color:#82c3fd;font-size:11px}.login-story>small{color:#84a8cf;letter-spacing:1.7px;font-size:9px;margin-top:30px}.story-art{display:flex;gap:9px;margin-top:28px;flex-wrap:wrap}.story-art span{border:1px solid #477298;background:#ffffff0b;border-radius:9px;padding:11px 15px;font-size:11px}.login-card{padding:38px;border:0;box-shadow:0 15px 60px #173e6810;margin:0}.login-card h2{font-size:26px;margin:18px 0 8px;letter-spacing:-.5px}.login-card>p{font-size:12px;margin-bottom:28px}.login-card .small{margin:22px 0 0;font-size:11px;line-height:1.8}.shade{position:fixed;inset:0;border:0;background:#031c3a88;z-index:25}.shade[hidden]{display:none}.install{max-width:740px;margin:0 auto}.install .card{padding:30px}.checklist{padding-left:20px;font-size:13px}.checklist li{margin:6px 0}
@media(min-width:1600px){main{padding:35px 42px}.hero{min-height:255px}.hero-content{min-height:255px;padding:36px}}
@media(max-width:1200px){.sidebar{width:220px}.shell{margin-left:220px}main{padding:24px}.topbar{padding:0 24px}.stats{grid-template-columns:repeat(2,1fr)}.school-grid{grid-template-columns:repeat(2,1fr)}.login-layout{gap:30px}.login-story{padding:30px}.login-story h1{font-size:33px}}
@media(max-width:900px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:248px}.sidebar.open{transform:translateX(0)}.shell{margin-left:0}.icon-button{display:block}.dashboard-grid{grid-template-columns:1.4fr 1fr}.topbar{height:74px}.two-col{gap:18px}.login-layout{gap:24px}.login-card{padding:25px}}
@media(max-width:680px){h1{font-size:25px}.topbar{padding:0 16px;height:70px}.top-left strong{font-size:13px;display:block;max-width:190px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.top-left small{font-size:9px}.account>div{display:none}.account{gap:6px}.avatar{width:28px;height:28px;font-size:11px}.account .text-button{font-size:10px}.top-left{gap:7px}.icon-button{padding:4px;font-size:21px}main{padding:18px 14px}.page-heading{align-items:flex-start;flex-direction:column;gap:12px}.page-heading p{font-size:12px}.card{padding:20px;border-radius:13px}.hero{border-radius:14px}.hero-content{padding:24px 20px}.hero-title{gap:12px}.hero h1{font-size:24px}.hero p{font-size:11px}.hero .tagline{font-size:11px}.school-logo{width:45px;height:51px}.hero-pattern{right:-80px}.stats{gap:10px}.stat{padding:15px 12px;gap:9px}.stat-icon{width:30px;height:33px;font-size:20px;border-radius:9px}.stat p{font-size:10px}.stat strong{font-size:23px}.stat small{font-size:9px}.dashboard-grid,.two-col,.school-grid{grid-template-columns:1fr;gap:16px}.two-col>.card{margin-bottom:0}.two-col{margin-bottom:20px}.two-col.form-grid{gap:0}.dashboard-grid .section-title h2{font-size:14px}.setup-list .pill{display:none}.platform-callout{flex-direction:column;align-items:flex-start;padding:20px}.login-layout{grid-template-columns:1fr;gap:18px}.login-story{min-height:0;padding:26px;border-radius:16px}.login-story h1{font-size:29px}.login-story p,.login-story>small{display:none}.story-art{margin-top:2px}.story-art span{padding:6px 13px}.login-card{padding:24px}.login-card h2{font-size:23px}.guest main{display:block;padding-top:20px}.checks{gap:14px}.install .card{padding:20px}.school-grid .card{margin:0}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* FINAL RESPONSIVE LOGO FIX */
.brand-icon{
    flex:none;
    width:42px;
    height:42px;
    border-radius:50%;
    overflow:hidden;
}

.brand-icon img{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
}

.school-logo{
    max-width:90px;
    max-height:90px;
    width:auto;
    height:auto;
    object-fit:contain;
}

@media(max-width:680px){
    .brand-icon{
        width:38px;
        height:38px;
    }

    .school-logo{
        max-width:55px;
        max-height:55px;
    }
}
/* =====================================
   SANGPATI LMS FINAL DASHBOARD FIX
===================================== */

body {
    font-size: 15px;
}

/* Container utama */
.page,
.main-content,
.content,
.dashboard {
    max-width: 1200px;
    margin: 0 auto;
}

/* Heading dashboard */
.page-heading {
    margin-bottom: 25px;
}

.page-heading h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.page-heading .eyebrow {
    font-size: 12px;
    letter-spacing: 2px;
}


/* Statistik */
.stats,
.stat-grid,
.dashboard-stats {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin:25px 0;
}

.stat-card {
    background:#ffffff;
    border:1px solid #dbe5f3;
    border-radius:16px;
    padding:25px;
    min-height:90px;
}

.stat-card strong,
.stat-number {
    font-size:32px;
    font-weight:700;
}


/* Banner utama */

.hero,
.brand-banner,
.lms-banner {
    border-radius:22px;
    padding:40px 45px !important;
    min-height:170px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.hero h1,
.brand-banner h1,
.lms-banner h1 {
    margin:0 0 15px 0;
    font-size:34px;
    color:white;
}

.hero p,
.brand-banner p,
.lms-banner p {
    color:white;
    max-width:700px;
    font-size:15px;
    line-height:1.7;
}


/* Card umum */

.card {
    border-radius:18px;
    padding:28px;
    background:white;
    border:1px solid #dce6f5;
}


/* Tombol */

.button {
    border-radius:10px;
    padding:12px 22px;
    font-weight:600;
}


/* Responsive */

@media(max-width:900px){

.stats,
.stat-grid,
.dashboard-stats {
    grid-template-columns:repeat(2,1fr);
}

}


@media(max-width:600px){

.stats,
.stat-grid,
.dashboard-stats {
    grid-template-columns:1fr;
}

.page-heading h1 {
    font-size:24px;
}

.hero,
.brand-banner,
.lms-banner {
    padding:25px !important;
}

}
/* ======================================
   FINAL POLISH SANGPATI LMS DASHBOARD
====================================== */


/* batas konten */
.main,
.content,
.page,
.dashboard-wrapper {
    max-width:1180px;
}


/* header dashboard */
.page-heading {
    margin-top:20px;
    margin-bottom:20px;
}

.page-heading h1 {
    font-size:34px;
    letter-spacing:-0.5px;
}

.page-heading p {
    font-size:15px;
}


/* statistik */
.stats,
.stat-grid,
.dashboard-stats {
    margin-top:25px;
    margin-bottom:25px;
}


.stat-card {
    height:100px;
    display:flex;
    align-items:center;
    gap:18px;
}


.stat-card strong,
.stat-number {
    font-size:34px;
    line-height:1;
    color:#063b78;
}


.stat-card span,
.stat-label {
    font-size:14px;
    color:#4d6380;
}


/* Banner */

.hero,
.brand-banner,
.lms-banner {
    min-height:150px !important;
    padding:32px 38px !important;
    border-radius:20px;
}


.hero h1,
.brand-banner h1,
.lms-banner h1 {
    font-size:30px;
    margin-bottom:10px;
}


.hero p,
.brand-banner p,
.lms-banner p {
    max-width:650px;
    font-size:14px;
}


/* card bawah */

.card {
    padding:24px 28px;
}


.card h2 {
    font-size:20px;
}


/* tombol */

.button {
    font-size:14px;
}


/* footer */

footer {
    margin-top:50px;
}


/* desktop lebih rapih */

@media(min-width:1400px){

.main,
.content,
.page,
.dashboard-wrapper {
    max-width:1250px;
}

}