:root{
  --bg:#0b1020;
  --card:rgba(255,255,255,0.06);
  --border:rgba(255,255,255,0.12);
  --text:rgba(255,255,255,0.92);
  --muted:rgba(255,255,255,0.70);
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(80,120,255,0.18), transparent 60%),
    radial-gradient(900px 500px at 90% 20%, rgba(0,200,255,0.14), transparent 60%),
    var(--bg);
  color:var(--text);
}

.container{ max-width:1200px; margin:0 auto; padding:16px; }

/* ===============================
   Header / Topbar
   =============================== */
.topbar{
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  margin-bottom:12px;
}

.brand{ display:flex; gap:12px; align-items:center; }
.brand img{ height:44px; width:auto; display:block; }
.brand h1{ font-size:18px; margin:0; line-height:1.2; }
.brand p{ margin:2px 0 0 0; font-size:13px; color:var(--muted); }

/* ===============================
   Panels / Cards
   =============================== */
.panel{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:18px;
  padding:12px;
}

/* ===============================
   Controls (filters/forms)
   =============================== */
.controls{
  display:grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr auto;
  gap:10px;
  align-items:end;
}

.controls label{
  display:block;
  font-size:12px;
  color:var(--muted);
  margin-bottom:6px;
}

.controls input,
.controls select{
  width:100%;
  height:40px;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(0,0,0,0.25);
  color:var(--text);
  padding:0 12px;
  outline:none;
}

.controls button{
  height:40px;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(255,255,255,0.08);
  color:var(--text);
  padding:0 14px;
  cursor:pointer;
}

.controls button:hover{ background:rgba(255,255,255,0.12); }

/* ===============================
   Layout grid (map + list)
   =============================== */
.grid{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap:12px;
  margin-top:12px;
}

#map{
  height:520px;
  width:100%;
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--border);
}

.list{
  max-height:520px;
  overflow:auto;
  display:grid;
  gap:10px;
}

.card{
  padding:12px;
  border-radius:16px;
  border:1px solid var(--border);
  background:rgba(0,0,0,0.22);
}

.card:hover{
  border-color: rgba(255,255,255,0.22);
}

.card h3{
  margin:0 0 6px 0;
  font-size:14px;
}

/* linha meta do card */
.meta{
  font-size:12px;
  color:var(--muted);
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:flex-start;
}

/* bloco (CIDADE/TIPO/NÍVEL/HORÁRIO) */
.metaItem{
  display:inline-flex;
  flex-direction:column;
  gap:6px;
  min-width:110px;
}

.metaLabel{
  font-size:10px;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.65);
  margin-left:2px;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(255,255,255,0.08);
  border:1px solid var(--border);
  font-size:12px;
}

.small{ margin-top:8px; font-size:12px; color:var(--muted); }

.footer{
  margin-top:12px;
  color:var(--muted);
  font-size:12px;
  text-align:center;
}

/* ===============================
   Responsivo
   =============================== */
@media (max-width: 980px){
  .controls{ grid-template-columns: 1fr 1fr; }
  .grid{ grid-template-columns: 1fr; }
  #map{ height:420px; }
  .list{ max-height:unset; min-height:260px; }
}

/* ===============================
   Botões Admin / Adicionar Local
   (brancos, letras pretas)
   =============================== */
#btnAdd,
#btnAdmin{
  background:#ffffff;
  color:#000000;
  border:1px solid #e5e7eb;
  font-weight:600;
  padding:8px 14px;
  border-radius:999px;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:6px;
  cursor:pointer;
  transition: all 0.2s ease;
  box-shadow:none;
}

#btnAdd:hover,
#btnAdmin:hover{
  background:#f3f4f6;
  border-color:#d1d5db;
  transform: translateY(-1px);
}

#btnAdmin{ font-size:14px; }
