/* Laundry Smart v25.17 — rifiniture Admin Gestore: tabelle legacy + cornici macchine */
:root{
  --mgr17-line:#d8e5ee;
  --mgr17-line-strong:#c8d8e4;
  --mgr17-soft:#f7fbfe;
  --mgr17-soft-2:#eef7fd;
  --mgr17-text:#102746;
  --mgr17-muted:#617b94;
  --mgr17-blue:#108cf0;
  --mgr17-shadow:0 8px 22px rgba(26,71,105,.065);
}

/* Tabelle legacy: uniformazione forzata su tutta l'area Gestore */
body.ls-mode-client main.wrap table,
body.ls-mode-client main.wrap .table,
body.ls-mode-client main.wrap .data-table,
body.ls-mode-client main.wrap .report-table,
body.ls-mode-client main.wrap .list-table{
  background:#fff!important;
  color:var(--mgr17-text)!important;
  border:1px solid var(--mgr17-line)!important;
  border-radius:12px!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  overflow:hidden!important;
  box-shadow:none!important;
}
body.ls-mode-client main.wrap table thead,
body.ls-mode-client main.wrap .table thead,
body.ls-mode-client main.wrap table thead tr,
body.ls-mode-client main.wrap .table thead tr,
body.ls-mode-client main.wrap table tr:first-child:has(th),
body.ls-mode-client main.wrap .table tr:first-child:has(th){background:var(--mgr17-soft-2)!important}
body.ls-mode-client main.wrap table th,
body.ls-mode-client main.wrap .table th{
  background:var(--mgr17-soft-2)!important;
  color:#496b84!important;
  border:0!important;
  border-bottom:1px solid var(--mgr17-line)!important;
  padding:11px 12px!important;
  font-size:11px!important;
  font-weight:850!important;
  letter-spacing:.35px!important;
  text-transform:uppercase!important;
}
body.ls-mode-client main.wrap table td,
body.ls-mode-client main.wrap .table td{
  background:#fff!important;
  color:#294a64!important;
  border:0!important;
  border-bottom:1px solid #e9f0f5!important;
  padding:11px 12px!important;
}
body.ls-mode-client main.wrap table tbody tr:nth-child(even) td,
body.ls-mode-client main.wrap .table tbody tr:nth-child(even) td{background:#fbfdff!important}
body.ls-mode-client main.wrap table tbody tr:hover td,
body.ls-mode-client main.wrap .table tbody tr:hover td{background:#f4faff!important}
body.ls-mode-client main.wrap table tbody tr:last-child td,
body.ls-mode-client main.wrap .table tbody tr:last-child td{border-bottom:0!important}

/* Vecchi riquadri contabilità/report convertiti allo stesso tema */
body.ls-mode-client .acc-totalbox,
body.ls-mode-client .acc-mini,
body.ls-mode-client .acc-detail,
body.ls-mode-client .acc-detail-item,
body.ls-mode-client .acc-machine-row,
body.ls-mode-client .ta-kpi,
body.ls-mode-client .ta-chart,
body.ls-mode-client .ta-detail,
body.ls-mode-client .ta-row{
  background:#fff!important;
  color:var(--mgr17-text)!important;
  border-color:var(--mgr17-line)!important;
}
body.ls-mode-client .acc-totalbox,
body.ls-mode-client .acc-mini,
body.ls-mode-client .acc-detail,
body.ls-mode-client .ta-kpi,
body.ls-mode-client .ta-chart{
  border:1px solid var(--mgr17-line)!important;
  box-shadow:none!important;
}
body.ls-mode-client .acc-detail-item,
body.ls-mode-client .acc-machine-row{background:var(--mgr17-soft)!important;border:1px solid #e5eef4!important}
body.ls-mode-client .acc-tab,
body.ls-mode-client .ta-tabs a{
  background:#fff!important;
  color:#315671!important;
  border:1px solid var(--mgr17-line-strong)!important;
}
body.ls-mode-client .acc-tab.active,
body.ls-mode-client .ta-tabs a.active{
  background:#e8f5fe!important;
  color:#0b78cf!important;
  border-color:#9fd0ee!important;
}
body.ls-mode-client .acc-period button{background:#fff!important;color:#2b5572!important;border-color:var(--mgr17-line-strong)!important}
body.ls-mode-client .ta-row{border-bottom:1px solid #e9f0f5!important}

/* Macchine: cornice discreta per separarle dallo sfondo */
body.ls-mode-client .ls-machine-card,
body.ls-mode-client .machine-card,
body.ls-mode-client .machine-tile{
  background:#fff!important;
  border:1px solid #cddde8!important;
  border-radius:14px!important;
  box-shadow:0 4px 14px rgba(26,71,105,.055)!important;
  outline:1px solid rgba(255,255,255,.9)!important;
  outline-offset:-2px!important;
}
body.ls-mode-client .ls-machine-card:hover,
body.ls-mode-client .machine-card:hover,
body.ls-mode-client .machine-tile:hover{
  border-color:#a9c9dd!important;
  box-shadow:0 8px 20px rgba(26,71,105,.08)!important;
}
body.ls-mode-client .ls-machine-card .ls-card-status,
body.ls-mode-client .machine-card .ls-card-status{border-bottom:1px solid #e8f0f5!important;padding-bottom:8px!important;margin-bottom:8px!important}

/* Evita residui di testo chiaro su fondo chiaro nelle vecchie tabelle */
body.ls-mode-client main.wrap table *,
body.ls-mode-client main.wrap .table *{text-shadow:none!important}
body.ls-mode-client main.wrap table .muted,
body.ls-mode-client main.wrap .table .muted,
body.ls-mode-client main.wrap table .small,
body.ls-mode-client main.wrap .table .small{color:var(--mgr17-muted)!important}

@media(max-width:760px){
  body.ls-mode-client main.wrap table th,
  body.ls-mode-client main.wrap table td,
  body.ls-mode-client main.wrap .table th,
  body.ls-mode-client main.wrap .table td{padding:9px 10px!important}
  body.ls-mode-client .ls-machine-card,
  body.ls-mode-client .machine-card,
  body.ls-mode-client .machine-tile{border-radius:12px!important}
}
