html{
  font-size: small;
}
body {
font-size: .875rem;
}

.feather {
width: 16px;
height: 16px;
vertical-align: text-bottom;
}

/*
* Sidebar
*/

.sidebar {
position: fixed;
top: 0;
bottom: 0;
left: 0;
z-index: 100; /* Behind the navbar */
padding: 48px 0 0; /* Height of navbar */
box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

@media (max-width: 767.98px) {
.sidebar {
    top: 5rem;
}
}


.sidebar-sticky {
position: relative;
top: 0;
height: calc(100vh - 48px);
padding-top: .5rem;
overflow-x: hidden;
overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
font-weight: 500;
color: #333;
font-size: 14px;
}

.sidebar .nav-link .feather {
margin-right: 4px;
color: #727272;
}

.sidebar .nav-link.active {
color: #2470dc;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
color: inherit;
}

/*
* Navbar
*/

.navbar-brand {
padding-top: .75rem;
padding-bottom: .75rem;
font-size: 1rem;
background-color: rgba(0, 0, 0, .25);
box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .navbar-toggler {
top: .25rem;
right: 1rem;
}

.navbar .form-control {
padding: .75rem 1rem;
border-width: 0;
border-radius: 0;
}

.form-control-dark {
color: #fff;
background-color: rgba(255, 255, 255, .1);
border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
border-color: transparent;
box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

.bd-placeholder-img {
font-size: 1.125rem;
text-anchor: middle;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}

@media (min-width: 768px) {
.bd-placeholder-img-lg {
    font-size: 3.5rem;
}
}
.nav-link{
    cursor: pointer;
}
/* ---- importation xlsx ------ */
.import_bonlivraison{
    height: 80vh;
}
/* ----- dashbord ------- */ 
canvas {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
}
.dropend{
    width: fit-content;
}
#user_roles input{
    margin: 0 8px;
}
#pagination {
    margin-top: 10px;
    text-align: center;
}

.pagination-button {
margin: 0 5px;
padding: 5px 10px;
border: 1px solid #ddd;
background-color: #f9f9f9;
cursor: pointer;
}

.pagination-button.active {
background-color: #007bff;
color: #fff;
border-color: #007bff;
}

.pagination-button:hover {
background-color: #007bff;
color: #fff;
}
#confirmation-modal .modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 1000;
}
#confirmation-modal .modal-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
#confirmation-modal .close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 1.5rem;
    color: #333;
}
.logo_olex{
    width: -webkit-fill-available;
    height: 14vh;
    padding: 30px 7px 7px 7px;
    margin-top: 51px;
}
.text-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.animated-numbers .number-box {
  padding: 20px;
  background: #f9f9f9;
  border: 2px solid #ddd;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.animated-numbers .number-box:hover {
  transform: scale(1.05);
}

.animated-numbers h2 {
  font-size: 3rem;
  color: #007bff;
  margin: 0;
}

.animated-numbers .region-name {
  font-size: 1.2rem;
  color: #555;
  margin-top: 10px;
}

#table-body.visible {
  display: table-row-group; /* Show table body when results are available */
}
th{
  font-size: 12px;
  font-weight: 600;
}

#registration_form_roles {
  display: grid;
  grid-template-columns: repeat(2, 0fr);
  gap: 13px;
  padding: 20px;
}

#registration_form_roles input[type="checkbox"] {
  margin-right: 5px;
}

#registration_form_roles label {
  display: inline-block;
}
.pagination-button {
  margin: 0 5px;
  padding: 5px 10px;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
}

.pagination-button.active {
  background: #007bff;
  color: white;
  border-color: #007bff;
}
.fa-edit {
  color: #007bff; /* Couleur bleue */
  transition: color 0.3s ease;
}

.fa-edit:hover {
  color: #0056b3; /* Couleur bleue plus foncée au survol */
}
.sidebar{
  width: 15%;
  padding: 115px 0 0;
}
.navbar-brand{
  width: 15%;
  height: 21vh;
}
header{
  height: 4vh;
}
.table>:not(caption)>*>*{
  text-transform: capitalize;
}
.pagination-button {
  margin: 0 5px;
  padding: 8px 16px;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
  border-radius: 4px;
}

.pagination-button:disabled {
  cursor: not-allowed;
}

.pagination-button:hover:not(:disabled) {
  background: #f0f0f0;
}

.page-info {
  font-size: 14px;
  color: #666;
}
  
  
