@charset "UTF-8";
.rosso,
.red {
  color: #fa5c7c;
}

.nero,
.black {
  color: #38393a;
}

.bianco,
.white {
  color: #fff;
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/jost-latin-wght-normal-tnMAxTg.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/jost-latin-wght-italic-TSvtajw.woff2") format("woff2");
}
@font-face {
  font-family: "Orderz Icons";
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
  src: url("../icons/fontawesome/webfonts/fa-solid-900-Mh6ITys.woff2") format("woff2");
}
h3 {
  color: #706f6f;
  text-transform: uppercase;
  font-size: 1.6rem !important;
}

input[type=text],
input[type=email],
input[type=password],
input[type=number],
input[type=tel],
textarea {
  border: 1px solid #e5e8eb;
  padding: 1rem;
  border-radius: 5px;
}

input[type=submit],
button[type=submit] {
  cursor: pointer;
  color: #fff !important;
  background: linear-gradient(45deg, #5ebfed 0%, rgb(93, 145, 239) 29%, #505ba4 50%, rgb(148, 123, 225) 73%, #c193c2 100%);
  border: 1px solid rgb(148, 123, 225);
  border-radius: 5px;
  padding: 1rem;
  transition: 0.2s ease all;
}
input[type=submit]:hover,
button[type=submit]:hover {
  opacity: 0.8;
}

.btn {
  padding: 1rem;
  transition: 0.2s ease all;
  text-decoration: none;
  font-size: 1.6rem;
  width: fit-content;
  cursor: pointer;
  border-radius: 5px;
  white-space: nowrap;
}
.btn.btn-primary {
  color: #fff !important;
  background: rgb(148, 123, 225);
  border: 1px solid rgb(148, 123, 225);
}
.btn.btn-outline {
  background-color: transparent;
  border: 1px solid #706f6f;
  color: #706f6f !important;
}
.btn.btn-big {
  font-size: 2.4rem;
  padding: 2rem 3rem;
}
.btn.white {
  border: 1px solid #fff;
  color: #fff !important;
  transition: 0.2s ease all;
}
.btn.white:hover {
  background-color: #fff;
  color: #5ebfed !important;
  transition: 0.2s ease all;
}
.btn.blue {
  border: 1px solid #5ebfed;
  color: #5ebfed !important;
  transition: 0.2s ease all;
}
.btn.red {
  border: 1px solid #fa5c7c;
  color: #fa5c7c !important;
  transition: 0.2s ease all;
}
.btn.bg-white {
  border: 1px solid #fff;
  color: #706f6f !important;
  transition: 0.2s ease all;
  background-color: #fff;
}
.btn.bg-white:hover {
  background-color: linear-gradient(45deg, #5ebfed 0%, rgb(93, 145, 239) 29%, #505ba4 50%, rgb(148, 123, 225) 73%, #c193c2 100%);
  color: #fff !important;
  transition: 0.2s ease all;
}
.btn.gradient {
  background: linear-gradient(45deg, #5ebfed 0%, rgb(93, 145, 239) 29%, #505ba4 50%, rgb(148, 123, 225) 73%, #c193c2 100%) !important;
  color: #fff !important;
}
.btn.profilo::before {
  content: "\f007";
  font-family: "Orderz Icons";
  margin-right: 1rem;
}
.btn.agents::before {
  content: "\f508";
  font-family: "Orderz Icons";
  margin-right: 1rem;
}
.btn.clients::before {
  content: "\f0c0";
  font-family: "Orderz Icons";
  margin-right: 1rem;
}
.btn.ordini::before {
  content: "\f570";
  font-family: "Orderz Icons";
  margin-right: 1rem;
}
.btn.destinazione::before {
  content: "\f507";
  font-family: "Orderz Icons";
  margin-right: 1rem;
}
.btn.catalogo::before {
  content: "\f518";
  font-family: "Orderz Icons";
  margin-right: 1rem;
}
.btn.view::before {
  content: "\f06e";
  font-family: "Orderz Icons";
  margin-right: 1rem;
}
.btn.cart::before, .btn.reorder::before {
  content: "\f07a";
  display: inline-block;
  font-family: "Orderz Icons";
  margin-right: 1rem;
}
.btn.pdf::before {
  content: "\f1c1";
  font-family: "Orderz Icons";
  margin-right: 1rem;
}
.btn.csv::before {
  content: "\f6dd";
  font-family: "Orderz Icons";
  margin-right: 1rem;
}
.btn.trash::before {
  content: "\f2ed";
  font-family: "Orderz Icons";
  margin-right: 1rem;
}
.btn.fill-color::before {
  content: "\f576";
  font-family: "Orderz Icons";
  margin-right: 1rem;
}
.btn:hover {
  background: linear-gradient(45deg, #5ebfed 0%, rgb(93, 145, 239) 29%, #505ba4 50%, rgb(148, 123, 225) 73%, #c193c2 100%);
  border: 1px solid #fff;
  color: #fff !important;
  transition: 0.2s ease all;
}
.btn.btn-danger {
  background-color: #fa5c7c;
  color: #fff !important;
}

.product-availability {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-transform: capitalize;
}
.product-availability .semaforo {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
}
.product-availability .semaforo.semaforo-03 {
  background-color: #fa5c7c;
}
.product-availability .semaforo.semaforo-02 {
  background-color: #ffcb00;
}
.product-availability .semaforo.semaforo-01 {
  background-color: #42b883;
}

.btn-icon-cart:before {
  content: "\f07a";
  display: inline-block;
  font-family: "Orderz Icons";
  margin-right: 1rem;
}

.content-box {
  background-color: #fff;
  border-radius: 5px;
  padding: 2rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.content-box.gradient {
  background: linear-gradient(45deg, #5ebfed 0%, rgb(93, 145, 239) 29%, #505ba4 50%, rgb(148, 123, 225) 73%, #c193c2 100%);
  color: #fff;
}
.content-box.medium-light-grey {
  background-color: #dbe0e4;
}
.content-box.light-blue {
  background-color: #5ebfed;
  color: #fff;
}
.content-box.center {
  display: flex;
  text-align: center;
  justify-content: center;
}

.loading {
  cursor: wait !important;
}

.border {
  border: 1px solid #e5e8eb;
  border-radius: 5px;
}

.padding {
  padding: 2rem;
}

.gradient {
  background: linear-gradient(45deg, #5ebfed 0%, rgb(93, 145, 239) 29%, #505ba4 50%, rgb(148, 123, 225) 73%, #c193c2 100%);
}

table.full-width {
  width: 100%;
}
table .table-actions {
  gap: 1rem;
}
table .table-actions .btn-outline {
  color: #5ebfed !important;
  border-color: #5ebfed !important;
  padding: 0.5rem 1rem;
  margin-right: 1rem;
  margin-bottom: 1rem;
}
table .table-actions .btn-outline:first-child {
  margin-left: 0;
}
table .table-actions .btn-outline:hover {
  background-color: #5ebfed !important;
  color: #fff !important;
}
table th {
  padding: 1rem;
}
table tbody tr {
  border-bottom: 1px solid #dbe0e4;
  height: 7rem;
  vertical-align: middle;
}
table tbody tr:nth-child(odd) {
  background-color: #f7f7f7;
}
table tbody tr:nth-child(n) .avatar {
  background-color: #5ebfed;
}
table tbody tr:nth-child(2n) .avatar {
  background-color: rgb(148, 123, 225);
}
table tbody tr:nth-child(3n) .avatar {
  background-color: #c193c2;
}
table tbody tr:nth-child(4n) .avatar {
  background-color: #505ba4;
}
table tbody tr:hover {
  background-color: #e7e7e7;
}
table tbody tr td {
  padding: 1rem;
  height: 7rem;
  vertical-align: middle;
  align-items: center;
}
table tbody tr td.name {
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  white-space: nowrap;
}
table tbody tr td.name .avatar {
  display: inline-block;
  padding: 1rem;
  width: 4rem;
  height: 4rem;
  color: #fff;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-right: 1rem;
}

.category-tree-wrapper {
  position: sticky;
  top: 7rem;
  height: 60vh;
  width: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
}
.category-tree-wrapper input[type=radio],
.category-tree-wrapper input[type=checkbox] {
  display: none;
}
.category-tree-wrapper ul {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  padding-left: 0;
}
.category-tree-wrapper ul li {
  width: 100%;
  padding: 2rem 1rem;
  border-bottom: 1px solid #dbe0e4;
  display: flex;
}
.category-tree-wrapper ul li.has-children:after {
  content: "\f105";
  font-family: "Orderz Icons";
  display: flex;
  align-self: flex-end;
}
.category-tree-wrapper ul li.back:after {
  content: "";
  display: none;
}
.category-tree-wrapper ul li label {
  cursor: pointer;
  width: 100%;
}
.category-tree-wrapper ul li.back > label {
  color: #706f6f;
}
.category-tree-wrapper ul.sub-menu {
  background-color: #fff;
  position: absolute;
  top: 0;
  bottom: 0;
  overflow-y: scroll;
  transition: 0.2s ease all;
}
.category-tree-wrapper ul.sub-menu.level-1 {
  z-index: calc(100 + 1);
  left: calc(100% * 1);
}
.category-tree-wrapper ul.sub-menu.level-2 {
  z-index: calc(100 + 2);
  left: calc(100% * 2);
}
.category-tree-wrapper ul.sub-menu.level-3 {
  z-index: calc(100 + 3);
  left: calc(100% * 3);
}
.category-tree-wrapper ul.sub-menu.level-4 {
  z-index: calc(100 + 4);
  left: calc(100% * 4);
}
.category-tree-wrapper ul.sub-menu.level-5 {
  z-index: calc(100 + 5);
  left: calc(100% * 5);
}
.category-tree-wrapper ul.sub-menu.level-6 {
  z-index: calc(100 + 6);
  left: calc(100% * 6);
}
.category-tree-wrapper ul.sub-menu.level-7 {
  z-index: calc(100 + 7);
  left: calc(100% * 7);
}
.category-tree-wrapper ul.sub-menu.level-8 {
  z-index: calc(100 + 8);
  left: calc(100% * 8);
}
.category-tree-wrapper ul.sub-menu.level-9 {
  z-index: calc(100 + 9);
  left: calc(100% * 9);
}
.category-tree-wrapper ul.sub-menu.level-10 {
  z-index: calc(100 + 10);
  left: calc(100% * 10);
}
.category-tree-wrapper input[type=checkbox]:checked + li > ul.sub-menu.level-1,
.category-tree-wrapper input[type=radio]:checked + li > ul.sub-menu.level-1 {
  transform: translateX(calc(-100% * 1));
  transition: 0.2s ease all;
}
.category-tree-wrapper input[type=checkbox]:checked + li > ul.sub-menu.level-2,
.category-tree-wrapper input[type=radio]:checked + li > ul.sub-menu.level-2 {
  transform: translateX(calc(-100% * 2));
  transition: 0.2s ease all;
}
.category-tree-wrapper input[type=checkbox]:checked + li > ul.sub-menu.level-3,
.category-tree-wrapper input[type=radio]:checked + li > ul.sub-menu.level-3 {
  transform: translateX(calc(-100% * 3));
  transition: 0.2s ease all;
}
.category-tree-wrapper input[type=checkbox]:checked + li > ul.sub-menu.level-4,
.category-tree-wrapper input[type=radio]:checked + li > ul.sub-menu.level-4 {
  transform: translateX(calc(-100% * 4));
  transition: 0.2s ease all;
}
.category-tree-wrapper input[type=checkbox]:checked + li > ul.sub-menu.level-5,
.category-tree-wrapper input[type=radio]:checked + li > ul.sub-menu.level-5 {
  transform: translateX(calc(-100% * 5));
  transition: 0.2s ease all;
}
.category-tree-wrapper input[type=checkbox]:checked + li > ul.sub-menu.level-6,
.category-tree-wrapper input[type=radio]:checked + li > ul.sub-menu.level-6 {
  transform: translateX(calc(-100% * 6));
  transition: 0.2s ease all;
}
.category-tree-wrapper input[type=checkbox]:checked + li > ul.sub-menu.level-7,
.category-tree-wrapper input[type=radio]:checked + li > ul.sub-menu.level-7 {
  transform: translateX(calc(-100% * 7));
  transition: 0.2s ease all;
}
.category-tree-wrapper input[type=checkbox]:checked + li > ul.sub-menu.level-8,
.category-tree-wrapper input[type=radio]:checked + li > ul.sub-menu.level-8 {
  transform: translateX(calc(-100% * 8));
  transition: 0.2s ease all;
}
.category-tree-wrapper input[type=checkbox]:checked + li > ul.sub-menu.level-9,
.category-tree-wrapper input[type=radio]:checked + li > ul.sub-menu.level-9 {
  transform: translateX(calc(-100% * 9));
  transition: 0.2s ease all;
}
.category-tree-wrapper input[type=checkbox]:checked + li > ul.sub-menu.level-10,
.category-tree-wrapper input[type=radio]:checked + li > ul.sub-menu.level-10 {
  transform: translateX(calc(-100% * 10));
  transition: 0.2s ease all;
}
.category-tree-wrapper input[type=checkbox]:checked + li,
.category-tree-wrapper input[type=radio]:checked + li {
  background-color: #dbe0e4;
}

.box-loading {
  position: relative;
}
.box-loading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(148, 123, 225, 0.7);
}
.box-loading::after {
  content: "Caricamento in corso...";
  font-size: 3rem;
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.dt-container select {
  margin-left: 1rem;
  margin-right: 1rem;
}

.order-quantity-component {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: center;
}
.order-quantity-component .orderz-qty-ctrl {
  width: 3.2rem;
  height: 3.2rem;
  background-color: #e5e8eb;
  color: #38393a;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  font-size: 2rem;
  display: flex;
  padding: 0;
  font-family: "Orderz Icons";
}
.order-quantity-component .orderz-qty-ctrl.plus-btn::after {
  content: "+";
  display: flex;
}
.order-quantity-component .orderz-qty-ctrl.minus-btn::after {
  content: "\f068";
  display: flex;
}
.order-quantity-component input[type=number] {
  width: 6.7rem;
  -moz-appearance: textfield;
}
.order-quantity-component input[type=number]::-webkit-outer-spin-button, .order-quantity-component input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.original-price {
  text-decoration: line-through;
  opacity: 0.7;
}

.product-line-status {
  white-space: nowrap;
}

.line-status-badge {
  display: inline-block;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  font-size: 1.2rem;
  line-height: 1.8rem;
  white-space: nowrap;
}
.line-status-badge + .line-status-badge {
  margin-left: 0.5rem;
}
.line-status-badge.done {
  color: #fff;
  background-color: #42b883;
}
.line-status-badge.partial {
  color: #38393a;
  background-color: #ffcb00;
}
.line-status-badge.none {
  color: #706f6f;
  background-color: transparent;
}

.order-status-badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  font-size: 1.3rem;
  line-height: 1.8rem;
  font-weight: 500;
  white-space: nowrap;
  color: #38393a;
  background-color: #e5e8eb;
}
.order-status-badge.status-waiting {
  color: #38393a;
  background-color: #ffcb00;
}
.order-status-badge.status-confirmed {
  color: #fff;
  background-color: #5ebfed;
}
.order-status-badge.status-delivered {
  color: #fff;
  background-color: #42b883;
}
.order-status-badge.status-invoiced {
  color: #fff;
  background-color: #505ba4;
}
.order-status-badge.status-cancelled {
  color: #fff;
  background-color: #fa5c7c;
}

.order-title .order-status-badge {
  vertical-align: middle;
  margin-left: 0.5rem;
}

.sidebar-toggle {
  display: none;
}

.select2-container--default .select2-selection--single {
  height: 4.4rem !important;
  line-height: 3.2rem !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 3.2rem !important;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
  line-height: 3.2rem !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 4.2rem !important;
}
.select2-container--default .select2-selection--multiple {
  min-height: 4.4rem !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
  margin-top: 0.5rem !important;
}

/* Revenue chart (module RevenueStats): two series, last year and this year. */
.revenue-chart svg {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 0.75rem;
}
.revenue-chart .revenue-grid {
  stroke: rgba(0, 0, 0, 0.08);
  stroke-width: 1;
}
.revenue-chart .revenue-baseline {
  stroke: rgba(0, 0, 0, 0.35);
  stroke-width: 1;
}
.revenue-chart .revenue-axis {
  fill: #6b6b66;
  font-size: 11px;
}
.revenue-chart .revenue-bar.revenue-previous {
  fill: #eb6834;
}
.revenue-chart .revenue-bar.revenue-current {
  fill: #2a78d6;
}
.revenue-chart .revenue-bar:hover {
  opacity: 0.8;
}
.revenue-chart .revenue-legend {
  font-size: 13px;
}
.revenue-chart .revenue-swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-radius: 2px;
}
.revenue-chart .revenue-swatch.revenue-previous {
  background: #eb6834;
}
.revenue-chart .revenue-swatch.revenue-current {
  background: #2a78d6;
}
.revenue-chart .revenue-table {
  margin-top: 0.5rem;
  font-size: 13px;
}
.revenue-chart .revenue-table summary {
  cursor: pointer;
}

@media print {
  /* Forza la stampa di sfondi e colori per TUTTI gli elementi */
  * {
    -webkit-print-color-adjust: exact !important; /* Per Chrome/Safari/Edge */
    print-color-adjust: exact !important; /* Standard Firefox e futuri */
    color-adjust: exact !important; /* Vecchia sintassi di fallback */
  }
  /* --- DATATABLES CLEANUP PER STAMPA --- */
  /* 1. Nascondi tutti i controlli di DataTables */
  .dataTables_wrapper .dataTables_length,
  .dataTables_wrapper .dataTables_filter,
  .dataTables_wrapper .dataTables_info,
  .dataTables_wrapper .dataTables_paginate,
  .dataTables_wrapper .dataTables_processing {
    /* Loading spinner */
    display: none !important;
  }
  /* 2. Gestisci le icone di ordinamento nelle intestazioni */
  table.dataTable thead .sorting:after,
  table.dataTable thead .sorting_asc:after,
  table.dataTable thead .sorting_desc:after,
  table.dataTable thead .sorting:before,
  table.dataTable thead .sorting_asc:before,
  table.dataTable thead .sorting_desc:before {
    display: none !important; /* Nasconde le freccette su/giù */
  }
  /* 3. Reset della tabella stessa */
  table.dataTable {
    width: 100% !important;
    margin: 0 !important;
    border-collapse: collapse !important;
    box-shadow: none !important;
  }
  table.dataTable th,
  table.dataTable td {
    width: auto !important;
    height: auto !important;
    padding: 8px !important;
    border: 0px solid #ddd !important; /* Forza bordi semplici */
    white-space: normal !important; /* Evita che il testo vada fuori pagina */
  }
  table.dataTable tr {
    height: auto !important;
  }
  /* Stili generali per la stampa */
  body {
    font-size: 10pt !important;
    color: #000000;
    background-color: #ffffff;
    margin: 0;
    line-height: 1.1 !important;
  }
  /* Nascondi elementi non necessari */
  #header,
  #footer,
  nav,
  aside,
  .sidebar,
  .sidebar-toggle-icon,
  .user-profile-header,
  .btn,
  .navbar,
  #printButton,
  .dt-layout-cell,
  .dt-column-order,
  .order-quantity-component button,
  .no-print,
  .select2-selection__arrow {
    display: none !important; /* Usa !important se necessario per sovrascrivere altri stili */
  }
  select,
  input,
  textarea,
  .select2-container--default .select2-selection--single {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    border: none !important;
    background-color: transparent !important;
  }
  .padding {
    padding: 0 !important;
  }
  .container,
  .container-fluid,
  .col {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
  }
  .page-template-tpl-cart th.codice-prodotto {
    width: 2cm !important;
  }
  .page-template-tpl-cart th.nome-prodotto {
    width: 12cm !important;
  }
  .page-template-tpl-cart th.quantita {
    width: 2cm !important;
  }
  .page-template-tpl-cart th.prezzo-unitario {
    width: 2cm !important;
  }
  .page-template-tpl-cart th.prezzo-totale {
    width: 2cm !important;
  }
  .page-template-tpl-cart td.product-name {
    width: 12cm !important;
  }
  .page-template-tpl-cart .riepilogo-ordine h4 {
    display: none !important;
  }
  .order-quantity-component input {
    background-color: transparent !important;
    border: none;
    width: auto !important;
  }
  header .logo {
    background-color: transparent !important;
  }
  header .logo .logo-img {
    filter: brightness(0) !important;
  }
  /* Mostra l'URL dei link (opzionale) */
  /*
  a[href^="http"]:after {
  	content: " (" attr(href) ")";
  	font-size: 9pt;
  	color: #333;
  }
     */
  /* Assicurati che il contenuto principale occupi lo spazio */
  #main-content,
  .content-area {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
  }
  /* Evita interruzioni di pagina sgradevoli */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    page-break-after: avoid;
  }
  ul,
  ol,
  blockquote {
    page-break-inside: avoid;
  }
  img {
    max-width: 100% !important; /* Evita immagini troppo grandi */
    page-break-inside: avoid;
  }
  .row {
    display: block !important;
  }
  .border {
    border: none !important;
  }
  .content-box {
    background-color: transparent !important;
  }
}
/*
 * Adattamenti per schermi stretti.
 *
 * File a sé come settings.css: il build SCSS del tema gira solo da VSCode.
 * Tutto è limitato a "screen" per non toccare la stampa (_print.scss).
 * Breakpoint allineati a Bootstrap: 576 / 768 / 992.
 */
@media screen {
  /* Il contenuto occupa tutto lo spazio lasciato dalla sidebar, anche
     quando è chiusa. Prima il max-width fisso lasciava 28rem vuoti. */
  section.main .content {
    max-width: none;
    min-width: 0;
  }
  section.main .sidebar {
    flex-shrink: 0;
  }
  .sidebar-backdrop {
    display: none;
  }
  /* Tabelle larghe: scorrono in orizzontale dentro il box invece di
     uscire dalla pagina. La responsive di DataTables non è attiva.
     L'aspetto delle scrollbar è in scrollbars.css. */
  div.dt-container div.dt-layout-table > div.dt-layout-cell,
  .orderz-table-scroll {
    overflow-x: auto;
    min-width: 0;
    -webkit-overflow-scrolling: touch;
  }
  /* Intestazione profilo: con tanti pulsanti andava fuori già su
     schermi da portatile. */
  .user-profile-header > .d-flex {
    flex-wrap: wrap;
    gap: 2rem;
  }
  .user-profile-header .user-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .user-info,
  .user-info .user-data {
    min-width: 0;
  }
  .user-info .user-data .username {
    overflow-wrap: anywhere;
  }
}
/* --- tablet: sidebar a scomparsa sopra il contenuto -------------------- */
@media screen and (max-width: 991.98px) {
  /* La checkbox arriva sempre "checked" dal markup: sotto i 992px lo
     stato è invertito, così al caricamento il menu è chiuso e non
     copre la pagina. */
  section.main .sidebar {
    position: fixed;
    top: 7rem;
    left: 0;
    bottom: 0;
    height: auto;
    width: 28rem;
    max-width: 85vw;
    box-shadow: 0 0 2rem rgba(0, 0, 0, 0.3);
  }
  #sidebar-toggle:checked ~ section.main .sidebar {
    width: 0;
    box-shadow: none;
  }
  #sidebar-toggle:not(:checked) ~ section.main .sidebar-backdrop {
    display: block;
    position: fixed;
    top: 7rem;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    background-color: rgba(0, 0, 0, 0.4);
    cursor: pointer;
  }
  /* L'albero categorie finisce sopra i prodotti: niente sticky e
     altezza ridotta. */
  .category-tree-wrapper {
    position: relative;
    top: auto;
    height: 40vh;
    margin-bottom: 1rem;
  }
}
/* --- tablet verticale e telefoni --------------------------------------- */
@media screen and (max-width: 767.98px) {
  header.header .logo {
    width: auto;
    flex: 0 0 auto;
  }
  header.header .logo .sidebar-toggle-icon {
    padding: 0 2rem;
  }
  header.header .logo .logo-img {
    width: 12rem;
    padding: 1.5rem 1.5rem 1.5rem 0;
    background-size: contain;
    background-origin: content-box;
  }
  header.header .navbar {
    min-width: 0;
    flex-wrap: nowrap;
  }
  header.header .navbar .logged-in-user {
    margin: 0 1rem;
    padding: 0.5rem;
    min-width: 0;
  }
  header.header .navbar .logged-in-user .user {
    min-width: 0;
  }
  header.header .navbar .logged-in-user .username,
  header.header .navbar .logged-in-user .role {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
/* --- telefoni ---------------------------------------------------------- */
@media screen and (max-width: 575.98px) {
  section.main .content {
    padding: 1.2rem;
  }
  .content-box {
    padding: 1.5rem;
  }
  h2 {
    font-size: 2.6rem;
  }
  header.header .navbar .logged-in-user .avatar {
    margin: 0 0.5rem;
  }
  header.header .navbar .logged-in-user .role {
    display: none;
  }
  /* Resta icona + contatore */
  .global-carts .btn-icon-cart .text {
    display: none;
  }
  .global-carts .btn-icon-cart::before {
    margin-right: 0;
  }
  .user-profile-header .user-actions {
    justify-content: flex-start;
  }
  .user-info .avatar-big {
    flex-shrink: 0;
    width: 7rem;
    height: 7rem;
    border-width: 4px;
    font-size: 3rem;
  }
  .user-info .user-data .username {
    font-size: 2.4rem;
  }
  .dashboard-new-order {
    flex-wrap: wrap;
    gap: 1rem;
    text-align: center;
  }
}
/*
 * Scrollbar visibili e personalizzate nelle aree che scorrono: tabelle
 * DataTables (in orizzontale), tabelle larghe e albero delle categorie.
 *
 * File a sé come responsive.css: il build SCSS del tema gira solo da VSCode.
 * orderz.scss nasconde le scrollbar di tutti i div e ul (scrollbar-width:
 * none e ::-webkit-scrollbar display: none): qui le riattivo solo dove
 * servono, altrimenti su schermi piccoli non si capisce che c'è altro.
 *
 * Chrome ed Edge (dalla 121) ignorano gli pseudo-elementi ::-webkit-scrollbar
 * se scrollbar-width o scrollbar-color non sono "auto": per questo li riporto
 * ad auto e uso le proprietà standard solo dove ::-webkit-scrollbar non
 * esiste (Firefox).
 */
@media screen {
  /* _ui.scss usa overflow-y: scroll, che mostra la traccia anche quando
     le categorie ci stanno tutte: la barra deve comparire solo se serve. */
  .category-tree-wrapper,
  .category-tree-wrapper ul.sub-menu {
    overflow-y: auto;
  }
  div.dt-container div.dt-layout-table > div.dt-layout-cell,
  .orderz-table-scroll,
  .category-tree-wrapper,
  .category-tree-wrapper ul.sub-menu {
    scrollbar-width: auto;
    scrollbar-color: auto;
  }
  div.dt-container div.dt-layout-table > div.dt-layout-cell::-webkit-scrollbar,
  .orderz-table-scroll::-webkit-scrollbar,
  .category-tree-wrapper::-webkit-scrollbar,
  .category-tree-wrapper ul.sub-menu::-webkit-scrollbar {
    display: block;
    width: 1.2rem;
    height: 1.2rem;
  }
  div.dt-container div.dt-layout-table > div.dt-layout-cell::-webkit-scrollbar-track,
  .orderz-table-scroll::-webkit-scrollbar-track,
  .category-tree-wrapper::-webkit-scrollbar-track,
  .category-tree-wrapper ul.sub-menu::-webkit-scrollbar-track {
    background-color: #eef2f6;
    border-radius: 0.6rem;
  }
  /* Il bordo trasparente stacca il cursore dai lati della traccia. */
  div.dt-container div.dt-layout-table > div.dt-layout-cell::-webkit-scrollbar-thumb,
  .orderz-table-scroll::-webkit-scrollbar-thumb,
  .category-tree-wrapper::-webkit-scrollbar-thumb,
  .category-tree-wrapper ul.sub-menu::-webkit-scrollbar-thumb {
    background-color: rgba(80, 91, 164, 0.45);
    border: 0.3rem solid transparent;
    border-radius: 0.6rem;
    background-clip: padding-box;
  }
  div.dt-container div.dt-layout-table > div.dt-layout-cell::-webkit-scrollbar-thumb:hover,
  .orderz-table-scroll::-webkit-scrollbar-thumb:hover,
  .category-tree-wrapper::-webkit-scrollbar-thumb:hover,
  .category-tree-wrapper ul.sub-menu::-webkit-scrollbar-thumb:hover {
    background-color: rgba(80, 91, 164, 0.75);
  }
  /* Un bordo trasparente lato contenuto separa la barra dalla lista (o
     dalla tabella) senza togliere spazio quando la barra non c'è. */
  .category-tree-wrapper::-webkit-scrollbar,
  .category-tree-wrapper ul.sub-menu::-webkit-scrollbar {
    width: 1.8rem;
  }
  .category-tree-wrapper::-webkit-scrollbar-track,
  .category-tree-wrapper ul.sub-menu::-webkit-scrollbar-track {
    border-left: 0.6rem solid transparent;
    background-clip: padding-box;
  }
  .category-tree-wrapper::-webkit-scrollbar-thumb,
  .category-tree-wrapper ul.sub-menu::-webkit-scrollbar-thumb {
    border-left-width: 0.9rem;
  }
  div.dt-container div.dt-layout-table > div.dt-layout-cell::-webkit-scrollbar,
  .orderz-table-scroll::-webkit-scrollbar {
    height: 1.8rem;
  }
  div.dt-container div.dt-layout-table > div.dt-layout-cell::-webkit-scrollbar-track,
  .orderz-table-scroll::-webkit-scrollbar-track {
    border-top: 0.6rem solid transparent;
    background-clip: padding-box;
  }
  div.dt-container div.dt-layout-table > div.dt-layout-cell::-webkit-scrollbar-thumb,
  .orderz-table-scroll::-webkit-scrollbar-thumb {
    border-top-width: 0.9rem;
  }
  div.dt-container div.dt-layout-table > div.dt-layout-cell::-webkit-scrollbar-corner,
  .orderz-table-scroll::-webkit-scrollbar-corner,
  .category-tree-wrapper::-webkit-scrollbar-corner,
  .category-tree-wrapper ul.sub-menu::-webkit-scrollbar-corner {
    background-color: transparent;
  }
  @supports not selector(::-webkit-scrollbar) {
    div.dt-container div.dt-layout-table > div.dt-layout-cell,
    .orderz-table-scroll,
    .category-tree-wrapper,
    .category-tree-wrapper ul.sub-menu {
      scrollbar-width: thin;
      scrollbar-color: rgba(80, 91, 164, 0.45) #eef2f6;
    }
  }
}
/*
 * Pagina Impostazioni — sincronizzazione con il gestionale.
 *
 * Foglio di stile autonomo, non compilato dallo SCSS del tema: la pagina è
 * l'unica a usarlo e così non serve rigenerare orderz.css per modificarla.
 * Attenzione: nel tema la radice è 9px, quindi 1rem = 9px.
 */
.ozs {
  --ozs-ink: #38393a;
  --ozs-muted: #706f6f;
  --ozs-line: #e3e8ee;
  --ozs-surface: #ffffff;
  --ozs-bg: #eef2f6;
  --ozs-accent: #5d91ef;
  --ozs-accent-dark: #505ba4;
  --ozs-violet: #947be1;
  --ozs-green: #42b883;
  --ozs-red: #fa5c7c;
  --ozs-amber: #e9a33a;
  --ozs-radius: 1.4rem;
  --ozs-shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 8px 24px rgba(16, 24, 40, 0.06);
  color: var(--ozs-ink);
  font-size: 1.5rem;
  line-height: 1.55;
  padding-bottom: 6rem;
}

.ozs * {
  box-sizing: border-box;
}

/* --- intestazione ------------------------------------------------------- */
.ozs-head {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-end;
  justify-content: space-between;
  margin: 1rem 0 2.5rem;
}

.ozs-head h2 {
  margin: 0;
  color: var(--ozs-ink);
  font-size: 3.2rem;
  line-height: 1.2;
}

.ozs-sub {
  margin: 0.4rem 0 0;
  color: var(--ozs-muted);
  font-size: 1.5rem;
}

.ozs-head-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.ozs-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-size: 1.3rem;
  font-weight: 500;
  background: #eef4ff;
  color: var(--ozs-accent-dark);
  cursor: help;
}

.ozs-chip--warn {
  background: #fff4e2;
  color: #a2650f;
}

/* --- elementi di base --------------------------------------------------- */
.ozs-card {
  background: var(--ozs-surface);
  border: 1px solid var(--ozs-line);
  border-radius: var(--ozs-radius);
  box-shadow: var(--ozs-shadow);
  padding: 2.2rem;
  margin-bottom: 2.4rem;
}

.ozs-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.9rem;
  color: var(--ozs-ink);
}

.ozs-section {
  margin-bottom: 3.2rem;
}

.ozs-section-title {
  margin: 0 0 1.4rem;
  font-size: 1.4rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ozs-muted);
  font-weight: 600;
}

.ozs-section-sub {
  margin: -0.8rem 0 1.6rem;
  color: var(--ozs-muted);
  max-width: 70ch;
}

.ozs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.9rem 1.8rem;
  border: 1px solid var(--ozs-line);
  border-radius: 0.9rem;
  background: var(--ozs-surface);
  color: var(--ozs-ink);
  font-size: 1.5rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: 0.15s ease all;
}

.ozs-btn:hover:not(:disabled) {
  border-color: #c8d3e2;
  background: #f7f9fc;
}

.ozs-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ozs-btn--primary {
  background: var(--ozs-accent);
  border-color: var(--ozs-accent);
  color: #fff;
}

.ozs-btn--primary:hover:not(:disabled) {
  background: var(--ozs-accent-dark);
  border-color: var(--ozs-accent-dark);
  color: #fff;
}

.ozs-btn--danger {
  background: var(--ozs-red);
  border-color: var(--ozs-red);
  color: #fff;
}

.ozs-btn--danger:hover:not(:disabled) {
  background: #e5476a;
  border-color: #e5476a;
  color: #fff;
}

.ozs-btn--ghost {
  background: transparent;
}

.ozs-link {
  border: 0;
  background: none;
  padding: 0;
  color: var(--ozs-accent);
  font-size: 1.4rem;
  font-family: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.ozs-input {
  width: 100%;
  padding: 0.8rem 1.1rem;
  border: 1px solid var(--ozs-line);
  border-radius: 0.8rem;
  font-size: 1.5rem;
  font-family: inherit;
  color: var(--ozs-ink);
  background: #fff;
}

.ozs-input:focus {
  outline: 2px solid rgba(93, 145, 239, 0.35);
  border-color: var(--ozs-accent);
}

.ozs-check {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.4rem;
  color: var(--ozs-muted);
  cursor: pointer;
}

.ozs-check input {
  margin: 0;
  accent-color: var(--ozs-accent);
}

/* --- stato API ---------------------------------------------------------- */
.ozs-api {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.ozs-api-main {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
}

.ozs-api-dot {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  margin-top: 0.7rem;
  flex: 0 0 auto;
  background: var(--ozs-green);
  box-shadow: 0 0 0 4px rgba(66, 184, 131, 0.16);
}

.ozs-api-dot.is-ko {
  background: var(--ozs-red);
  box-shadow: 0 0 0 4px rgba(250, 92, 124, 0.16);
}

.ozs-api p {
  margin: 0;
}

/* --- operazione in corso ------------------------------------------------ */
.ozs-live {
  position: sticky;
  top: 1rem;
  z-index: 20;
  background: linear-gradient(135deg, #f4f8ff 0%, #ffffff 60%);
  border: 1px solid #cfe0fb;
  border-radius: var(--ozs-radius);
  box-shadow: 0 10px 30px rgba(80, 91, 164, 0.14);
  padding: 2rem 2.2rem;
  margin-bottom: 2.4rem;
}

.ozs-live-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.ozs-live-head strong {
  font-size: 1.8rem;
  margin-right: 0.8rem;
}

.ozs-live-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.ozs-live-pulse {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--ozs-accent);
  margin-right: 0.9rem;
  animation: ozs-pulse 1.4s ease-in-out infinite;
}

@keyframes ozs-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.8);
  }
}
.ozs-live-stats {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.ozs-live-step {
  color: var(--ozs-muted);
  font-size: 1.4rem;
}

.ozs-live-queue {
  margin: 1rem 0 0;
  color: var(--ozs-muted);
  font-size: 1.4rem;
}

/* --- barre di avanzamento ----------------------------------------------- */
.ozs-bar {
  height: 0.7rem;
  border-radius: 999px;
  background: #e6ecf5;
  overflow: hidden;
}

.ozs-bar--lg {
  height: 1rem;
}

.ozs-bar > span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #5ebfed, #5d91ef, #947be1);
  transition: width 0.4s ease;
}

/* Senza un totale noto la barra scorre invece di fingere una percentuale. */
.ozs-bar > span.is-indeterminate {
  background: linear-gradient(90deg, #cfe0fb 25%, #5d91ef 50%, #cfe0fb 75%);
  background-size: 200% 100%;
  animation: ozs-slide 1.3s linear infinite;
}

@keyframes ozs-slide {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -100% 0;
  }
}
/* --- riquadri operazione ------------------------------------------------ */
.ozs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(34rem, 1fr));
  gap: 1.8rem;
}

.ozs-task {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background: var(--ozs-surface);
  border: 1px solid var(--ozs-line);
  border-radius: var(--ozs-radius);
  box-shadow: var(--ozs-shadow);
  padding: 2rem;
  transition: 0.2s ease box-shadow, 0.2s ease border-color;
}

.ozs-task.is-running {
  border-color: #a9c7f7;
  box-shadow: 0 0 0 3px rgba(93, 145, 239, 0.12), var(--ozs-shadow);
}

.ozs-task.is-queued {
  border-style: dashed;
}

.ozs-task.is-danger {
  border-color: #f6d3db;
  background: #fffafb;
}

.ozs-task-head {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.ozs-task-head h4 {
  margin: 0;
  font-size: 1.7rem;
  color: var(--ozs-ink);
}

.ozs-task-head p {
  margin: 0.4rem 0 0;
  color: var(--ozs-muted);
  font-size: 1.4rem;
}

.ozs-task-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.8rem;
  height: 3.8rem;
  flex: 0 0 auto;
  border-radius: 1rem;
  background: #eef4ff;
  color: var(--ozs-accent-dark);
  font-size: 1.6rem;
}

.is-danger .ozs-task-icon {
  background: #fdecf0;
  color: var(--ozs-red);
}

.ozs-task-state {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.ozs-task-when,
.ozs-task-meta {
  color: var(--ozs-muted);
  font-size: 1.3rem;
  margin: 0;
}

.ozs-task-message {
  margin: 0.6rem 0 0.2rem;
  font-size: 1.4rem;
}

.ozs-task-note,
.ozs-task-alert {
  margin: 0;
  font-size: 1.3rem;
  color: var(--ozs-muted);
}

.ozs-task-alert {
  color: #a2650f;
  background: #fff6e6;
  border-radius: 0.8rem;
  padding: 0.8rem 1rem;
}

.ozs-note code {
  font-size: 1.25rem;
  color: var(--ozs-muted);
  background: #f4f6fa;
  padding: 0.25rem 0.6rem;
  border-radius: 0.5rem;
  word-break: break-all;
}

.ozs-task-foot {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 0.4rem;
}

/* --- badge e pillole ---------------------------------------------------- */
.ozs-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: #eef1f5;
  color: var(--ozs-muted);
}

.ozs-badge--done {
  background: #e6f7ef;
  color: #1f8a5f;
}

.ozs-badge--error {
  background: #fdecf0;
  color: #c32f52;
}

.ozs-badge--running {
  background: #e8f0ff;
  color: #2f61c0;
}

.ozs-badge--queued {
  background: #f1edfd;
  color: #6a4fc4;
}

.ozs-badge--cancelled,
.ozs-badge--interrupted {
  background: #fff4e2;
  color: #a2650f;
}

.ozs-badge--never {
  background: #f2f4f7;
  color: #8a8f98;
}

.ozs-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.ozs-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 0.7rem;
  font-size: 1.25rem;
  background: #f4f6fa;
  color: var(--ozs-muted);
}

.ozs-pill b {
  font-size: 1.45rem;
  color: var(--ozs-ink);
}

.ozs-pill--add b {
  color: #1f8a5f;
}

.ozs-pill--upd b {
  color: #2f61c0;
}

.ozs-pill--del b {
  color: #c32f52;
}

.ozs-pill--err b {
  color: #c32f52;
}

/* --- console dei log ---------------------------------------------------- */
.ozs-console {
  margin: 1.4rem 0 0;
  padding: 1.4rem;
  max-height: 26rem;
  overflow: auto;
  border-radius: 1rem;
  background: #1d2330;
  color: #d7e1f0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.25rem;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}

.ozs-console--tall {
  max-height: 55vh;
}

/* --- pianificazione ----------------------------------------------------- */
.ozs-cron-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
}

.ozs-cron-body {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.ozs-field {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.ozs-field--narrow {
  width: 20rem;
}

.ozs-field--wide {
  flex: 1 1 100%;
}

.ozs-label {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ozs-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ozs-days {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.ozs-day input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ozs-day span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.6rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--ozs-line);
  border-radius: 0.8rem;
  font-size: 1.35rem;
  cursor: pointer;
  user-select: none;
  transition: 0.15s ease all;
}

.ozs-day input:checked + span {
  background: var(--ozs-accent);
  border-color: var(--ozs-accent);
  color: #fff;
  font-weight: 600;
}

.ozs-day input:focus-visible + span {
  outline: 2px solid rgba(93, 145, 239, 0.45);
}

.ozs-cron-tasks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(26rem, 1fr));
  gap: 0.8rem 1.6rem;
}

.ozs-cron-foot {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.ozs-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  cursor: pointer;
  font-size: 1.4rem;
  color: var(--ozs-muted);
}

.ozs-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ozs-switch span {
  position: relative;
  width: 4.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: #d6dde8;
  transition: 0.2s ease background;
}

.ozs-switch span::after {
  content: "";
  position: absolute;
  top: 0.3rem;
  left: 0.3rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: 0.2s ease transform;
}

.ozs-switch input:checked + span {
  background: var(--ozs-green);
}

.ozs-switch input:checked + span::after {
  transform: translateX(2rem);
}

.ozs-switch em {
  font-style: normal;
}

.ozs-note {
  margin: 1.8rem 0 0;
  padding: 1.2rem 1.4rem;
  border-radius: 0.9rem;
  background: #f4f6fa;
  color: var(--ozs-muted);
  font-size: 1.35rem;
}

.ozs-note--warn {
  background: #fff6e6;
  color: #8a5a10;
}

/* --- storico ------------------------------------------------------------ */
.ozs-table-wrap {
  overflow-x: auto;
}

.ozs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.4rem;
}

.ozs-table th {
  text-align: left;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ozs-muted);
  font-weight: 600;
  padding: 0 1.2rem 0.9rem;
  white-space: nowrap;
}

.ozs-table td {
  padding: 1rem 1.2rem;
  border-top: 1px solid var(--ozs-line);
  vertical-align: middle;
  color: var(--ozs-ink);
}

.ozs-cell-report {
  color: var(--ozs-muted);
  min-width: 26rem;
}

.ozs-empty {
  text-align: center;
  color: var(--ozs-muted);
  padding: 2.4rem 0;
}

/* --- zona pericolosa ---------------------------------------------------- */
.ozs-section--danger .ozs-section-title {
  color: var(--ozs-red);
}

/* --- modali ------------------------------------------------------------- */
.ozs-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(24, 30, 42, 0.55);
  backdrop-filter: blur(2px);
}

.ozs-modal[hidden] {
  display: none;
}

body.ozs-modal-open {
  overflow: hidden;
}

.ozs-modal-box {
  width: min(52rem, 100%);
  background: #fff;
  border-radius: 1.6rem;
  box-shadow: 0 24px 60px rgba(16, 24, 40, 0.28);
  padding: 2.4rem;
  color: var(--ozs-ink);
  font-size: 1.5rem;
}

.ozs-modal-box--wide {
  width: min(92rem, 100%);
}

.ozs-modal-box h4 {
  margin: 0 0 1.2rem;
  font-size: 2rem;
}

.ozs-modal-body p {
  margin: 0 0 1rem;
}

.ozs-modal-note {
  color: var(--ozs-muted);
  font-size: 1.35rem;
}

.ozs-modal-warn {
  background: #fdecf0;
  color: #a52344;
  border-radius: 0.9rem;
  padding: 1.2rem 1.4rem;
}

.ozs-modal-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: #f4f6fa;
  padding: 0.2rem 0.6rem;
  border-radius: 0.5rem;
  font-weight: 600;
}

.ozs-modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
}

/* --- schermi stretti ---------------------------------------------------- */
@media (max-width: 768px) {
  .ozs-head,
  .ozs-api,
  .ozs-live-head {
    align-items: flex-start;
  }
  .ozs-grid {
    grid-template-columns: 1fr;
  }
  .ozs-live {
    position: static;
  }
  .ozs-field--narrow {
    width: 100%;
  }
}
/* --- opzioni avanzate --------------------------------------------------- */
.ozs-advanced {
  border-top: 1px dashed var(--ozs-line);
  padding-top: 1.6rem;
  margin-top: 0.6rem;
}

.ozs-advanced .ozs-check {
  align-items: flex-start;
  color: var(--ozs-ink);
}

.ozs-advanced .ozs-check input {
  margin-top: 0.4rem;
}

.ozs-advanced .ozs-task-meta {
  max-width: 80ch;
}

.ozs-stalled {
  display: inline-block;
  background: #fff6e6;
  color: #8a5a10;
  border-radius: 0.8rem;
  padding: 0.9rem 1.2rem;
}

/* --- diagnostica -------------------------------------------------------- */
.ozs-diag-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.ozs-diag-head .ozs-task-meta {
  max-width: 70ch;
  margin-top: 0.4rem;
}

.ozs-diag-body {
  margin-top: 2rem;
}

.ozs-diag-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ozs-diag-row {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--ozs-line);
}

.ozs-diag-row:first-child {
  border-top: 0;
}

.ozs-diag-row b {
  display: inline-block;
  min-width: 26rem;
  margin-right: 1rem;
  font-weight: 600;
}

.ozs-diag-value {
  color: var(--ozs-muted);
  word-break: break-word;
}

.ozs-diag-dot {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  margin-top: 0.8rem;
  flex: 0 0 auto;
  background: #c7cedb;
}

.ozs-diag-row--ok .ozs-diag-dot {
  background: var(--ozs-green);
}

.ozs-diag-row--warn .ozs-diag-dot {
  background: var(--ozs-amber);
}

.ozs-diag-row--ko .ozs-diag-dot {
  background: var(--ozs-red);
}

.ozs-diag-row--ko b {
  color: #c32f52;
}

@media (max-width: 768px) {
  .ozs-diag-row b {
    display: block;
    min-width: 0;
  }
}
.ozs-diag-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Gli output dei comandi vanno letti a capo come li stampa il server. */
.ozs-diag-out {
  white-space: pre-wrap;
  word-break: break-word;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.2rem;
  line-height: 1.6;
  margin: 0.6rem 0 0;
  background: #1d2330;
  color: #d7e1f0;
  border-radius: 0.7rem;
  padding: 1rem 1.2rem;
  max-height: 24rem;
  overflow: auto;
}

.ozs-diag-row .ozs-task-meta {
  margin-top: 0.4rem;
}

.ozs-runner {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 36rem;
  margin-bottom: 1.4rem;
  font-size: 1.4rem;
  color: var(--ozs-ink);
}

/* --- pianificazione: sequenza fissa -------------------------------------- */
.ozs-cron-order-note {
  max-width: 80ch;
  margin: -0.2rem 0 0.4rem;
}

.ozs-cron-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #eef1f5;
  color: var(--ozs-muted);
  font-size: 1.15rem;
  font-weight: 600;
}

.ozs-cron-tasks .ozs-check input:checked ~ .ozs-cron-step {
  background: var(--ozs-accent);
  color: #fff;
}

/* --- piani di aggiornamento ---------------------------------------------- */
.ozs-plan {
  border-left: 3px solid var(--ozs-accent);
}

.ozs-plan .ozs-cron-head h3 {
  margin-bottom: 0.2rem;
}

.ozs-plan .ozs-cron-foot {
  border-top: 1px solid var(--ozs-line);
  padding-top: 1.4rem;
  margin-top: 1.8rem;
}

/* Riepiloghi su più righe (una per piano) nelle modali di conferma. */
.ozs-modal-lines {
  white-space: pre-line;
}

.ozs-modal-list {
  margin: 0 0 1.2rem;
  padding-left: 2.2rem;
  font-size: 1.45rem;
}

.ozs-modal-list li {
  margin-bottom: 0.3rem;
}

/* Administration area: same frame as the portal, a few blocks of its own. */
.admin-header {
  border-bottom: 3px solid var(--bs-warning, #ffc107);
}

.sidebar-menu .admin-menu-group {
  margin-top: 1rem;
  padding: 0.25rem 1.5rem;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.55;
}
.sidebar-menu .sidebar-menu-item.admin-item {
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}
.sidebar-menu .sidebar-menu-item.admin-item:before {
  content: none;
}

.admin-back {
  margin-bottom: 0.25rem;
  font-size: 13px;
}

.admin-fields {
  display: grid;
  grid-template-columns: minmax(10rem, max-content) 1fr;
  gap: 0.4rem 1.5rem;
  margin: 0;
}
.admin-fields dt {
  font-weight: 500;
  opacity: 0.7;
}
.admin-fields dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-raw {
  margin: 0;
  padding: 0.5rem 0.75rem;
  max-height: 24rem;
  overflow: auto;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 4px;
}

.admin-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-tile {
  display: flex;
  flex-direction: column;
  min-width: 9rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  color: inherit;
  text-decoration: none;
}
.admin-tile:hover {
  border-color: currentColor;
}
.admin-tile .admin-tile-count {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}
.admin-tile .admin-tile-label {
  font-size: 13px;
  opacity: 0.7;
}

.admin-attention li + li {
  margin-top: 0.4rem;
}

.admin-filters .form-select {
  width: auto;
  min-height: 38px;
  font-size: 14px;
}

@media (max-width: 575px) {
  .admin-fields {
    grid-template-columns: 1fr;
    gap: 0 0;
  }
  .admin-fields dd {
    margin-bottom: 0.6rem;
  }
}
.list-search {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1.5rem;
}
.list-search input[type=search] {
  width: 100%;
  max-width: 32rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid #dbe0e4;
  border-radius: 0.6rem;
  background: #fff;
  color: #38393a;
}

.table-scroll {
  overflow-x: auto;
}

table.list-table {
  width: 100%;
  border-collapse: collapse;
  color: #38393a;
}
table.list-table th,
table.list-table td {
  padding: 1rem 1.2rem;
  text-align: left;
  vertical-align: middle;
}
table.list-table thead th {
  border-bottom: 1px solid #dbe0e4;
  font-weight: 600;
  white-space: nowrap;
}
table.list-table thead th a {
  color: inherit;
  text-decoration: none;
}
table.list-table thead th a::after {
  content: "\f0dc";
  font-family: "Orderz Icons";
  margin-left: 0.6rem;
  opacity: 0.3;
}
table.list-table thead th.sorted-asc a::after {
  content: "\f0de";
  opacity: 1;
}
table.list-table thead th.sorted-desc a::after {
  content: "\f0dd";
  opacity: 1;
}
table.list-table.stripe tbody tr:nth-child(odd) {
  background-color: #f7f7f7;
}
table.list-table.hover tbody tr:hover {
  background-color: #e5e8eb;
}
table.list-table td.table-actions {
  text-align: right;
  white-space: nowrap;
}
table.list-table td.table-actions .btn {
  margin-left: 0.5rem;
}
table.list-table td.list-empty {
  text-align: center;
  padding: 3rem;
  color: #706f6f;
}

.list-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  color: #706f6f;
}
.list-footer .pagination {
  margin: 0;
  --bs-pagination-font-size: 1.4rem;
  --bs-pagination-padding-x: 1.2rem;
  --bs-pagination-padding-y: 0.6rem;
}

.sidebar-menu .logout-form {
  margin: 0;
}
.sidebar-menu .logout-form button.sidebar-menu-item {
  width: 100%;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.sync-progress {
  display: block;
  width: 100%;
  height: 1rem;
  margin: 0.8rem 0;
}

.sync-stats .sync-stat {
  display: inline-block;
  margin-right: 1rem;
  font-size: 1.3rem;
  color: #706f6f;
}
.sync-stats .sync-stat.sync-stat-failed, .sync-stats .sync-stat.sync-stat-warnings {
  color: #fa5c7c;
}

pre.sync-log {
  max-height: 60vh;
  overflow: auto;
  padding: 1.5rem;
  background: #38393a;
  color: #fff;
  font-size: 1.3rem;
  border-radius: 0.6rem;
  white-space: pre-wrap;
}

.category-links {
  list-style: none;
  margin: 0;
  padding: 0;
  color: #38393a;
}
.category-links ul {
  list-style: none;
  margin: 0;
  padding-left: 1.6rem;
}
.category-links li {
  margin: 0;
}
.category-links a {
  display: block;
  padding: 0.5rem 0.8rem;
  border-radius: 0.5rem;
  color: inherit;
  text-decoration: none;
}
.category-links a:hover, .category-links a:focus-visible {
  background-color: #f7f7f7;
}
.category-links li.current > a {
  background-color: #e5e8eb;
  font-weight: 600;
}

.catalog-row-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.order-quantity-component {
  position: relative;
}
.order-quantity-component.is-saving {
  opacity: 0.6;
}
.order-quantity-component .quantity-error {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 2;
  min-width: 22rem;
  padding: 0.4rem 0.8rem;
  background: #fff;
  border: 1px solid #fa5c7c;
  border-radius: 0.5rem;
  text-align: left;
  white-space: normal;
}

.variations-table .swatch-column {
  width: 5rem;
}

.badge {
  font-size: 1.1rem;
  font-weight: 500;
  vertical-align: middle;
}

button.btn.btn-outline[type=submit]:not(.gradient) {
  background: #fff;
  color: #5ebfed !important;
  border: 1px solid #5ebfed;
}
button.btn.btn-outline[type=submit]:not(.gradient):hover, button.btn.btn-outline[type=submit]:not(.gradient):focus-visible {
  background: #5ebfed;
  color: #fff !important;
}
button.btn.btn-outline[type=submit]:not(.gradient).red, button.btn.btn-outline[type=submit]:not(.gradient).trash {
  color: #fa5c7c !important;
  border-color: #fa5c7c;
}
button.btn.btn-outline[type=submit]:not(.gradient).red:hover, button.btn.btn-outline[type=submit]:not(.gradient).red:focus-visible, button.btn.btn-outline[type=submit]:not(.gradient).trash:hover, button.btn.btn-outline[type=submit]:not(.gradient).trash:focus-visible {
  background: #fa5c7c;
  color: #fff !important;
}

.bold {
  font-weight: bold;
}

.light {
  font-weight: 300;
}

html {
  font-size: 9px;
  color: #fff;
  margin: 0;
  padding: 0;
  background-color: #eef2f6;
}

body {
  font-size: 1.6rem;
  line-height: 1.6;
  font-family: "Jost", sans-serif;
  overflow-x: hidden;
  overscroll-behavior: none;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  transition: 0s ease all;
  background-color: #eef2f6;
}

a {
  color: rgb(148, 123, 225);
  transition: 0.2s ease all;
  text-decoration: underline;
}
a:visited, a:hover, a:active {
  color: rgb(148, 123, 225);
}
a:hover {
  transition: 0.2s ease all;
}
a.block {
  text-decoration: none;
}

button {
  color: #38393a !important;
}

strong a {
  font-weight: bold !important;
}

.p1 {
  margin-bottom: 2rem;
}

*,
:after,
:before {
  box-sizing: border-box;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  accent-color: #38393a;
}

*::-moz-selection {
  color: #fff;
  background: rgb(148, 123, 225);
}

*::selection {
  color: #fff;
  background: rgb(148, 123, 225);
}

div,
ul {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

div::-webkit-scrollbar,
ul::-webkit-scrollbar {
  display: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading {
  font-family: "Jost", sans-serif;
  font-weight: bold;
}

h1 {
  font-size: 6rem;
}

h2 {
  font-size: 3.2rem;
}
h2 span {
  font-weight: normal;
}

h3 {
  font-size: 2.4rem;
}

ul {
  list-style: none;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.cover {
  background-size: cover;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.right {
  float: right;
}

.left {
  float: left;
}

.hidden {
  display: none !important;
}

.section-title {
  overflow: visible;
}

.full-width {
  width: calc(100vw - (100vw - 100%));
}

.semibold {
  font-weight: 600;
}

.bold {
  font-weight: bold;
}

.italic {
  font-style: italic;
}

.uc {
  text-transform: uppercase;
}

.small-title {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1.4rem;
  margin-bottom: 4.4rem;
}

.sticky {
  position: sticky;
}

span.Apple-converted-space {
  display: none;
}

.is-mobile {
  display: none;
}
@media all and (max-width: 576px) {
  .is-mobile {
    display: block;
  }
}

.button {
  line-height: 3.1rem;
  font-size: 1.4rem;
  padding: 1rem;
  border-radius: 0;
  text-transform: uppercase;
  background-color: transparent;
  color: #000 !important;
  font-weight: bold;
  border: 1px solid rgb(148, 123, 225);
  width: fit-content;
}

select {
  border: 1px solid #e5e8eb;
  padding: 1rem;
  color: #38393a;
  font-size: 1.4rem;
}

textarea {
  border: none;
  background-color: #fff;
}

.orderz-impersonate {
  position: fixed;
  padding: 20px;
  text-align: center;
  top: 50px;
  right: 20px;
  z-index: 9999;
  left: 20px;
  background-color: #42b883;
  opacity: 0.8;
  color: #000;
}

.sidebar-login {
  background-color: #fff;
  height: 100vh;
  height: 100svh;
}
.sidebar-login .logo {
  background-image: var(--orderz-logo);
  padding: 12rem;
  background-size: 50% auto;
  background-position: center center;
}
.sidebar-login .login-form {
  padding: 3rem;
}
.sidebar-login .login-form input {
  width: 100%;
}
.sidebar-login .login-form input#rememberme {
  width: auto;
}
.sidebar-login .login-form #loginform label[for=user_login],
.sidebar-login .login-form #loginform label[for=user_pass] {
  display: block;
}
.sidebar-login .login-form .login-error {
  background-color: #fa5c7c;
  color: #fff;
  padding: 1rem;
  margin: 1rem 0;
  text-align: center;
}

.login-bg {
  position: relative;
  overflow: hidden;
}
.login-bg .login-bg-main-shape {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 95vw;
  aspect-ratio: 2021/1723;
  height: auto;
  transform: translate(40%, 33%);
  background-image: url("../images/login-bg-PriF4R5.svg");
  background-size: contain;
}
.login-bg .login-bg-top-shape {
  position: absolute;
  left: 0;
  top: 0;
  width: 40vw;
  aspect-ratio: 1392/1392;
  height: auto;
  transform: translate(-50%, -70%);
  background-image: url("../images/login-top-shape-U7IVCqd.svg");
  background-size: contain;
  filter: blur(33px);
}
.login-bg .login-bg-bottom-shape {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40vw;
  aspect-ratio: 983/892;
  height: auto;
  transform: translate(-50%, 30%);
  background-image: url("../images/login-bottom-shape-6ayjdFi.svg");
  background-size: contain;
  filter: blur(33px);
}
.login-bg .claim {
  z-index: 10;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 50%;
  aspect-ratio: 466/967;
  height: auto;
  transform: translate(-50%, -50%);
  background-image: url("../images/claim-ZQKy3CO.svg");
  background-size: contain;
}

.page-template-tpl-dashboard {
  overflow-y: hidden;
}
.page-template-tpl-dashboard .login-bg {
  position: static;
  height: calc(100vh - 7rem);
}
.page-template-tpl-dashboard .login-bg .claim {
  position: relative;
}

header.header {
  display: flex;
  flex-direction: row;
  height: 7rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header.header .logo {
  width: 28rem;
  background-color: #000;
  display: flex;
  flex-direction: row;
  color: #fff;
}
header.header .logo .sidebar-toggle-icon {
  padding: 0 3rem;
  cursor: pointer;
  align-self: center;
}
header.header .logo .logo-img {
  width: 100%;
  display: flex;
  background-image: var(--orderz-logo);
  background-size: 50% auto;
  background-position: center center;
  filter: brightness(0) invert(1);
  align-self: stretch;
}
header.header .navbar {
  background-color: #fff;
  flex: 1;
  flex-direction: row-reverse;
  justify-content: flex-start;
  align-content: center;
  box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.2);
}
header.header .navbar .logged-in-user {
  padding: 1rem;
  margin: 0 2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
}
header.header .navbar .logged-in-user .avatar {
  font-size: 3rem;
  margin: 0 1rem;
}
header.header .navbar .logged-in-user .user {
  flex-direction: column;
}

section.main {
  display: flex;
  flex-direction: row;
}
section.main .sidebar {
  width: 0;
  transition: all 0.2s ease;
  background-color: #000;
  height: calc(100vh - 7rem);
  padding: 2rem 0;
  position: sticky;
  top: 7rem;
  display: flex;
  overflow: hidden;
  z-index: 100;
}
section.main .sidebar .sidebar-menu {
  background-color: #000;
}
section.main .sidebar .sidebar-menu a {
  color: #706f6f;
  text-decoration: none;
  display: block;
  padding: 1rem;
}
section.main .sidebar .sidebar-menu a.active, section.main .sidebar .sidebar-menu a:hover {
  color: #fff;
}
section.main .sidebar .sidebar-menu .client-submenu {
  padding: 1rem;
}
section.main .sidebar .sidebar-menu .client-submenu li.client-header {
  padding-top: 1rem;
  display: flex;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  align-items: center;
}
section.main .sidebar .sidebar-menu .client-submenu li.client-header .avatar {
  color: #000;
  background-color: #fff;
  padding: 0.5rem;
  border-radius: 50%;
  text-transform: uppercase;
  width: 2rem;
  height: 2rem;
  text-align: center;
  align-items: center;
  display: flex;
  margin-right: 1rem;
}
section.main .sidebar .sidebar-menu .client-submenu li.client-header .name {
  display: flex;
  align-items: center;
}
section.main .sidebar .sidebar-menu .client-submenu li.client-menu-item {
  padding-left: 4rem;
}
section.main .sidebar .sidebar-menu .client-submenu li.client-menu-item a {
  padding: 0.5rem 1rem;
}
section.main .sidebar .sidebar-menu li.logout {
  margin-top: auto;
}
section.main .content {
  padding: 2rem;
  flex: 1;
  max-width: calc(100% - 28rem);
}

#sidebar-toggle:checked ~ section.main .sidebar {
  width: 28rem;
  transition: all 0.2s ease;
}

.sidebar-menu-item:before {
  display: inline-block;
  font-family: "Orderz Icons";
  margin-right: 1rem;
  width: 3rem;
}
.sidebar-menu-item.dashboard:before {
  content: "\f201";
}
.sidebar-menu-item.area-manager:before {
  content: "\f0e8";
}
.sidebar-menu-item.agents:before {
  content: "\f508";
}
.sidebar-menu-item.clients:before {
  content: "\f0c0";
}
.sidebar-menu-item.destinations:before {
  content: "\f507";
}
.sidebar-menu-item.orders:before {
  content: "\f570";
}
.sidebar-menu-item.faq:before {
  content: "\f128";
}
.sidebar-menu-item.settings:before {
  content: "\f013";
}
.sidebar-menu-item.admin:before {
  content: "\f3ed";
}
.sidebar-menu-item.logout:before {
  content: "\f2f5";
}

.dashboard-new-order {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  height: 16rem;
  position: relative;
  z-index: 11;
}
.dashboard-new-order a {
  font-size: 2rem;
}
.dashboard-new-order::after {
  position: absolute;
  right: 3rem;
  top: 50%;
  transform: translate(0, -50%);
  font-size: 12rem;
  content: "\f013";
  display: inline-block;
  font-family: "Orderz Icons";
  opacity: 0.3;
}

.user-info {
  display: flex;
  color: #fff;
  gap: 2rem;
}
.user-info .user-data .username {
  font-size: 3rem;
  font-weight: 600;
}
.user-info .user-data .user-orders {
  display: flex;
  flex-direction: row;
  gap: 3rem;
}
.user-info .user-data .user-orders .value {
  font-size: 2.5rem;
  font-weight: 600;
}

.user-profile-header {
  z-index: 1;
}
.user-profile-header .d-flex {
  justify-content: space-between;
}
.user-profile-header .user-actions {
  color: #fff;
  display: flex;
  gap: 1rem;
  align-items: center;
}
.user-profile-header .label {
  color: #fff !important;
}

.avatar-big {
  border: 8px solid #fff;
  border-radius: 50%;
  width: 10rem;
  height: 10rem;
  background-color: #505ba4;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 4rem;
  text-transform: uppercase;
}

.avatar-small {
  display: inline-block;
  padding: 1rem;
  width: 4rem;
  height: 4rem;
  color: #fff;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-right: 1rem;
}

.products .thumb img,
.products .product-thumb img,
.cart-table .thumb img,
.cart-table .product-thumb img,
.cart_item .thumb img,
.cart_item .product-thumb img {
  width: 7rem;
  height: auto;
}
.products .thumb .catalogue-thumb,
.products .product-thumb .catalogue-thumb,
.cart-table .thumb .catalogue-thumb,
.cart-table .product-thumb .catalogue-thumb,
.cart_item .thumb .catalogue-thumb,
.cart_item .product-thumb .catalogue-thumb {
  position: relative;
  display: inline-block;
  line-height: 0;
}
.products .thumb .catalogue-thumb .variation-color-dot,
.products .product-thumb .catalogue-thumb .variation-color-dot,
.cart-table .thumb .catalogue-thumb .variation-color-dot,
.cart-table .product-thumb .catalogue-thumb .variation-color-dot,
.cart_item .thumb .catalogue-thumb .variation-color-dot,
.cart_item .product-thumb .catalogue-thumb .variation-color-dot {
  position: absolute;
  right: -0.25rem;
  bottom: -0.25rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  opacity: 0.9;
}
.products .hexcolor .hexcolor-dot,
.cart-table .hexcolor .hexcolor-dot,
.cart_item .hexcolor .hexcolor-dot {
  display: block;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid #e5e8eb;
  color: transparent;
  overflow: hidden;
}

.page-template-tpl-product .product-image {
  border: 1px solid #e5e8eb;
  border-radius: 5px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: calc(7rem + 2rem);
}
.page-template-tpl-product .product-image img {
  max-width: 100%;
  height: auto;
}
.page-template-tpl-product .label {
  color: #706f6f;
}
.page-template-tpl-product .current-price,
.page-template-tpl-product .current-total-price,
.page-template-tpl-product .current-final-price,
.page-template-tpl-product .price-field {
  font-size: 2rem;
  font-weight: 600;
  color: #000;
}
.page-template-tpl-product .product-price-table {
  display: flex;
  flex-direction: column;
}
.page-template-tpl-product .product-price-table .product-price-row {
  display: flex;
  flex-direction: row;
}
.page-template-tpl-product .product-price-table .product-price-row .value {
  padding-left: 1rem;
  font-weight: 600;
  color: #000;
}
.page-template-tpl-product .sticky-variant-summary {
  background-color: #f7f7f7;
  padding: 1.5rem;
  border-radius: 5px;
  border: 1px solid #e5e8eb;
  position: sticky;
  top: calc(7rem + 2rem);
}
.page-template-tpl-product .sticky-variant-summary .price-field {
  font-size: 3rem;
  margin-top: 1rem;
}

.cart-top-icon .btn-icon-cart {
  position: relative;
  padding-right: 2rem;
}
.cart-top-icon .btn-icon-cart .count {
  font-size: 1rem;
  position: absolute;
  top: -1rem;
  left: 85%;
  background-color: #fa5c7c;
  padding: 0.5rem 1rem;
  color: #000;
  border-radius: 5px;
}

.global-carts .btn-icon-cart .count {
  background-color: rgb(148, 123, 225);
  font-size: 1.5rem;
  color: #fff;
  left: 85%;
}

.billing-shipping-info .billing-address,
.billing-shipping-info .shipping-address {
  margin-bottom: 2rem;
}

.faq-container {
  width: 100%;
  max-width: 800px;
  margin: 20px auto;
}

.faq-item {
  border: 1px solid #e5e8eb;
  margin-bottom: 10px;
  border-radius: 5px;
  overflow: hidden;
}
.faq-item input[type=radio] {
  display: none;
}
.faq-item .faq-question {
  display: block;
  padding: 15px;
  cursor: pointer;
  background-color: #e7e7e7;
  font-weight: bold;
  position: relative;
  transition: background-color 0.3s ease;
}
.faq-item .faq-question::after {
  content: "+";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  transition: transform 0.3s ease;
}
.faq-item .faq-answer {
  padding: 0 15px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item input[type=radio]:checked + .faq-question {
  background-color: #dbe0e4;
}
.faq-item input[type=radio]:checked + .faq-question::after {
  content: "-";
}
.faq-item input[type=radio]:checked ~ .faq-answer {
  max-height: 500px;
  padding: 15px;
}
.faq-item input[type=radio]:focus-visible + .faq-question {
  outline: 2px solid #5ebfed;
}

.settings-container .setting-section {
  margin-bottom: 20px;
}
.settings-container .setting-section .setting-row {
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
}
.settings-container .setting-section .setting-row label {
  margin-bottom: 5px;
  font-weight: bold;
}
.settings-container .setting-section .setting-row input[type=text],
.settings-container .setting-section .setting-row input[type=email],
.settings-container .setting-section .setting-row input[type=url],
.settings-container .setting-section .setting-row input[type=tel] {
  padding: 10px;
  border: 1px solid #dbe0e4;
  border-radius: 3px;
}
.settings-container .setting-section .setting-row input[type=text]:focus,
.settings-container .setting-section .setting-row input[type=email]:focus,
.settings-container .setting-section .setting-row input[type=url]:focus,
.settings-container .setting-section .setting-row input[type=tel]:focus {
  outline: 2px solid #5ebfed;
}

.order-status-timeline .timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-status-timeline .timeline-event {
  padding: 15px 0;
  position: relative;
  margin-left: 30px;
  display: flex;
  flex-direction: column;
}
.order-status-timeline .timeline-event::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -11px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #dbe0e4;
  z-index: 1;
}
.order-status-timeline .timeline-event .status-name {
  font-weight: bold;
}
.order-status-timeline .timeline-event .status-date {
  font-size: 0.8em;
  color: #706f6f;
}
.order-status-timeline .timeline-event.current::before {
  background-color: #5ebfed;
}
.order-status-timeline .timeline-event.completed::before {
  background-color: #42b883;
}
.order-status-timeline .timeline-event.completed .status-name {
  color: #42b883;
}

.editable-notes-container {
  position: relative; /* Per posizionare le icone se necessario */
  padding-right: 30px; /* Spazio per l'icona */
  margin-bottom: 10px;
}
.editable-notes-container .edit-notes-icon,
.editable-notes-container .save-notes-icon {
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  color: #38393a;
  font-size: 1.8rem;
  transition: 0.2s ease all;
}
.editable-notes-container .edit-notes-icon:hover,
.editable-notes-container .save-notes-icon:hover {
  color: #5ebfed;
  transition: 0.2s ease all;
}

.editable-notes-container .saving-feedback,
.editable-notes-container .error-feedback {
  font-style: italic;
  color: #666;
}

.destination-selector {
  width: 100%;
}

.fatturato-value {
  font-size: 3rem;
  font-weight: 600;
  color: #38393a;
  margin-top: 1rem;
}

.fatturato-period {
  color: #706f6f;
  font-size: 1.4rem;
}

/*# sourceMappingURL=app-7d1043473d.output.css.map */
