:root{font-family:Inter,"Segoe UI",system-ui,sans-serif;color:#14213d;background:linear-gradient(145deg,#edf5ff 0%,#f8fbff 48%,#fff8e5 100%);--blue:#0758d9;--navy:#092b63;--yellow:#ffd32a;--green:#10a96b;--line:#dce7f6}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background-image:radial-gradient(circle at 8% 8%,#3b82f61a 0,transparent 25%),radial-gradient(circle at 92% 16%,#ffd32a24 0,transparent 24%)}
header{min-height:86px;padding:12px max(18px,calc((100% - 920px)/2));display:flex;align-items:center;justify-content:space-between;background:linear-gradient(115deg,#071d46,#0758d9 65%,#1682ff);color:white;box-shadow:0 8px 28px #0a398442}
.brand{display:flex;align-items:center;gap:13px}.brandMark{width:58px;height:58px;position:relative;border-radius:17px;background:white;display:grid;place-items:center;box-shadow:0 7px 18px #00163855;overflow:hidden}.brandMark strong{position:relative;color:#082b63;font-size:22px;letter-spacing:-1px}.brandMark i{position:absolute;width:17px;height:17px;border-radius:50%}.brandMark i:nth-child(1){background:#00a9e8;left:-5px;top:-5px}.brandMark i:nth-child(2){background:#ec168c;right:-5px;top:-5px}.brandMark i:nth-child(3){background:#ffd21f;left:-5px;bottom:-5px}.brandMark i:nth-child(4){background:#111827;right:-5px;bottom:-5px}
.brandText{display:grid}.brandText b{font-size:23px;line-height:1;text-transform:lowercase}.brandText span{font-size:13px;color:#d9e9ff;margin-top:4px}.brandText small{color:#ffe979;margin-top:3px;font-weight:700}
main{max-width:920px;margin:auto;padding:24px}.card{background:#fffffff2;border:1px solid #fff;border-radius:24px;padding:28px;box-shadow:0 16px 48px #173b6c17;margin-bottom:20px;backdrop-filter:blur(8px)}.login{max-width:430px;margin:8vh auto}.login>input{margin-bottom:10px}.passwordRow{display:flex;gap:8px;margin-bottom:12px}.passwordRow input{min-width:0}.passwordRow button{flex:0 0 auto;padding:10px 14px}.hidden{display:none!important}
h1{margin:0 0 22px;font-size:30px;color:#092b63;letter-spacing:-.6px}h2{margin:30px 0 13px;font-size:20px;color:#183e72}h3{color:#275383}label{display:block;font-weight:800;margin:16px 0 7px;color:#29466f}label small{font-weight:600;color:#7487a5}
input,select,button{font:inherit;border-radius:13px}input,select{width:100%;padding:14px 15px;border:2px solid var(--line);background:white;font-size:17px;outline:0;transition:.18s}input:focus,select:focus{border-color:#3485f4;box-shadow:0 0 0 4px #3485f41b}
button{border:0;background:linear-gradient(135deg,#0758d9,#1682ff);color:white;padding:14px 18px;font-weight:800;cursor:pointer;transition:transform .15s,box-shadow .15s}button:hover{transform:translateY(-1px);box-shadow:0 8px 18px #0758d92d}button:disabled{opacity:.4;cursor:not-allowed;transform:none;box-shadow:none}.ghost{background:#ffffff1d;border:1px solid #ffffff38}
nav{display:grid;grid-template-columns:repeat(6,1fr);gap:9px;margin-bottom:18px}nav button{background:#fff;color:#52657f;box-shadow:0 5px 18px #163b7010;padding:13px 8px}nav .active{background:linear-gradient(135deg,#0758d9,#1682ff);color:white;box-shadow:0 9px 22px #0758d93b}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.grid button{min-height:70px;background:linear-gradient(145deg,#f1f6ff,#e6efff);color:#17365f;border:2px solid transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:9px 8px}.grid button:hover{border-color:#b7d2ff}.grid button.active{background:linear-gradient(135deg,#0758d9,#238cff);color:white;outline:3px solid #c7dbff;box-shadow:0 8px 18px #0758d931}.choiceIcon{font-size:19px;line-height:1}.choiceImage{width:34px;height:27px;object-fit:contain;filter:drop-shadow(0 3px 3px #0b24452a)}.pay{grid-template-columns:repeat(4,1fr)}.pay button{min-height:66px;background:linear-gradient(145deg,#fff8d7,#ffefaa)}.pay button.active{background:linear-gradient(135deg,#f0b900,#ffd32a);color:#352800;outline-color:#fff0a0}
.amount{display:flex;align-items:center;border:3px solid var(--blue);border-radius:18px;padding-right:20px;background:white;box-shadow:0 8px 24px #0758d914}.amount input{border:0;font-size:36px;font-weight:900;text-align:right;outline:0;box-shadow:none}.amount span{font-size:28px;font-weight:900;color:var(--blue)}.save{width:100%;font-size:22px;margin-top:20px;background:linear-gradient(135deg,#078b57,#17bd7b);box-shadow:0 10px 25px #10a96b35}.msg{margin-top:15px;font-weight:800}
.totals{display:grid;gap:9px;margin:18px 0}.total{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px;border-radius:13px;background:linear-gradient(135deg,#f2f7ff,#f8fbff);border:1px solid #e2ebf7}.dates{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#posView input,#usersView>input,#usersView>select,#password input{margin-bottom:10px}#generatePassword{margin:0 0 10px}#posList,#userList{margin-top:18px}.total small{display:block;color:#61738f;margin-top:3px}.smallBtn{padding:8px 12px}.danger{background:#d92d20!important}.total>span{display:flex;gap:6px}.total>div{min-width:0}#activeLabel{font-weight:600}#activeLabel input{width:auto;margin-right:6px}#cancelUserEdit{background:#68758d;margin-left:8px}#toast{position:fixed;right:20px;bottom:20px;background:#092b63;color:#fff;padding:15px 20px;border-radius:14px;display:none;box-shadow:0 12px 35px #061b3f55;z-index:10}
.editBox{margin:18px 0;padding:18px;border:2px solid #b9d6ff;border-radius:16px;background:#f4f8ff}.editBox input,.editBox select{margin-bottom:8px}.mutedBtn{background:#68758d;margin-left:8px}.transaction{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:9px;padding:13px;margin-top:10px;border:1px solid #e0eaf7;border-radius:14px;background:white}.transaction small,.transaction em{display:block;color:#64748b;margin-top:4px}.transaction em{color:#b42318;font-weight:700}.transaction button{padding:8px 10px}.transaction .danger{background:#d92d20}.transaction.voided{opacity:.7;background:#fff2f0}.transaction.voided>strong{text-decoration:line-through}
@media(max-width:760px){header{min-height:76px}.brandMark{width:50px;height:50px}.brandText b{font-size:20px}main{padding:13px}.card{padding:19px;border-radius:20px}.grid{grid-template-columns:repeat(2,1fr)}nav{grid-template-columns:repeat(3,1fr)}.dates{grid-template-columns:1fr}.transaction{grid-template-columns:1fr auto}.transaction div{grid-column:1/-1}}
@media(max-width:430px){.brandText span{display:none}.brandText b{font-size:18px}header{padding:10px 12px}.grid button{min-height:66px}nav{grid-template-columns:repeat(2,1fr)}h1{font-size:27px}}
