.header-logo {
    margin-left: 1em;
    margin-right: 0.5em;
}

.white-logo {
  filter: brightness(0) invert(1);
  width: 25%;
  margin-left: 2em;
}

.accordion {
    margin-bottom: 1em;
    --bs-accordion-active-bg: red;
}

.bg-dark-dts {
    background-color: #4197d0;
}

.navbar-pro {
    display: flex;
    justify-content: center;
    align-items: center;
}

.status-icon-enable {
    color: rgb(40, 134, 40);
}

.icon-margin {
    margin-right: 0.4em;
}

.status-icon-disable {
    color: rgb(181, 49, 49);
}

input[readonly], select[readonly] {
    background-color: #f0f0f0; /* Fond gris clair */
    color: #666; /* Texte assombri */
    border: 1px solid #ccc; /* Bordure grisée */
    cursor: not-allowed; /* Curseur interdit */
    font-style: italic; /* Texte en italique */
    opacity: 0.7; /* Opacité réduite */
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #385e86!important;
}

.navbar-collapse {
    margin-left: 1em;
}

.submenu-icon {
    margin-right: 1em;
}

.dropdown-item.active i {
    color: white;
}

.main-container {
    margin-top: 2em!important;
}

span.user-info {
    margin-left: 1em;
}

.vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
  }

.container-fluid {
    max-width: 90%;
}

.container-lg {
    max-width: 90%!important;
}

.primary-color {
    color: #385e86;
}

.secondary-color {
    color: #ffffff;
}

.preview-icon {
    font-size: 1.5rem;
}

/* Fond de la popup */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(255, 255, 255, 0.9);
}

/* Contenu de la popup */
.modal-content {
    background-color: #ffffff;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    position: relative;
}

/* Bouton de fermeture */
.close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.alert {
    margin-top: 1em!important;
    margin-bottom: 0em!important;
}

.alert-message {
    color: white!important;
    background-color: #385e86!important;
}

.close:hover {
    color: red;
}

.dataTables_length {
    margin-top: 1em;
}

.table {
    padding-bottom: 1em!important;
    padding-top: 1em!important;
}

.userinfo {
    margin-right: 1em;
}

.login-error {
    margin-top: 1em;
    color: red;
}

.login-logo {
    max-width: 300px;
    margin-top: 2em;
}

.login-container {
    margin-top: 2em!important;
}

/* Modal log viewer */
.modal {
    display: none;  
    position: fixed;
    z-index: 1;  /* Placer la modal au-dessus de tout le contenu */
    left: 0;
    top: 0;
    width: 100%;  /* Largeur complète de l'écran */
    height: 100%;  /* Hauteur complète de l'écran */
    background-color: rgba(0, 0, 0, 0.4);  /* Fond semi-transparent */
}

/* Contenu de la modal */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;  /* Ajustez la largeur à votre convenance */
    max-width: 800px;
}

/* Bouton de fermeture de la modal */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}