/* ================================
   1. FONT FACE E VARIABILI
   ================================ */
@font-face {
  font-family: "NeueHaas";
  src: url("../includes/NHaasGroteskTXPro-55Rg.ttf");
  font-weight: 400;
}
@font-face {
  font-family: "NeueHaas";
  src: url("../includes/NHaasGroteskTXPro-65Md.ttf");
  font-weight: 500;
}
@font-face {
  font-family: "NeueHaas";
  src: url("../includes/NHaasGroteskTXPro-75Bd.ttf");
  font-weight: 700;
}

:root {
  --primaryColor: #1e467a;
  --secondColor: #fff;
}

/* ================================
   2. GLOBAL RESET E BODY
   ================================ */
html, body {
  padding: 0;
  margin: 0;
  color: #333;
  background: #fff;
  font-family: "NeueHaas", sans-serif;
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  color: inherit;
  font-weight: 500;
}
label {
  font-weight: 700;
}
.text-primary {
  color: #555;
}

/* ================================
   3. LAYOUT GENERALE
   ================================ */
#wrapper {
  padding-top: 70px;
  padding-bottom: 60px;
  min-height: calc(100vh - 130px);
}

.container-fluid {
  padding: 0 50px;
}

/* ================================
   4. MODAL E ALERT
   ================================ */
.modal-lg {
  width: 90% !important;
  max-width: 1200px;
}
.modal-header {
  background: var(--primaryColor);
  color: #fff;
  padding: 15px 30px;
}
.modal-header .close {
  color: #fff !important;
  opacity: 1 !important;
  text-shadow: none;
  font-size: 26px;
}

.modal-header .close:hover,
.modal-header .close:focus {
  color: #fff !important;
  opacity: 0.8 !important;
}
.modal-header small {
  color: #ccc;
}
.modal-body,
.modal-footer {
  padding: 15px 30px;
}
.modal-footer .close {
  opacity: 1;
  border: 1px solid #ddd;
  line-height: inherit;
  padding: 6px 12px;
  border-radius: 4px;
}
.modal-footer .close:hover {
  opacity: 1;
  color: inherit;
}
.alert {
  border-radius: 0;
  border: 0;
  border-left: 5px solid;
  padding: 10px 15px;
}

/* ================================
   5. FORM FIELD (FLOTTAZIONE E LABEL ANIMATA)
   ================================ */
.form-group {
  position: relative;
  display: block;
  margin: 5px 0 6px;
  padding: 7px 0 0;
  border-bottom: 1px solid #ddd;
  min-height: 25px;
}
.form-group > .checkbox {
  padding: 5px 7px;
  height: 30px;
}
.form-group > .form-control {
  background: inherit;
  font-size: 14px;
  font-weight: 400;
  border-radius: 0;
  padding: 0;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}
textarea.form-control {
  margin-top: 3px;
}

.form-group > label:not(.error) {
  color: #999;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  position: absolute;
  left: 0;
  top: 20px;
  opacity: 0;
  z-index: -1;
  transition: 0.2s ease all;
}
.checkbox label {
  opacity: 1;
  left: 0;
  top: 0;
  position: relative;
  padding-left: 10px;
  font-weight: 500;
  color: #999;
  font-size: 13px;
}
.form-control:focus ~ label,
.form-control:not(:placeholder-shown) ~ label,
.form-group.showlabel label {
  top: 0;
  opacity: 1;
  z-index: inherit;
}
.form-control:focus ~ label {
  color: var(--primaryColor);
}
.form-control:focus::placeholder {
  color: transparent;
}
select.form-control.input-sm {
  margin: 0 -4px;
}
.note-editor.note-frame {
  margin-top: 5px;
}


/* ================================
   6. NAVBAR E MENU
   ================================ */
.navbar-default {
  background: var(--primaryColor);
  color: var(--secondColor);
  border: none;
}
.navbar-default .navbar-toggle {
  float: left;
  border: 0;
}
.navbar-default .navbar-toggle:focus,
.navbar-default .navbar-toggle:hover {
  background: var(--primaryColor);
  color: #000;
}
.navbar-default .navbar-brand {
  color: inherit;
  padding: 10px 15px;
  height: 60px;
  display: flex;
  align-items: center;
  margin-right: 20px;
}
.navbar-default .navbar-brand:hover {
  color: #fee400;
}
.navbar-default .navbar-nav > li > a {
  color: inherit;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #fff;
  background: var(--primaryColor);
}
.navbar-default .dropdown-header {
  color: #fff;
}
.navbar-nav > li > .dropdown-menu {
  background: var(--primaryColor);
}

.navbar-default .dropdown-menu > li > a {
  color: #fff;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar-default .dropdown-menu > li > a:hover {
  color: #333;
  background-color: #fff;
}

/* Quando il dropdown utente è aperto */
.navbar-default .navbar-nav > .open > a.dropdown-toggle {
  background-color: #fff !important;
  color: var(--primaryColor) !important;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* Cerchio icona utente ATTIVO (dropdown aperto) */
.navbar-default .navbar-nav > .open > a.dropdown-toggle .user-icon-circle {
  background-color: var(--primaryColor);
  border-radius: 50%;
  padding: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  box-sizing: content-box;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 2px #fff;
}

/* Cerchio icona utente NON attivo (dropdown chiuso) */
.navbar-default .navbar-nav > li > a.dropdown-toggle .user-icon-circle {
  background-color: #fff; /* cerchio esterno bianco */
  border-radius: 50%;
  padding: 0.5px; /* spessore dell'anello bianco */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  box-sizing: content-box;
  box-shadow: 0 0 0 2px var(--primaryColor);
  transition: all 0.3s ease;
}

/* Strato interno: cerchio bianco + icona verde quando e open */
.navbar-default .navbar-nav > li.open > a.dropdown-toggle .user-icon-circle i {
  background-color: #fff; 
  color: var(--primaryColor);
   border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

/* Strato interno: cerchio verde + icona bianca */
.navbar-default .navbar-nav > li > a.dropdown-toggle .user-icon-circle i {
  background-color: var(--primaryColor); /* sfondo interno verde */
  color: #fff; /* icona bianca */
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
/* Nome utente attivo */
.navbar-default .navbar-nav > .open > a.dropdown-toggle .username-visible {
  color: var(--primaryColor) !important;
}

/* Stile generale del dropdown utente */
.navbar-default .navbar-nav > li > a.dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  padding: 0 14px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.navbar-default .navbar-nav > li > a.dropdown-toggle:hover {
  background-color: rgba(255, 255, 255, 0.06);
  color: #fff;
}

/* ================================
   7. LOGO 
   ================================ */
.navbar-logo {
  height: 30px;
  max-height: 40px;
  object-fit: contain;
  display: block;
  transform: scale(1.05);
  transform-origin: left center;
  transition: transform 0.2s ease, filter 0.2s ease;
  margin-right: 10px;
  margin-top: 10px;
  border-radius: 6px;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.08));
}

.navbar-logo:hover {
  transform: scale(1.02) rotate(-1deg);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
}


/* ================================
   8. FILTRI (ID: #filters & classe .filter-box)
   ================================ */
#filters,
.filter-box {
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 24px;
  margin: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

#filters:hover,
.filter-box:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

#filters .form-group,
#filters .col-md-3,
.filter-box .form-group,
.filter-box .col-md-3 {
  margin-bottom: 16px;
}

#filters input[type="text"],
#filters textarea,
#filters select,
.filter-box input[type="text"],
.filter-box textarea,
.filter-box select {
  border-radius: 6px;
  border: 1px solid #ced4da;
  padding: 6px 12px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#filters input[type="text"]:focus,
#filters textarea:focus,
#filters select:focus,
.filter-box input[type="text"]:focus,
.filter-box textarea:focus,
.filter-box select:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
  outline: none;
}

select.form-control.input-sm option {
  color: #aaa;
  font-weight: 300;
}

select.form-control.input-sm option:disabled {
  color: #aaa;
  font-style: italic;
}

#filters label,
.filter-box label {
  font-weight: 500;
  margin-bottom: 4px;
  display: block;
}

#reset_searchDettaglio {
  color: #007bff;
  font-weight: 500;
  text-decoration: none;
}

#reset_searchDettaglio:hover {
  text-decoration: underline;
}

/*Filtri Configurazione caselle */
.modern-filter-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 16px 0;
}

/* Campo form personalizzato */
.modern-form-field {
  display: flex;
  flex-direction: column;
}

/* Etichetta */
.modern-form-field label {
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 4px;
  color: #333;
}

.modern-input {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 14px;
  transition: border 0.2s;
}

.modern-input:focus {
  border-color: var(--primaryColor);
  outline: none;
}

/* Pulsante aggiungi casella */
.modern-form-field .btn.w-100 {
  width: 50%;
  height: 38px;
}

/* ================================
   9. TABELLE
   ================================ */

/* Stile base tabelle Bootstrap */
.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
  vertical-align: middle;
  padding: 5px;
}

/* Tabella moderna */
.table-modern {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-top: 16px;
  font-size: 14px;
  position: relative;
}
.table-modern th,
.table-modern td {
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
}
.table-modern th {
  background-color: var(--primaryColor);
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  padding: 14px 18px; /* <-- padding migliorato */
}
.table-modern tr:hover {
  background-color: #f9f9f9;
}
.table-modern .text-right {
  text-align: right;
}
.table-modern small {
  font-size: 12px;
  color: #666;
}
.table-modern a.btn-sm {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 13px;
  transition: background 0.3s ease;
}
.table-modern a.btn-default {
  background-color: #f2f2f2;
  color: #333;
  border: 1px solid #ccc;
}
.table-modern a.btn-default:hover {
  background-color: #e0e0e0;
}
.table-modern a.btn-danger {
  background-color: #d9534f;
  color: #fff;
  border: none;
}
.table-modern a.btn-danger:hover {
  background-color: #c9302c;
}

/* Allineamento azioni */
.table-modern td .btn-sm,
.table-modern td .dropdown {
  display: inline-block;
  vertical-align: middle;
}

/* Layout orizzontale per azioni */
.table-modern .actions-inline {
  display: flex;
  gap: 4px;
  justify-content: flex-end;
  align-items: center;
}

/* Uniforma dimensioni azioni */
.table-modern .actions-inline .btn-sm,
.table-modern .actions-inline .dropdown > .btn-sm {
  width: 32px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Icone centrali */
.table-modern .actions-inline i.fa {
  font-size: 14px;
  margin: 0;
}

/* Dropdown caret */
.table-modern .dropdown-toggle {
  padding: 4px 8px;
  line-height: 1.2;
  height: auto;
  vertical-align: middle;
}

/* Dropdown visibilità */
.table-modern .dropdown-menu {
  z-index: 1000;
  position: absolute;
  display: none;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.table-modern .dropdown.open .dropdown-menu {
  display: block;
}

.table-modern .dropdown {
  position: relative;
}

/* ================================
   10. COMPONENTI AGGIUNTIVI
   ================================ */
/* Switch a due bottoni */
.switch-field {
  display: flex;
  margin-bottom: 36px;
  overflow: hidden;
}
.switch-field input {
  position: absolute !important;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  width: 1px;
  border: 0;
  overflow: hidden;
}
.switch-field label {
  background-color: var(--secondColor);
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
  line-height: 1;
  text-align: center;
  padding: 8px 16px;
  margin-right: -1px;
  border: 1px solid var(--primaryColor);
  transition: all 0.1s ease-in-out;
}
.switch-field label:hover {
  cursor: pointer;
}
.switch-field input:checked + label {
  background-color: var(--primaryColor);
  color: var(--secondColor);
  box-shadow: none;
}
.switch-field label:first-of-type {
  border-radius: 4px 0 0 4px;
}
.switch-field label:last-of-type {
  border-radius: 0 4px 4px 0;
}

/* Thumbnail centrata */
.thumbnail {
  position: relative;
  width: 200px;
  height: 200px;
  overflow: hidden;
  background: #eee;
}
.thumbnail img {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 100%;
  width: auto;
  transform: translate(-50%, -50%);
}
.thumbnail img.portrait {
  width: 100%;
  height: auto;
}
.thumbnail .caption {
  position: absolute;
  bottom: 0;
  right: 0;
}

/* History Block */
.history_block {
  margin: 0;
  padding: 3px 15px;
  min-height: 30px;
}
.history_block:nth-child(2n+1) {
  background: #ffeaea;
}
.history_block_icon {
  width: 40px;
  float: left;
  color: #d27273;
  text-align: left;
}
.history_block_text {
  padding-left: 40px;
  padding-top: 5px;
}

#elenco .fa-2x {
  font-size: 1.4em;
  line-height: 2em;
}

/* Daterangepicker override */
.daterangepicker .drp-calendar.right {
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
}
.daterangepicker .drp-calendar.right tbody {
  display: none !important;
}
.daterangepicker .drp-calendar.right thead > tr:nth-child(2) {
  display: none !important;
}
.daterangepicker .drp-calendar.right th.month {
  display: none !important;
}
.daterangepicker .drp-calendar.right .calendar-table {
  background: transparent !important;
}
.daterangepicker .daterangepicker.ltr .ranges,
.daterangepicker .daterangepicker.ltr .drp-calendar {
  float: none !important;
}
.daterangepicker .drp-calendar.right .daterangepicker_input {
  position: absolute !important;
}

/* Dropzone styling */
.dropzone {
  padding: 15px;
}
.dropzone .dz-preview {
  margin: 0 0 7px;
  background: transparent;
  width: 100%;
  min-height: 1px;
}
.dropzone .dz-preview.dz-file-preview .dz-image {
  background: none;
  height: 0;
}
.dropzone .dz-preview .dz-details {
  text-align: left;
  padding: 5px 0;
  position: relative;
  opacity: 1 !important;
}
.dropzone .dz-preview .dz-image {
  width: auto;
  height: 0;
}
.dropzone .dz-preview .dz-details .dz-size {
  font-size: inherit;
  margin-bottom: 0;
  float: right;
}
.dropzone .dz-preview .dz-details .dz-filename span,
.dropzone .dz-preview .dz-details .dz-size span {
  background-color: inherit;
  padding: 0;
}
.dropzone .dz-preview .dz-progress {
  position: relative;
  width: 100%;
  margin: 0 !important;
  border-radius: 0;
  height: 3px;
  background: #ddd;
}

/* Select2 override */
.select2-container {
  font-weight: 400;
  width: 100% !important;
  margin-top: 7px;
}
.select2-container--default .select2-selection--single {
  border: 0;
  background-color: transparent;
}
.select2-container--open .select2-dropdown--below {
  border-top: 1px solid #ccc;
  border-radius: 4px !important;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: inherit;
}
.select2-container .select2-selection--single .select2-selection__rendered {
  padding-left: 0;
}
.dropdown-menu {
  font-size: 13px;
}

/* Nestable (riorganizzato) */
.dd-list {
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dd-list .dd-list {
  padding-left: 30px;
}
.dd-collapsed .dd-list {
  display: none;
}
.dd-item,
.dd-empty,
.dd-placeholder {
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
  min-height: 20px;
  font-size: 13px;
  line-height: 20px;
}
.dd-handle:hover {
  color: #2ea8e5;
  background: #fff;
}
.dd-item > button {
  display: block;
  position: relative;
  cursor: pointer;
  float: left;
  width: 25px;
  height: 20px;
  margin: 5px 0;
  padding: 0;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  border: 0;
  background: transparent;
  font-size: 12px;
  line-height: 1;
  text-align: center;
  font-weight: bold;
}
.dd-item > button:before {
  content: "+";
  display: block;
  position: absolute;
  width: 100%;
  text-align: center;
  text-indent: 0;
}
.dd-item > button[data-action="collapse"]:before {
  content: "-";
}
.dd-placeholder,
.dd-empty {
  margin: 5px 0;
  padding: 0;
  min-height: 30px;
  background: #f2fbff;
  border: 1px dashed #b6bcbf;
  box-sizing: border-box;
}
.dd-empty {
  border: 1px dashed #bbb;
  min-height: 100px;
  background-color: #e5e5e5;
  background-image:
    -webkit-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff),
    -webkit-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
  background-image:
    -moz-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff),
    -moz-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
  background-image:
    linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff),
    linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
  background-size: 60px 60px;
  background-position: 0 0, 30px 30px;
}
.dd-dragel {
  position: absolute;
  pointer-events: none;
  z-index: 9999;
}
.dd-dragel > .dd-item .dd-handle {
  margin-top: 0;
}
.dd-dragel .dd-handle {
  box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Nestable Draggable Handles */
.dd3-content {
  display: block;
  margin: 5px 0;
  padding: 5px 10px 5px 40px;
  color: #333;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid #ccc;
  background: linear-gradient(top, #fafafa 0%, #eee 100%);
  border-radius: 3px;
  box-sizing: border-box;
}
.dd3-content:hover {
  color: #2ea8e5;
  background: #fff;
}
.dd3-item > button {
  margin-left: 30px;
}
.dd-handle {
  position: absolute;
  margin: 0;
  left: 0;
  top: 0;
  cursor: pointer;
  padding: 8px;
  text-align: center;
}
.dd-handle:hover {
  background: #ddd;
}

/* ================================
   11. UTILI E VARIE
   ================================ */
/* Titoli sezione */
.title-container {
  margin: 0;
  padding-top: 10px;
}
.title-container a {
  font-weight: 700;
  padding: 5px 0;
  color: #555;
  cursor: pointer;
}
.title-container h3 {
  color: #555;
  font-size: 25px;
  font-weight: 700;
  margin-top: 0;
}

/* Bottoni personalizzati */
.btn-fil {
  padding: 10px 20px !important;
  border-radius: 30px !important;
  font-weight: 700;
  font-size: 12px !important;
}
.btn-fil.btn-success {
  color: #fff;
  background-color: var(--primaryColor);
  border-color: var(--primaryColor);
}
.btn-fil.btn-success:hover,
.btn-fil.btn-success:active,
.btn-fil.btn-success:focus {
  color: #fff;
  background-color: var(--primaryColor);
}

/* Link dropdown interno */
.dropdown-menu > li > button {
  border: 0;
  border-radius: 0;
  background: transparent;
  width: 100%;
  text-align: left;
  padding: 3px 20px;
}
.dropdown-menu > li > button:hover {
  background: #ddd;
}

/* Stile nei media query */
@media only screen and (max-width: 767px) {
  .prova_detail {
    width: 100%;
  }
  .navbar-nav .open .dropdown-menu {
    background: var(--primaryColor);
  }
  .nav-tabs {
    margin: 0 -20px;
  }
  .nav-tabs > li {
    float: none;
    width: 100%;
    display: block;
  }
  .container-fluid {
    padding: 0 20px;
  }
  footer {
    padding-left: 0;
  }
  .input-search {
    display: none;
  }
  .navbar-header {
    padding: 0 5px;
  }
  .sidebar-nav .mob {
    display: block;
    background: #fff;
    color: #000;
    font-size: 12px;
  }
  .navbar-default {
    width: 100%;
    height: auto;
  }
  .navbar-default .navbar-brand {
    float: right;
    padding: 10px 0;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: #fff;
  }
  .container > .navbar-header,
  .container-fluid > .navbar-header,
  .container > .navbar-collapse,
  .container-fluid > .navbar-collapse {
    margin-left: -14px;
  }

  /* TABELLE MOBILE */
  .table {
    display: block;
    margin: 0;
  }
  .table tr {
    display: block;
    border: 1px solid #ccc;
  }
  .table tr:first-child {
    display: none;
  }
  .table > tbody {
    display: block;
  }
  .table > tbody > tr > td {
    border: 0 !important;
    display: block;
    min-height: 30px;
    padding: 10px 10px 5px;
    position: relative;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }
  .table > tbody > tr > td:before {
    position: absolute;
    left: 10px;
    top: 0;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--primaryColor);
    content: attr(data-label);
  }
  .table > tbody > tr > td:nth-child(1) {
    font-size: 16px;
    font-weight: 500;
    padding: 10px 10px 0;
    color: #333;
    text-transform: uppercase;
  }
}

/* ================================
   12. STAMPA
   ================================ */
@media print {
  .noprint,
  .noprint * {
    display: none !important;
  }
  table tr td {
    -webkit-print-color-adjust: exact;
  }
  #wrapper {
    padding-top: 0;
  }
}

/* ================================
   13. VARIE
   ================================ */
.btn {
  text-transform: lowercase !important;
}
.nav-tabs {
  border: 0;
}
.nav-tabs > li > a {
  border-radius: 0;
  background: #ccc;
  color: var(--primaryColor);
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
  font-weight: 700;
  border: 0;
  border-bottom: 2px solid #fff;
}
.intervento {
  padding: 0 15px;
}
.swallower {
  /* Puoi aggiungere qui eventuali stili personalizzati */
}

/* ================================
   14. UTENTI E VARIE FINALI
   ================================ */
/* Esempio: classe per titolo delle liste */
.list-group-flusso {
  border: 0;
  border-bottom: 1px solid #ddd;
  border-radius: 0;
  padding: 15px 10px;
  margin: 0;
}
.list-group-flusso:nth-child(2n) {
  background: #eee;
}
.table-flusso > thead > tr > th {
  white-space: nowrap !important;
}
.table-flusso > tbody > tr > td {
  padding: 0;
}
