/* Freccetta su */
.table > thead .sorting:before,
.table > thead .sorting_asc:before,
.table > thead .sorting_asc_disabled:before,
.table > thead .sorting_desc:before,
.table > thead .sorting_desc_disabled:before {
  content: "\f235" !important; /* Codice per freccetta su */
  font-family: bootstrap-icons !important;
  position: absolute;
  inset-inline-end: 0.8rem !important;
  top: 0.813rem !important;
  font-size: 0.5rem !important;
}

/* Freccetta giù */
.table > thead .sorting:after,
.table > thead .sorting_asc:after,
.table > thead .sorting_asc_disabled:after,
.table > thead .sorting_desc:after,
.table > thead .sorting_desc_disabled:after {
  content: "\f229" !important; /* Codice per freccetta giù */
  font-family: bootstrap-icons !important;
  position: absolute;
  inset-inline-end: 0.8rem !important;
  top: 1.25rem !important;
  font-size: 0.5rem !important;
}

/* Stile generale per ordinamento */
.table > thead .sorting,
.table > thead .sorting_asc,
.table > thead .sorting_desc,
.table > thead .sorting_asc_disabled,
.table > thead .sorting_desc_disabled {
  cursor: pointer;
  position: relative;
}

/* Freccette inattive */
.table > thead .sorting:before,
.table > thead .sorting:after {
  opacity: 0.2;
}

/* Freccette attive */
.table > thead .sorting_asc:before,
.table > thead .sorting_desc:after {
  opacity: 0.8;
}

/* Aggiungi padding per spazio alle freccette */
.table thead > tr > th.sorting,
.table thead > tr > th.sorting_asc,
.table thead > tr > th.sorting_desc {
  padding-inline-end: 1.625rem;
  border-width: 0 var(--bs-border-width);
}

th.sorting {
    border: 1px solid #d0d9df;
    border-bottom: 1px solid #d0d9df;
}

.hidden {
  display: none;
}

.invalid-form{
  width: 100%;
  margin-top: .25rem;
  font-size: .875em;
  color: var(--bs-form-invalid-color);
  display: block;
}

div#swal2-html-container {
  color: #000 !important;
}

/* Stili per il tooltip */
a[data-title] {
  position: relative;
}

a[data-title]:hover::after {
    content: attr(data-title);
    position: absolute;
    left: 50%;
    bottom: 120%;
    transform: translateX(-50%);
    background-color: rgba(10, 59, 92, 0.8); /* Colore con trasparenza */
    color: #fff;
    padding: 5px 8px; /* Maggiore spazio per il tooltip */
    border-radius: 5px;
    white-space: nowrap;
    font-size: 11px; /* Dimensione del testo più grande */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out;
}

a[data-title]:hover::after {
    opacity: 1;
    visibility: visible;
}



/* Contenitore della lista */
.dropdown-menu.lista-moduli {
  padding: 0;
  margin: 0;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 200px;
}

/* Ogni elemento della lista */
.elemento-lista {
  padding: 12px 16px;
  transition: background-color 0.2s ease, color 0.2s ease;
  color: #000000;
}

/* Effetto al passaggio del mouse */
.elemento-lista:hover {
  background-color: #f0f0f0;
  color: #0a3b5c;
}

/* Stile opzionale se vuoi dividerli con linee */
.elemento-lista:not(:last-child) {
  border-bottom: 1px solid #eee;
}

.icona-menu{
  opacity: 70%;
}

.side-menu__item:hover img{
  opacity: 100% !important;
}

[data-menu-styles=dark] .app-sidebar .side-menu__item.active img{
  opacity: 100% !important;
}

.authentication .authentication-cover {
  background: rgba(10, 59, 92, 0.75) !important;
}


.table {
    margin-top: 10px !important;
}

.dataTables_info {
  margin-top: 10px !important;
}

div.dataTables_wrapper div.dataTables_paginate {
  margin-top: 10px !important;
}

.dataTables_scrollBody::-webkit-scrollbar {
    height: 15px;
}