/* public/assets/css/app.css */

@font-face {
  font-family: "PeydaWeb";
  src: url("../fonts/PeydaWeb-Regular.woff2") format("woff2"),
       url("../fonts/PeydaWeb-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PeydaWeb";
  src: url("../fonts/PeydaWeb-Bold.woff2") format("woff2"),
       url("../fonts/PeydaWeb-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root{
  --bg:#0b1220;
  --card:#111a2e;
  --card2:#0f1830;
  --border:rgba(255,255,255,.10);
  --text:#e6ebff;
  --muted:#aab3d6;
  --btn:#2563eb;
  --danger:#ef4444;
  --ok:#22c55e;
  --warn:#f59e0b;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family: "PeydaWeb", sans-serif;
  background:var(--bg);
  color:var(--text);
}
a{color:inherit}
.container{max-width:980px;margin:0 auto;padding:18px}
.topbar{
  display:flex; align-items:center; justify-content:space-between;
  gap:10px; margin-bottom:14px;
}
.title{font-size:18px;margin:0}
.badge{font-size:12px;color:var(--muted)}
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:16px;
  padding:14px;
}
.grid-2{display:grid;grid-template-columns:1fr;gap:12px}
@media(min-width:900px){ .grid-2{grid-template-columns:1.3fr .7fr} }
.field{display:grid;gap:6px;margin-bottom:10px}
.field span{color:var(--muted);font-size:12px}
input,select,textarea{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:var(--text);
  outline:none;
}
textarea{min-height:80px;resize:vertical}
.btn{
  padding:12px 14px;
  border:0;border-radius:12px;
  background:var(--btn);color:white;
  font-weight:800;cursor:pointer;
}
.btn.secondary{background:rgba(255,255,255,.10)}
.btn.danger{background:var(--danger)}
.btn.ok{background:var(--ok)}
.btn:disabled{opacity:.6;cursor:not-allowed}
.msg{margin:0;color:#ffb4b4;min-height:20px;font-size:13px}
.hint{color:var(--muted);font-size:13px;line-height:1.6}
.hr{height:1px;background:rgba(255,255,255,.08);margin:12px 0}
.kv{display:grid;gap:8px}
.kv .row{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:13px}
.kv .row strong{color:var(--text)}
.stickybar{
  position:sticky; bottom:0;
  margin-top:12px;
  background:linear-gradient(180deg, rgba(11,18,32,0) 0%, rgba(11,18,32,.95) 25%, rgba(11,18,32,1) 100%);
  padding-top:10px;
}
.sticky-inner{
  background:var(--card2);
  border:1px solid var(--border);
  border-radius:16px;
  padding:12px;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
}
.small{font-size:12px;color:var(--muted)}
.pill{
  display:inline-flex; align-items:center; gap:6px;
  padding:6px 10px; border-radius:999px;
  background:rgba(255,255,255,.08); color:var(--muted); font-size:12px;
}
.legend{display:flex;flex-wrap:wrap;gap:10px}
.legend-item{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:12px}
.dot{width:12px;height:12px;border-radius:4px;border:1px solid rgba(255,255,255,.18)}
.dot.av{background:#fff}
.dot.hold{background:var(--warn)}
.dot.sold{background:rgba(255,255,255,.22)}
.dot.sel{background:var(--danger)}
.dot.block{background:#000}
