body {
    background-color: #f1f5f9;
}


/* Sidebar */
.sidebar {
    background-color: #ffffff;
    border-radius: 10px;
    margin: 10px;
    padding-top: 10px;
}

.sidebar li a {
    color: #363e48;
    padding: 8px 13px;
    font-size: 14px;
    margin-top: .2rem;
    font-weight: 500;
    border: 1px solid transparent;
}

.sidebar>ul.nav>li.active a:first-child,
.sidebar>ul.nav>li:hover a:first-child {
    background: #fff;
    border-radius: .8rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);
    border: 1px solid rgb(15 23 42 / .15);
}

/* exclure la bordur sur le survol logo */
.sidebar>ul.nav>li.active a.logo:first-child,
.sidebar>ul.nav>li:hover a.logo:first-child {
    border: none;
}

.sidebar ul.nav li .nav-second-level li a {
    padding: 5px 15px 5px 48px;
    color: #374151;
    font-size: 14px;
    margin-top: 0;
    font-weight: 500;
    background: 0 0 !important;
    box-shadow: none !important;
    border: 0 !important;
}

.sidebar ul.nav li.active>a,
.sidebar ul.nav li.active>a .menu-icon,
.sidebar ul.nav>li>a:focus,
.sidebar ul.nav>li>a:focus .menu-icon,
.sidebar ul.nav>li>a:hover,
.sidebar ul.nav>li>a:hover .menu-icon {
    color: #111827;
}

.sidebar .nav>li>a:focus,
.sidebar .nav>li>a:hover,
.sidebar li.active>a {
    background: transparent;
}

.sidebar ul.nav li.active>a,
.sidebar ul.nav li.active>a .menu-icon,
.sidebar ul.nav>li>a:focus,
.sidebar ul.nav>li>a:focus .menu-icon,
.sidebar ul.nav>li>a:hover,
.sidebar ul.nav>li>a:hover .menu-icon {
    color: #111827;
}

.sidebar li .nav-second-level li.active a {
    color: #374151 !important;
    margin: 0;
}

.sidebar ul.nav li .nav-second-level li.active a {
    font-weight: 600;
    color: #111827;
}

.sidebar .nav>li .nav-second-level>li:not(.active)>a:focus,
.sidebar .nav>li .nav-second-level>li:not(.active)>a:hover {
    background-color: transparent;
    color: #37415178;
}


/* Header */
#header {
    background-color: #ffffff;
    border-radius: 10px;
    margin-top: 10px;
    margin-bottom: 0;
    margin-right: 10px;
    margin-left: 250px;
}

.screen-options-btn {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;

}

/* Hide Sidebar */
body.hide-sidebar #header,
body.page-small #header {
    margin-left: 10px;
}

/* Wrapper */
#wrapper {
    background-color: transparent;
    margin: 0 0 0 240px;
}

/* Toolbar */
.btn-bottom-toolbar {
    margin-left: 240px;
}

/* Supprimer l'indicateur visuel de tri (fond coloré sur la colonne triée) */
table.dataTable tbody tr>.sorting_1,
table.dataTable tbody tr>.sorting_2,
table.dataTable tbody tr>.sorting_3,
.table.dataTable tbody tr>.sorting_1,
.table.dataTable tbody tr>.sorting_2,
.table.dataTable tbody tr>.sorting_3 {
    background-color: transparent !important;
    background: none !important;
}

/* Supprimer les icônes de tri dans les en-têtes (sans masquer les titres) */
table.dataTable thead .sorting:before,
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc:after {
    display: none !important;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
    background-image: none !important;
    cursor: default !important;
    /* Optionnel : empêche le curseur de pointer s'il n'y a plus d'indication visuelle */
}

.staff-profile-image-small {
    object-fit: cover;
}

.btn-bottom-toolbar {
    border-radius: 10px 10px 0 0;
}


table.table-dashboard-recent-movements tr td:last-child,
table.dataTable tr td:last-child {
    white-space: nowrap;
}



/* custom styling - remove shadow and border */
.panel,
.panel-body,
.panel_s,
.navbar-pills-flat,
.modal-content {
    box-shadow: none;
    --tw-border-opacity: 0;
    --tw-bg-opacity: 1;
    --tw-shadow: none;
    --tw-shadow-colored: none;
    border-color: transparent;
    border-radius: 1rem;
    border-style: none;
    border-width: 0;
    box-shadow: none;
}

.top_stats_wrapper {
    box-shadow: none;
    border-radius: .8em;
    border: none;
}

ul.dropdown-menu {
    border-radius: .8em;
}

.btn,
.btn-group>.btn,
.input-group-addon {
    border-radius: 1.2em;
}

.sidebar>ul.nav>li.active a:first-child,
.sidebar>ul.nav>li:hover a:first-child {
    box-shadow: none;
    background: #f1f5f9;
    border-color: transparent;
}

input.form-control,
input[type=color],
input[type=date],
input[type=datetime-local],
input[type=datetime],
input[type=email],
input[type=file],
input[type=month],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=time],
input[type=url],
input[type=week],
select.form-control,
textarea.form-control {
    border-radius: 1.2em;
}

.input-group {
    --tw-shadow: none;
    --tw-shadow-colored: none;
    box-shadow: none;
    height: auto;
}

.modal-header {
    border-top-left-radius: 1em;
    border-top-right-radius: 1em;
}

.widget-kpi {
    border-radius: 1em !important;
    min-height: auto !important;
}

.widget-kpi h3 {
    font-size: 16px !important;
}

.gs-search-box input,
.alert,
.gs-product-card {
    border-radius: 1rem !important;
}

.badge {
    padding: .125rem .35rem !important;
    background-color: rgb(220 38 38/var(--tw-bg-opacity));
    color: white;
}

.sidebar li a i.menu-icon {
    text-align: center;
}

.fc-event {
    border-radius: 10px !important;
}

.bootstrap-select.btn-group.disabled,
.bootstrap-select.btn-group>.disabled,
.bootstrap-select.disabled,
.bootstrap-select>.disabled {
    border-radius: 20px;
}