select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 8 L10 12 L14 8' stroke='%23999' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;

    padding-right: 35px; /* spazio per la freccia */
}

@font-face {
  font-family: 'boldini';
  src: url('css/boldini-regular.ttf') format('truetype');
  font-weight: 200 !important;
  font-style: normal;
  font-display: swap;
}


.ct-series-a .ct-area, .ct-series-a .ct-slice-pie {
    fill: #626ed4 !important;
}


/* Su schermi grandi (>= 768px) NASCONDO la colonna dtr-control */
@media (min-width: 768px) {
    table.dataTable thead th.dtr-control,
    table.dataTable tbody td.dtr-control {
        display: none;
    }
}

table.dataTable.nowrap th, table.dataTable.nowrap td {
    white-space: normal !important;
}

.dataTables_info{
    margin-top:40px;
}
.dataTables_paginate  {
    margin-top:5px;
}

.pagination .page-link {
    color: #4b4b4b;
}

.pagination .page-item.active .page-link {
    background-color: #6f6f6f;
    border-color: #6f6f6f;
}



.dataTables_filter label {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

/* metto tutto in linea */
.dataTables_length label {
    display: flex;
    align-items: center;
    gap: .4rem;        /* spazio tra testo e select */
    white-space: nowrap;
}

/* il select non deve più essere a blocco largo 100% */
.dataTables_length select {
    width: auto !important;
    display: inline-block !important;
}

table.dataTable.dtr-column > tbody > tr > td.dtr-control:before,
table.dataTable.dtr-column > tbody > tr > th.dtr-control:before {
    display: none !important;
}

@media (max-width: 768px) {
    .page-link {
        font-size:10px;
    }
}

/* --------------------------------------- */
/* MOBILE: due colonne 50% - 50%          */
/* --------------------------------------- */
@media (max-width: 768px) {



    /* I DUE COLONNINI GENERATI DA DATATABLES */
    .dataTables_wrapper .row:first-child > .col-sm-12.col-md-6 {
        flex: 0 0 50% !important;   /* 50% della riga */
        max-width: 50% !important;
    }

    /* Label di length e filter tutte in linea */
    .dataTables_wrapper .dataTables_length label,
    .dataTables_wrapper .dataTables_filter label {
        display: flex !important;
        flex-wrap: nowrap;
        align-items: center;
        gap: 6px;
        white-space: nowrap;
        margin-bottom: 0;
    }

    /* Il cerca non deve centrare il testo */
    .dataTables_wrapper .dataTables_filter {
        text-align: left !important;
        margin-bottom:15px !important;
    }


    /* Campo di ricerca un po' contenuto (regola tu) */
    .dataTables_wrapper .dataTables_filter input {
        max-width: 130px;   /* puoi aumentare/ridurre */
    }


}

.dataTables_wrapper .dataTables_filter {
    margin-bottom:15px !important;
}

.dataTables_length {
    margin-top:4px;
}


table {
    width: 100% !important;
}

tr.child td.child td {
    padding: .2rem !important;
}


.link-danger {
    color: #dc3545;
    text-decoration: underline;
}

.link-success {
    color: #198754 !important;
}

button:disabled {
    cursor: not-allowed;
    pointer-events: all !important;
  }

.btn {
    padding: 0.375rem 0.5rem !important;
}


#sidebar-menu ul li a i {
  
    font-size: 13px !important;
}

@media print {
    #rigaAddProdotto {
        display: none !important;
    }
    #eliminaProdotto {
        display: none !important;
    }
}

    
.input_icon {
    position: absolute;
    right: 20px;
    top: 9px;
    z-index:100;
    pointer-events: none;
    color: #848484;
}
.side-menu {
    width: 240px;
    z-index: 10;
    background: #383c40;
    bottom: 0;
    margin-top: 0;
    padding-bottom: 30px;
    position: fixed;
    top: 70px;
    background-image: url(public/assets/images/menu-pattern.png);
    background-size: cover;
    background-position: center;
}

.notification-list .nav-link {
    color: #1b1b1b;
}

#sidebar-menu > ul > li > a {
    color: #7a8590;
    display: block;
    padding: 10px 15px;
    font-size: 15px;
    position: relative;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
 
}

.topbar .topbar-left {
    background-color: #383c40;
    float: left;
    text-align: center;
    height: 70px;
    position: relative;
    width: 240px;
    z-index: 1;
}



body {
    background-repeat: repeat;
    background: #f3f3f3;
    font-family: apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    
    color: #616f80;
    font-size: 14px;
}

.topbar .navbar-custom {
    background-color: #ffffff;
    border-radius: 0;
    margin-bottom: 0;
    padding: 0 10px 0 0;
    margin-left: 240px;
    min-height: 70px;
    -webkit-box-shadow: 1px 0 5px rgba(0, 0, 0, 0.05);
    box-shadow: 1px 0 5px rgba(0, 0, 0, 0.05);
}

.button-menu-mobile {
    border: none;
    color: #4f6191;
    display: inline-block;
    height: 70px;
    width: 60px;
    background-color: #ffffff;
    font-size: 24px;
}

.app-search .form-control, .app-search .form-control:focus {
    border: 1px solid #f0f4f7;
    font-size: 13px;
    height: 34px;
    padding-left: 18px;
    padding-right: 40px;
    margin-right: 16px;
    background: #f0f4f7;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 30px;
    width: 200px;
}

table.dataTable tbody td {
    word-break: break-word;
    vertical-align: top;
}

.side-menu {    
    background: #1b1b1b;
}

.topbar .topbar-left {
    background-color: #1b1b1b;
}
.dropzone {
    border: 2px dashed rgba(0, 0, 0, 0.3) !important;
}

.tooltip  { margin-right:10px !important;margin-left: 10px !important; }


 .dropdown-menu {
    z-index:2000;
 }