/* style.css — Doppiozero Staff Dashboard */

:root {
  --bg:       #0d0d0d;
  --bg2:      #141414;
  --bg3:      #1c1c1c;
  --border:   rgba(255,255,255,0.08);
  --border2:  rgba(255,255,255,0.14);
  --bianco:   #f0ede8;
  --grigio:   #666;
  --grigio2:  #444;
  --rosso:    #c0392b;
  --verde:    #27ae60;
  --oro:      #c9a84c;
  --blu:      #2980b9;
  --viola:    #8e44ad;

  --sidebar-w: 220px;
  --header-h:  56px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; }

body {
  background: var(--bg);
  color: var(--bianco);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Login ─────────────────────────────────────────────────────── */
#login-screen {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  padding: 2rem;
}
.login-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  width: 100%; max-width: 360px;
  animation: fadeUp .4s ease both;
}
@keyframes fadeUp { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:none; } }
.login-logo { font-size: 2.5rem; text-align: center; margin-bottom: 1rem; }
.login-title {
  font-size: 1.4rem; font-weight: 600;
  text-align: center; margin-bottom: 2rem;
}
.login-title span { color: var(--oro); }

/* ── Fields ────────────────────────────────────────────────────── */
.field { margin-bottom: 1.2rem; }
label {
  display: block;
  font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--grigio);
  margin-bottom: 0.4rem;
}
input[type=text], input[type=tel], input[type=email],
input[type=password], input[type=date], input[type=number],
input[type=time], textarea, select {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  color: var(--bianco);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color .2s;
  -webkit-appearance: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--border2);
}
input::placeholder, textarea::placeholder { color: var(--grigio2); }
input[type=date]::-webkit-calendar-picker-indicator,
input[type=time]::-webkit-calendar-picker-indicator { filter: invert(1); opacity: .4; }
select option { background: #1a1a1a; color: var(--bianco); }
textarea { resize: vertical; min-height: 70px; }

/* ── Buttons ───────────────────────────────────────────────────── */
.btn-primary {
  width: 100%;
  background: var(--bianco); color: var(--bg);
  border: none; border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem; font-weight: 500;
  cursor: pointer; transition: all .15s;
}
.btn-primary:hover { background: #e0ddd8; }
.btn-primary:disabled { opacity: .4; cursor: not-allowed; }

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.65rem 1.2rem;
  color: var(--grigio);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  cursor: pointer; transition: all .15s;
}
.btn-secondary:hover { border-color: var(--border2); color: var(--bianco); }

.btn-icon {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.5rem 0.7rem;
  color: var(--bianco); cursor: pointer; font-size: 1rem;
  transition: all .15s;
}
.btn-icon:hover { border-color: var(--border2); }

/* ── Slot pizze / clienti ───────────────────────────────────── */
.slot-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 1rem;
}
.table-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
}
.slot-table {
  width: 100%;
  border-collapse: collapse;
}
.slot-table th,
.slot-table td {
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0.55rem;
  text-align: left;
}
.slot-pizza-row {
  cursor: pointer;
}
.slot-pizza-row:hover,
.slot-pizza-row.selected {
  background: rgba(201,168,76,0.10);
}
.slot-pizza-row.surplus {
  background: rgba(192,57,43,0.18);
  box-shadow: inset 5px 0 0 var(--rosso);
}
.slot-metric {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 34px;
  border-radius: 12px;
  font-weight: 700;
}
.slot-metric.booked {
  background: rgba(201,168,76,0.18);
  color: var(--oro);
}
.slot-metric.ok {
  background: rgba(39,174,96,0.18);
  color: #5ee28d;
}
.slot-metric.surplus {
  background: var(--rosso);
  color: #fff;
}
.clienti-export-inline {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

@media (max-width: 900px) {
  .slot-dashboard {
    grid-template-columns: 1fr;
  }
}
.btn-icon.active { border-color: var(--oro); color: var(--oro); }

.btn-sm {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 6px; padding: 5px 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem; color: var(--grigio);
  cursor: pointer; transition: all .15s;
}
.btn-sm:hover { color: var(--bianco); border-color: var(--border2); }
.btn-sm-primary {
  background: var(--bianco); color: var(--bg);
  border-color: var(--bianco);
}
.btn-sm-primary:hover { background: #e0ddd8; }
.btn-sm-primary:disabled { opacity: .4; cursor: not-allowed; }

.btn-logout {
  width: 100%; background: transparent;
  border: 1px solid var(--border); border-radius: 6px;
  padding: 0.5rem; color: var(--grigio);
  font-family: 'DM Sans', sans-serif; font-size: 0.8rem;
  cursor: pointer; transition: all .15s; margin-top: 0.5rem;
}
.btn-logout:hover { border-color: var(--rosso); color: var(--rosso); }

/* ── Errore / Avviso ───────────────────────────────────────────── */
.errore {
  background: rgba(192,57,43,0.12);
  border: 1px solid rgba(192,57,43,0.3);
  border-radius: 6px; padding: 0.7rem 0.9rem;
  font-size: 0.82rem; color: #e74c3c;
  margin-top: 0.8rem;
}
.avviso-doppio {
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 8px; padding: 0.8rem 1rem;
  font-size: 0.82rem; color: var(--oro);
  margin-top: 0.8rem;
}

/* ── Sidebar ───────────────────────────────────────────────────── */
.sidebar {
  position: fixed; left: 0; top: 0; bottom: 0;
  width: var(--sidebar-w);
  background: var(--bg2);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  z-index: 100; padding: 0;
  transition: transform .25s ease;
}
.sidebar-logo {
  display: flex; align-items: center; justify-content: center;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.sidebar-logo-img {
  height: 44px; width: auto; display: block;
}
.nav-items { flex: 1; padding: 0.8rem 0; }
.nav-item {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.65rem 1.2rem;
  color: var(--grigio); font-size: 0.88rem;
  cursor: pointer; transition: all .15s;
  border-left: 2px solid transparent;
  text-decoration: none;
}
.nav-item:hover { color: var(--bianco); background: rgba(255,255,255,0.03); }
.nav-item.active { color: var(--bianco); border-left-color: var(--oro); background: rgba(255,255,255,0.04); }
.nav-icon { font-size: 1rem; width: 20px; text-align: center; }
.sidebar-bottom { padding: 1rem 1.2rem; border-top: 1px solid var(--border); }
.utente-info { font-size: 0.78rem; color: var(--grigio); margin-bottom: 0.5rem; }

/* ── Mobile header ─────────────────────────────────────────────── */
.mobile-header {
  display: none;
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  align-items: center;
  padding: 0 1rem;
  z-index: 99; gap: 1rem;
}
.burger {
  background: none; border: none;
  color: var(--bianco); font-size: 1.2rem;
  cursor: pointer; padding: 4px 8px;
}
.mobile-logo { font-size: 0.9rem; font-weight: 600; flex: 1; }
.data-badge {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem; color: var(--grigio);
}

/* ── Main content ──────────────────────────────────────────────── */
.main-content {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  padding: 1.5rem;
}

/* ── View ──────────────────────────────────────────────────────── */
.view { display: none; }
.view.active { display: block; animation: fadeUp .3s ease both; }

.view-header {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 1rem;
  margin-bottom: 1.2rem; flex-wrap: wrap;
}
.view-header h2 {
  font-size: 1.3rem; font-weight: 600;
}
.view-sub { font-size: 0.8rem; color: var(--grigio); margin-top: 2px; }

.header-actions {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
}
.input-data, .input-ora {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.5rem 0.7rem;
  color: var(--bianco);
  font-family: 'DM Mono', monospace; font-size: 0.82rem;
  outline: none;
}
.input-data:focus, .input-ora:focus { border-color: var(--border2); }

/* ── Stats bar ─────────────────────────────────────────────────── */
.stats-bar {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  margin-bottom: 1rem;
}
.stat-pill {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 20px; padding: 4px 12px;
  font-size: 0.78rem; color: var(--grigio);
}

/* ── Legenda ───────────────────────────────────────────────────── */
.legenda {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 1rem;
}
.leg-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.76rem; color: var(--grigio);
}
.leg-dot {
  width: 12px; height: 12px; border-radius: 3px;
}
.leg-dot.free     { background: rgba(39,174,96,0.3); border: 1px solid var(--verde); }
.leg-dot.pending  { background: rgba(201,168,76,0.3); border: 1px solid var(--oro); }
.leg-dot.confirmed{ background: rgba(192,57,43,0.3); border: 1px solid var(--rosso); }
.leg-dot.doppio   { background: rgba(142,68,173,0.3); border: 2px dashed var(--viola); }

/* ── Layout banner ─────────────────────────────────────────────── */
.layout-banner {
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 8px; padding: 0.6rem 1rem;
  display: flex; align-items: center; gap: 0.8rem;
  font-size: 0.82rem; color: var(--oro);
  margin-bottom: 1rem; flex-wrap: wrap;
}
.layout-banner button {
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 6px; padding: 4px 12px;
  color: var(--oro); cursor: pointer; font-size: 0.78rem;
}
.layout-banner span { flex: 1 1 260px; min-width: 0; white-space: normal; }

/* ── Mappa ─────────────────────────────────────────────────────── */
.mappa-wrapper {
  overflow: auto;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  min-height: 300px;
}
.mappa-container {
  position: relative;
  min-width: 600px; min-height: 400px;
  user-select: none;
}
.mappa-empty {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--grigio); font-size: 0.85rem;
}

/* ── Tavolo ────────────────────────────────────────────────────── */
.tavolo {
  position: absolute;
  border-radius: 8px;
  border: 1.5px solid var(--border2);
  background: var(--bg3);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s;
  touch-action: none;
  overflow: hidden;
}
.tavolo:hover { border-color: rgba(255,255,255,0.25); box-shadow: 0 2px 12px rgba(0,0,0,0.3); }

.tavolo .t-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem; font-weight: 500;
  color: var(--bianco); line-height: 1;
}
.tavolo .t-cap {
  font-size: 0.62rem; color: var(--grigio);
  margin-top: 2px;
}
.tavolo .t-pren {
  font-size: 0.6rem; color: var(--grigio);
  margin-top: 1px; text-align: center;
  padding: 0 4px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
  max-width: 100%;
}

/* Stato tavoli */
.tavolo.free     { border-color: rgba(39,174,96,0.4); background: rgba(39,174,96,0.06); }
.tavolo.free .t-label { color: var(--verde); }
.tavolo.pending  { border-color: rgba(201,168,76,0.5); background: rgba(201,168,76,0.08); }
.tavolo.pending .t-label { color: var(--oro); }
.tavolo.confirmed{ border-color: rgba(192,57,43,0.5); background: rgba(192,57,43,0.1); }
.tavolo.confirmed .t-label { color: #e74c3c; }
.tavolo.doppio-confirmed { border: 2px dashed var(--viola); background: rgba(142,68,173,0.1); }
.tavolo.doppio-confirmed .t-label { color: #a55fc5; }
.tavolo.doppio-pending { border: 2px dashed rgba(142,68,173,0.5); background: rgba(142,68,173,0.06); }
.tavolo.doppio-pending .t-label { color: rgba(165,95,197,0.7); }
.tavolo.speciale { border-color: rgba(41,128,185,0.4) !important; }
.tavolo.speciale .t-label { color: #5dade2 !important; }
.tavolo.alto     { border-color: rgba(142,68,173,0.4); background: rgba(142,68,173,0.06); }
.tavolo.alto .t-label { color: #a55fc5; }

/* Selezione */
.tavolo.selezionato {
  border-color: #5dade2 !important;
  background: rgba(41,128,185,0.2) !important;
  box-shadow: 0 0 0 3px rgba(41,128,185,0.2) !important;
}
.tavolo.origine-sposta {
  border-color: var(--rosso) !important;
  background: rgba(192,57,43,0.15) !important;
  animation: pulse-rosso 1.2s infinite;
}
@keyframes pulse-rosso {
  0%,100%{ box-shadow: 0 0 0 0 rgba(192,57,43,0.4); }
  50%    { box-shadow: 0 0 0 6px rgba(192,57,43,0); }
}

/* Area label */
.area-label {
  position: absolute;
  font-size: 0.65rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(255,255,255,0.15);
  pointer-events: none; user-select: none;
}

/* ── Toolbars ──────────────────────────────────────────────────── */
.sel-toolbar, .sposta-toolbar {
  position: fixed; bottom: 0; left: var(--sidebar-w); right: 0;
  background: var(--bg2);
  border-top: 1px solid var(--border2);
  padding: 0.8rem 1.5rem;
  display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
  z-index: 50; flex-wrap: wrap;
  animation: slideUp .2s ease;
}
.sposta-toolbar { border-top-color: rgba(192,57,43,0.4); }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: none; } }
.sel-info, .sposta-info {
  display: flex; flex-direction: column; gap: 2px;
}
.sel-info strong, .sposta-info strong {
  font-size: 0.9rem;
}
.sel-cap { font-size: 0.75rem; color: var(--grigio); }
.sel-actions { display: flex; gap: 0.5rem; align-items: center; }
.sposta-label-pre { font-size: 0.75rem; color: var(--grigio); }

/* ── Lista prenotazioni ────────────────────────────────────────── */
.lista-pren { display: flex; flex-direction: column; gap: 0.5rem; }

.pren-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 10px; padding: 1rem 1.2rem;
  cursor: pointer; transition: all .15s;
  border-left: 3px solid transparent;
}
.pren-card:hover { border-color: var(--border2); background: var(--bg3); }
.pren-card.pending   { border-left-color: var(--oro); }
.pren-card.confirmed { border-left-color: var(--verde); }
.pren-card.rejected, .pren-card.cancelled { opacity: .5; }

.pren-header {
  display: flex; align-items: baseline;
  justify-content: space-between; gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.pren-nome { font-weight: 500; font-size: 0.95rem; }
.pren-ora  { font-family: 'DM Mono', monospace; font-size: 0.8rem; color: var(--oro); }
.pren-meta { font-size: 0.78rem; color: var(--grigio); display: flex; gap: 1rem; flex-wrap: wrap; }
.pren-badge {
  font-size: 0.68rem; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 2px 8px;
  border-radius: 4px; font-weight: 500;
}
.pren-badge.pending   { background: rgba(201,168,76,0.15); color: var(--oro); }
.pren-badge.confirmed { background: rgba(39,174,96,0.15);  color: var(--verde); }
.pren-badge.rejected  { background: rgba(100,100,100,0.15); color: var(--grigio); }
.pren-badge.cancelled { background: rgba(100,100,100,0.1);  color: var(--grigio2); }

.empty-state {
  text-align: center; padding: 3rem;
  color: var(--grigio); font-size: 0.85rem;
}

/* ── Filtri ────────────────────────────────────────────────────── */
.filtri-tabs { display: flex; gap: 4px; }
.filtro-tab {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 6px; padding: 5px 12px;
  font-family: 'DM Sans', sans-serif; font-size: 0.78rem;
  color: var(--grigio); cursor: pointer; transition: all .15s;
}
.filtro-tab:hover { color: var(--bianco); }
.filtro-tab.active { background: rgba(255,255,255,0.1); color: var(--bianco); border-color: var(--border2); }

/* ── Form nuova prenotazione ───────────────────────────────────── */
.form-container { max-width: 680px; }
.form-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.5rem;
}
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin-bottom: 1rem;
}
.form-actions {
  display: flex; gap: 0.8rem; margin-top: 1.2rem;
  justify-content: flex-end;
}
.form-actions .btn-primary { width: auto; padding: 0.7rem 1.8rem; }

.tavoli-preview { margin-bottom: 1.2rem; }
.badges-row { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.4rem; }
.badge-tavolo {
  background: rgba(41,128,185,0.15);
  border: 1px solid rgba(41,128,185,0.3);
  border-radius: 6px; padding: 4px 10px;
  font-size: 0.78rem; color: #5dade2;
  font-family: 'DM Mono', monospace;
}

/* ── Modal ─────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 200; display: none;
  align-items: center; justify-content: center;
  padding: 1rem;
}
.modal-overlay.show { display: flex; }
.modal {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 14px;
  width: 100%; max-width: 480px;
  max-height: 90vh; overflow-y: auto;
  animation: fadeUp .25s ease;
}
.modal-header {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--border);
}
.modal-header h3 { font-size: 1rem; font-weight: 600; }
.modal-close {
  background: none; border: none;
  color: var(--grigio); cursor: pointer; font-size: 1rem;
  padding: 4px 8px; border-radius: 4px;
  transition: color .15s;
}
.modal-close:hover { color: var(--bianco); }
.modal-body { padding: 1.2rem 1.4rem; }
.modal-footer {
  padding: 1rem 1.4rem;
  border-top: 1px solid var(--border);
  display: flex; gap: 0.6rem; flex-wrap: wrap;
  justify-content: flex-end;
}

/* Dettaglio prenotazione nel modal */
.det-row {
  display: flex; justify-content: space-between;
  align-items: baseline; padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.det-row:last-child { border-bottom: none; }
.det-row .det-k { color: var(--grigio); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; }
.det-row .det-v { font-weight: 500; }

.btn-azione {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 6px; padding: 6px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem; color: var(--bianco);
  cursor: pointer; transition: all .15s;
}
.btn-azione:hover { border-color: var(--border2); }
.btn-azione.verde { border-color: rgba(39,174,96,.4); color: var(--verde); }
.btn-azione.verde:hover { background: rgba(39,174,96,.1); }
.btn-azione.rosso { border-color: rgba(192,57,43,.4); color: #e74c3c; }
.btn-azione.rosso:hover { background: rgba(192,57,43,.1); }
.btn-azione.blu   { border-color: rgba(41,128,185,.4); color: #5dade2; }
.btn-azione.blu:hover { background: rgba(41,128,185,.1); }

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    box-shadow: 4px 0 20px rgba(0,0,0,0.5);
  }
  .sidebar.open { transform: none; }
  .mobile-header { display: flex; }
  .main-content {
    margin-left: 0;
    padding: 1rem;
    padding-top: calc(var(--header-h) + 1rem);
  }
  .sel-toolbar, .sposta-toolbar { left: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .view-header { flex-direction: column; }
  .header-actions { width: 100%; }
  .input-data, .input-ora { flex: 1; }
}

@media (max-width: 480px) {
  .filtri-tabs { overflow-x: auto; }
  .modal { border-radius: 0; max-height: 100vh; border-left: none; border-right: none; }
  .modal-overlay { padding: 0; align-items: flex-end; }
}

/* ── Tab aree mappa ────────────────────────────────────────────── */
.mappa-tabs {
  display: flex; gap: 6px; margin-bottom: 1rem;
  overflow-x: auto; padding-bottom: 2px;
  scrollbar-width: none;
}
.mappa-tabs::-webkit-scrollbar { display: none; }
.mappa-tab {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 8px; padding: 7px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem; color: var(--grigio);
  cursor: pointer; transition: all .15s;
  white-space: nowrap; flex-shrink: 0;
}
.mappa-tab:hover { color: var(--bianco); border-color: var(--border2); }
.mappa-tab.active {
  background: rgba(201,168,76,0.15);
  border-color: rgba(201,168,76,0.4);
  color: var(--oro); font-weight: 500;
}

.mappa-tab.magazzino { border-style: dashed; }
.mappa-tab.magazzino.active { border-color: rgba(100,100,100,0.5); color: var(--grigio); background: rgba(100,100,100,0.1); }
.mappa-tab.nuovo-tavolo { border-color: rgba(39,174,96,0.3); color: var(--verde); }
.mappa-tab.nuovo-tavolo:hover { background: rgba(39,174,96,0.1); }
.magazzino-item { border: 1.5px dashed var(--grigio2) !important; background: var(--bg3) !important; }
