/* client/styles.css */
:root{
  --bg: #0b0b0c;
  --panel: #111214;
  --panel2: #16181b;
  --text: #f2f2f2;
  --muted: #a7a7a7;
  --accent: #3ddc97;
  --danger: #ff4d4d;
  --border: rgba(255,255,255,0.10);
}

*{ box-sizing: border-box; }
html, body { height: 100%; margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial; background: var(--bg); color: var(--text); }

#app { height: 100%; width: 100%; position: relative; }
#map { position: absolute; inset: 0; }

.topbar{
  position: absolute;
  top: 12px; left: 12px; right: 12px;
  display:flex; gap: 10px; align-items:center; justify-content:space-between;
  z-index: 999;
}

.brand{
  background: rgba(0,0,0,0.55);
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 14px;
  backdrop-filter: blur(10px);
  display:flex; align-items:center; gap:10px;
}

.brand b{ letter-spacing: 0.5px; }
.pill{
  background: rgba(0,0,0,0.55);
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  font-size: 13px;
  color: var(--muted);
}

.panel{
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  background: rgba(17,18,20,0.88);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 12px;
  z-index: 999;
  backdrop-filter: blur(14px);
}

.panel h3{
  margin: 0 0 8px 0;
  font-size: 16px;
}

.row{ display:flex; gap:10px; }
.row > *{ flex:1; }

.input{
  width: 100%;
  background: var(--panel2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  color: var(--text);
  outline: none;
}

.btn{
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 12px;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary{ background: var(--accent); color: #032015; }
.btn-ghost{ background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-danger{ background: var(--danger); color: white; }

.small{
  font-size: 12px;
  color: var(--muted);
}

.hr{
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 10px 0;
}

.status{
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.30);
  color: var(--text);
  font-size: 13px;
}

.stars{
  display:flex; gap:8px;
  font-size: 22px;
  user-select: none;
}
.star{
  cursor:pointer;
  opacity: 0.35;
}
.star.on{ opacity: 1; }

.leaflet-control-attribution { display:none; }
