*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;background:#eaf3ff;color:#102a43}.topbar{height:72px;background:#0f3b78;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 24px;position:sticky;top:0;z-index:5}.brand{display:flex;gap:12px;align-items:center}.brand-icon{width:42px;height:42px;border-radius:12px;background:#2563eb;color:#fff;display:grid;place-items:center;font-weight:900;font-size:22px}.brand small{display:block;color:#dbeafe;margin-top:3px}.userbox{display:flex;gap:12px;align-items:center}.layout{display:flex;min-height:calc(100vh - 72px)}.sidebar{width:245px;background:#ffffff;border-right:1px solid #cfe0f5;padding:18px 12px}.sidebar a{display:block;text-decoration:none;color:#334155;padding:10px 12px;border-radius:9px;margin:3px 0}.sidebar a:hover{background:#dbeafe;color:#1d4ed8}.nav-title{font-size:11px;font-weight:800;color:#94a3b8;padding:16px 12px 6px;letter-spacing:.08em}.content{flex:1;padding:28px;max-width:1500px;margin:auto;width:100%}footer{text-align:center;padding:18px;color:#94a3b8}.pagehead{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:22px}.pagehead h1{margin:0}.muted{color:#64748b}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:20px;box-shadow:0 6px 20px rgba(15,59,120,.08)}.stat{font-size:30px;font-weight:800;margin:8px 0}.tablewrap{background:#fff;border-radius:14px;border:1px solid #e5e7eb;overflow:auto}.table{width:100%;border-collapse:collapse}.table th,.table td{padding:12px 14px;border-bottom:1px solid #edf0f3;text-align:left;white-space:nowrap}.table th{background:#f8fafc;font-size:13px}.btn{display:inline-block;border:0;border-radius:9px;padding:9px 13px;text-decoration:none;cursor:pointer;font-weight:700}.btn-primary{background:#0f3b78;color:#fff}.btn-success{background:#198754;color:#fff}.btn-warning{background:#2563eb;color:#fff}.btn-danger{background:#dc3545;color:#fff}.btn-light{background:#fff;color:#1d4ed8}.actions{display:flex;gap:7px;flex-wrap:wrap}.formgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.field label{display:block;font-weight:700;margin-bottom:6px}.field input,.field select,.field textarea{width:100%;padding:11px;border:1px solid #cbd5e1;border-radius:9px;background:#fff}.field textarea{min-height:100px}.full{grid-column:1/-1}.alert{padding:12px 15px;border-radius:10px;background:#e7f5ec;margin-bottom:15px}.alert.error{background:#fdecec;color:#991b1b}.hero{background:linear-gradient(135deg,#0f3b78,#2563eb);color:#fff;border-radius:18px;padding:30px;margin-bottom:20px}.hero h1{font-size:34px;margin:0 0 8px}.searchbox{display:flex;gap:8px}.searchbox input{flex:1;padding:12px;border-radius:9px;border:0}.bookgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.book{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:17px}.cover{height:180px;border-radius:9px;background:#dbeafe;display:grid;place-items:center;font-size:48px;color:#2563eb;margin-bottom:12px}.badge{display:inline-block;padding:4px 8px;border-radius:99px;background:#e8eef5;font-size:12px}.login{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#0f3b78,#2563eb)}.loginbox{background:#fff;width:min(430px,92vw);padding:30px;border-radius:18px}.loginbox h1{margin-top:0}.mb{margin-bottom:16px}.center{text-align:center}.printcard{width:340px;border:2px solid #2563eb;border-radius:12px;padding:18px;background:#fff}.barcode{font-family:monospace;font-size:28px;letter-spacing:3px}.small{font-size:12px}@media(max-width:1000px){.grid,.bookgrid{grid-template-columns:repeat(2,1fr)}.sidebar{width:210px}}@media(max-width:700px){.layout{display:block}.sidebar{width:100%;display:grid;grid-template-columns:1fr 1fr}.nav-title{grid-column:1/-1}.content{padding:16px}.grid,.bookgrid,.formgrid{grid-template-columns:1fr}.topbar{padding:0 12px}.brand small{display:none}.table th,.table td{padding:9px}.pagehead{align-items:flex-start;flex-direction:column}}@media print{.topbar,.sidebar,footer,.no-print{display:none!important}.content{padding:0}.printcard{margin:0}}

/* Lentera Ilmu - Blue Modern Theme */
.sidebar{background:linear-gradient(180deg,#0f3b78 0%,#1555a3 100%);border-right:0}.sidebar a{color:#e0ecff}.sidebar a:hover{background:rgba(255,255,255,.12);color:#fff}.nav-title{color:#a9c7ef}.brand-icon{background:#2563eb;color:#fff;box-shadow:0 6px 16px rgba(37,99,235,.35)}.topbar{background:linear-gradient(90deg,#0f3b78,#1555a3)}.hero{background:linear-gradient(135deg,#0f3b78,#2563eb,#3b82f6);box-shadow:0 10px 28px rgba(37,99,235,.18)}.cover{background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#2563eb}.btn-primary{background:#2563eb}.btn-primary:hover{background:#1d4ed8}.table th{background:#eff6ff}.badge{background:#e0ecff;color:#1d4ed8}
