/* AKSMART Step3 - minimal clean UI */
:root{
  --bg:#0b0f14;
  --panel:#111823;
  --panel2:#0f1620;
  --text:#e7eefc;
  --muted:#93a4bd;
  --accent:#48b0ff;
  --danger:#ff4d4d;
  --border:rgba(255,255,255,.10);
  --topbar-h:52px;
  --sidebar-w:240px;
  --radius:14px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0; background:var(--bg); color:var(--text);
  font-family:var(--font);
}
a{color:inherit; text-decoration:none}
button,input,select{font:inherit}
#app{display:flex; min-height:100vh}
.sidebar{
  width:var(--sidebar-w);
  background:linear-gradient(180deg,var(--panel),var(--panel2));
  border-right:1px solid var(--border);
  padding:14px;
  position:sticky; top:0; height:100vh; overflow:auto;
}
.main{flex:1; display:flex; flex-direction:column; min-width:0}
.topbar{
  height:var(--topbar-h);
  display:flex; align-items:center; justify-content:space-between;
  padding:0 14px;
  background:rgba(17,24,35,.75);
  border-bottom:1px solid var(--border);
  position:sticky; top:0; z-index:10;
  backdrop-filter: blur(10px);
}
.view{padding:16px; min-width:0}

.card{
  background:rgba(255,255,255,.03);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:14px;
}
.grid{display:grid; gap:12px}
.grid-2{grid-template-columns:1fr 1fr}
@media(max-width:900px){
  #app{flex-direction:column}
  .sidebar{width:100%; height:auto; position:relative}
  .grid-2{grid-template-columns:1fr}
}
.h1{font-size:18px; margin:0 0 10px 0}
.small{color:var(--muted); font-size:12px}
.row{display:flex; gap:10px; flex-wrap:wrap; align-items:center}
.row > *{flex:0 0 auto}
.input{background:rgba(0,0,0,.25); border:1px solid var(--border); color:var(--text);
  padding:10px 10px; border-radius:12px; outline:none}
.btn{
  background:rgba(72,176,255,.15);
  border:1px solid rgba(72,176,255,.35);
  color:var(--text);
  padding:10px 12px; border-radius:12px;
  cursor:pointer;
}
.btn:hover{background:rgba(72,176,255,.22)}
.btn.danger{background:rgba(255,77,77,.15); border-color:rgba(255,77,77,.35)}
.table{width:100%; border-collapse:collapse; font-size:13px}
.table th,.table td{border-bottom:1px solid var(--border); padding:10px 8px; text-align:left}
.badge{padding:3px 8px; border-radius:999px; font-size:12px; border:1px solid var(--border); color:var(--muted)}
.kbd{font-size:12px; border:1px solid var(--border); padding:2px 6px; border-radius:8px; color:var(--muted)}


/* Sale page */
.sale-shell{display:grid; gap:12px; grid-template-columns: 1.2fr .8fr;}
@media(max-width:900px){ .sale-shell{grid-template-columns:1fr;} }

.sale-entrybar{
  position:sticky; bottom:0;
  background:rgba(17,24,35,.92);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:12px;
  backdrop-filter: blur(12px);
}
.sale-entrybar .row{align-items:flex-end}
.sale-kbdhint{display:flex; gap:8px; flex-wrap:wrap; margin-top:8px}
