/*
Theme Name: SchoolPOS Online Theme
Theme URI: https://github.com/HelloObinna/SchoolPOS
Description: Responsive operations theme for the SchoolPOS inventory and voucher platform.
Version: 1.0.0
Author: SchoolPOS
Text Domain: school-pos-online-theme
*/
:root{--ink:#132238;--muted:#66778a;--paper:#fff;--canvas:#f3f6fa;--line:#dde5ed;--blue:#2366b1;--blue-dark:#174e88;--green:#168466;--red:#bd3b4b;--amber:#be7a16;--radius:14px;--shadow:0 10px 30px rgba(19,34,56,.08)}
*{box-sizing:border-box}html{background:var(--canvas)}body{margin:0;color:var(--ink);font:16px/1.55 Inter,system-ui,-apple-system,"Segoe UI",sans-serif;background:var(--canvas)}button,input,select,textarea{font:inherit}a{color:var(--blue)}[hidden]{display:none!important}.pos-header{height:72px;background:var(--ink);color:#fff}.pos-header-inner{height:100%;max-width:1180px;margin:auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between}.pos-brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;font-weight:800;font-size:18px}.pos-brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#fff;color:var(--ink);font-size:18px}.pos-header-actions{display:flex;align-items:center;gap:14px}.pos-header-actions a{color:#dbe6f2;text-decoration:none;font-size:14px}.pos-main{max-width:1180px;min-height:calc(100vh - 132px);margin:auto;padding:34px 24px}.pos-footer{height:60px;display:flex;align-items:center;justify-content:center;color:var(--muted);background:#eaf0f6;font-size:13px}.pos-app{display:block}.pos-welcome{display:flex;align-items:end;justify-content:space-between;margin-bottom:22px}.pos-eyebrow{display:block;color:var(--blue);font-size:12px;text-transform:uppercase;letter-spacing:.13em;font-weight:800}.pos-welcome h1{margin:2px 0 0;font-size:32px;line-height:1.15}.pos-button{border:0;border-radius:9px;background:var(--blue);color:#fff;padding:10px 15px;font-weight:750;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;box-shadow:0 4px 12px rgba(35,102,177,.16)}.pos-button:hover{background:var(--blue-dark)}.pos-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2}.pos-button-secondary{background:#edf3f8;color:var(--ink);box-shadow:none}.pos-button-danger{background:var(--red)}.pos-button-small{padding:7px 10px;font-size:13px}.pos-notice{margin:0 0 16px;padding:12px 14px;border-radius:9px;border:1px solid #9fd5c3;background:#edf8f4;color:#0f624b}.pos-notice.is-error{border-color:#edabb3;background:#fff1f3;color:#982936}.pos-grid{display:grid;gap:16px}.pos-grid-stats{grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:18px}.pos-stat{min-height:118px;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow)}.pos-stat span{display:block;color:var(--muted);font-size:13px}.pos-stat strong{display:block;margin-top:8px;font-size:28px;line-height:1}.pos-tabs{display:flex;gap:4px;overflow-x:auto;padding:5px;background:#e8eef5;border-radius:11px;margin-bottom:16px}.pos-tabs button{border:0;border-radius:8px;background:transparent;color:var(--muted);padding:9px 14px;font-weight:700;white-space:nowrap;cursor:pointer}.pos-tabs button.is-active{background:#fff;color:var(--ink);box-shadow:0 2px 8px rgba(19,34,56,.08)}.pos-view{min-width:0}.pos-layout{display:grid;grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr);gap:16px}.pos-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow)}.pos-card h2,.pos-card h3{margin:0 0 14px}.pos-card h2{font-size:20px}.pos-card h3{font-size:16px}.pos-field{display:grid;gap:6px;margin-bottom:12px}.pos-field label{font-size:13px;font-weight:750}.pos-field input,.pos-field select,.pos-field textarea{width:100%;min-height:43px;border:1px solid #cbd7e3;border-radius:8px;background:#fff;color:var(--ink);padding:9px 11px;outline:none}.pos-field input:focus,.pos-field select:focus,.pos-field textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(35,102,177,.12)}.pos-field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pos-table-wrap{overflow:auto}.pos-table{width:100%;border-collapse:collapse;font-size:14px}.pos-table th{text-align:left;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid var(--line);padding:10px}.pos-table td{border-bottom:1px solid #edf1f5;padding:11px 10px}.pos-status{display:inline-flex;border-radius:999px;padding:3px 8px;font-size:12px;font-weight:800}.pos-status-issued,.pos-status-completed,.pos-status-accepted{background:#dff3ec;color:#0e7457}.pos-status-pending{background:#fff1d6;color:#98620b}.pos-status-discrepancy{background:#ffe4e7;color:#9c2d3b}.pos-status-redeemed{background:#e8edf3;color:#536478}.pos-empty{text-align:center;color:var(--muted);padding:28px}.pos-cart{display:grid;gap:8px}.pos-cart-line{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding:8px 0}.pos-cart-total{display:flex;justify-content:space-between;align-items:center;margin-top:14px;border-top:2px solid var(--ink);padding-top:12px;font-weight:900;font-size:18px}.pos-voucher-result{border:1px solid #b9d4c8;border-radius:9px;background:#f3faf7;padding:12px;margin:10px 0}.pos-voucher-result strong{display:block}.pos-admin-note{padding:10px;border-left:3px solid var(--amber);background:#fff8e9;color:#76561f;font-size:13px}
@media(max-width:980px){.pos-grid-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.pos-layout{grid-template-columns:1fr}}
@media(max-width:650px){.pos-header{height:auto}.pos-header-inner{min-height:72px;padding:10px 16px}.pos-header-actions a{display:none}.pos-main{padding:20px 14px}.pos-welcome h1{font-size:26px}.pos-grid-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-stat{min-height:100px;padding:14px}.pos-stat strong{font-size:24px}.pos-field-row{grid-template-columns:1fr}.pos-welcome{align-items:center}.pos-tabs{margin-right:-14px}.pos-card{padding:16px}.pos-cart-line{grid-template-columns:1fr}}
@page{size:80mm auto;margin:0}@media print{body{width:72mm;background:#fff}.pos-header,.pos-footer,.pos-tabs,.pos-welcome,.no-print{display:none!important}.pos-main{width:72mm;min-height:0;padding:0}.pos-card{width:72mm;border:0;box-shadow:none;padding:0}}
