.elementor-26899 .elementor-element.elementor-element-a4806b3{margin-top:-64px;margin-bottom:-64px;}/* Start custom CSS *//* ==== Document Library Lite – Dark Theme Full CSS ==== */
#document-library-1_wrapper {
  background: #111827; /* sfondo scuro principale */
  border: 1px solid #1f2937;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.6);
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: 15px;
  color: #e5e7eb;
}

/* Barra di ricerca */
#document-library-1_filter {
  margin-bottom: 12px;
  text-align: right;
}
#document-library-1_filter label {
  font-weight: 600;
  font-size: 14px;
  color: #d1d5db;
}
#document-library-1_filter input {
  margin-left: 8px;
  padding: 6px 10px;
  border: 1px solid #374151;
  border-radius: 8px;
  font-size: 14px;
  background: #1f2937;
  color: #f9fafb;
  outline: none;
  transition: border-color .2s;
}
#document-library-1_filter input:focus {
  border-color: #e11d48;
}

/* Tabella */
#document-library-1 {
  width: 100%;
  border-collapse: collapse;
}
#document-library-1 thead th {
  background: #1f2937;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 12px 14px;
  border: 2px solid #374151;
  color: #9ca3af;
}
#document-library-1 tbody td {
  padding: 14px;
  border: 1px solid #1f2937;
 
  vertical-align: middle;
  color: #f3f4f6;
  transition: color .2s;
}

/* ========== Hover Effect VARIANTS ========== */

/* Variante 1 – Background evidenziato */
#document-library-1 tbody tr {
  background: #111827;
  transition: background .25s ease, transform .15s ease;
}
#document-library-1 tbody tr:hover {
  background: #1f2937; /* grigio più chiaro */
  transform: translateX(4px); /* piccolo spostamento */
  cursor: pointer;
}

/* Variante 2 – Bordo laterale rosso (se preferisci questo effetto, commenta Variante 1 sopra) */
/*
#document-library-1 tbody tr {
  background: #111827;
  transition: border .25s ease, background .25s ease;
}
#document-library-1 tbody tr:hover {
  background: #111827;
  border-left: 4px solid #e11d48;
  cursor: pointer;
}
*/

/* Celle interne su hover */
#document-library-1 tbody tr:hover td {
  color: #f9fafb;
}

/* Colonna titolo */
#document-library-1 .col-title {
  font-weight: 600;
  color: #f9fafb;
  transition: color .2s;
}
#document-library-1 .col-title:hover {
  color: #f87171; /* rosso chiaro */
}

/* Colonna immagine */
#document-library-1 .col-image img {
  border-radius: 8px;
  max-width: 100px;
  height: auto;
  background: #111827;
  padding: 4px;
  border: 1px solid #1f2937;
}

/* Colonna categorie */
#document-library-1 .col-doc_categories a {
  display: inline-block;
  background: #1f2937;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  color: #d1d5db;
  text-decoration: none;
  margin-right: 6px;
  border: 1px solid #374151;
  transition: all .2s;
}
#document-library-1 .col-doc_categories a:hover {
  background: #2d3748;
  color: #f87171;
  border-color: #f14f44;
}

/* Pulsante download */
#document-library-1 .dll-download-button {
  background: #f14f44;
  color: #fff !important;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}
#document-library-1 .dll-download-button:hover {
  background: #be123c;
}

/* Info finale (Visualizzazione da 1 a n voci) */
#document-library-1_info {
  margin-top: 10px;
  font-size: 13px;
  color: #9ca3af;
}

/* Mobile responsive */
@media (max-width: 768px) {
  #document-library-1 thead {
    display: none;
  }
  #document-library-1, 
  #document-library-1 tbody, 
  #document-library-1 tr, 
  #document-library-1 td {
    display: block;
    width: 100%;
  }
  #document-library-1 tr {
    margin-bottom: 14px;
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 10px;
    padding: 12px;
  }
  #document-library-1 td {
    border: none;
    padding: 6px 0;
  }
  #document-library-1 td:before {
    content: attr(data-label);
    font-weight: 600;
    font-size: 12px;
    color: #9ca3af;
    display: block;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: .04em;
  }
}

/* ============= DataTables sort icons — HARD RESET ============= */
/* 1) Elimina pseudo-elementi standard di DataTables */
#document-library-1_wrapper table.dataTable thead th.sorting:before,
#document-library-1_wrapper table.dataTable thead th.sorting:after,
#document-library-1_wrapper table.dataTable thead th.sorting_asc:before,
#document-library-1_wrapper table.dataTable thead th.sorting_asc:after,
#document-library-1_wrapper table.dataTable thead th.sorting_desc:before,
#document-library-1_wrapper table.dataTable thead th.sorting_desc:after {
  content: none !important;
  display: none !important;
}

/* 2) Elimina possibili background-image usati come frecce (vecchi css DataTables) */
#document-library-1_wrapper table.dataTable thead th.sorting,
#document-library-1_wrapper table.dataTable thead th.sorting_asc,
#document-library-1_wrapper table.dataTable thead th.sorting_desc {
  background-image: none !important;
  background-repeat: no-repeat !important;
  background-position: right 8px center !important;
  /* spazio per le nuove icone */
  position: relative;
  padding-right: 28px !important;
  cursor: pointer;
}

/* ============= Nuove icone ordinate, minimal ============= */
/* Stato neutro: doppia freccia grigina */
#document-library-1_wrapper table.dataTable thead th.sorting::after {
  content: "⇅";
  font-size: 12px;
  color: #9ca3af;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
  pointer-events: none;
}

/* Ascendente: freccia su rossa */
#document-library-1_wrapper table.dataTable thead th.sorting_asc::after {
  content: "↑";
  font-size: 12px;
  color: #e11d48; /* accento */
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
  pointer-events: none;
}

/* Discendente: freccia giù rossa */
#document-library-1_wrapper table.dataTable thead th.sorting_desc::after {
  content: "↓";
  font-size: 12px;
  color: #e11d48;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
  pointer-events: none;
}

/* Hover/focus: evidenzia solo la label, NON spostare layout */
#document-library-1_wrapper table.dataTable thead th.sorting:hover,
#document-library-1_wrapper table.dataTable thead th.sorting_asc:hover,
#document-library-1_wrapper table.dataTable thead th.sorting_desc:hover,
#document-library-1_wrapper table.dataTable thead th.sorting:focus,
#document-library-1_wrapper table.dataTable thead th.sorting_asc:focus,
#document-library-1_wrapper table.dataTable thead th.sorting_desc:focus {
  color: #e5e7eb; /* testo header un filo più chiaro */
}

/* (Opzionale) evita wrap del testo header quando appaiono le icone */
#document-library-1_wrapper table.dataTable thead th {
  white-space: nowrap;
}/* End custom CSS */