:root {
    --bs-font-sans-serif: 'Inter', 'Helvetica', sans-serif;
}

#DataTables_Table_0_wrapper .justify-content-between {
    padding: 15px !important;
}

#DataTables_Table_0{
    width: 100% !important;
}

.modal-dialog {
    max-height: 100vh !important; /* Limite la hauteur du modal à 100% de la hauteur de l'écran */
}

.modal-content {
    max-height: 95vh !important; /* Limite la hauteur du contenu du modal à 100% de l'écran */
}

.table > thead {
    background: #4FC9DA !important;
    border: 1px solid #4FC9DA !important;
}

.table > thead > tr > th {
    padding: 1.5rem !important;
}

.card {
    border : 1px dashed #e8e5dd !important;
    box-shadow: none !important;
    background-color: rgba(248,246,242,.3) !important;
}

/* Css btn toggle */
.hidden{
    display: none !important;
}

.nav .nav-item .active{
    border-color: #00CCC4 !important;
}

.active{
    color: #00CCC4 !important;
    font-weight: bold !important;
}

.active .page-link{
    color: black !important;
    border-bottom: 1px solid #00CCC4 !important;
}
.switch {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 20px;
    vertical-align: middle;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #dae2e6;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 14px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

input:checked+.slider {
    background-color: #00CCC4;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1080;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    transform: translateX(100%);
    opacity: 0;
}

.toast-body {
    white-space: normal;
    word-wrap: break-word;
    padding: 10px;
}

.toast-container.show {
    transform: translateX(0);
    opacity: 1;
}
.modal-card-body-xxl {
    max-height: 500px !important;
    overflow-y: auto !important; /* Permet le défilement à l'intérieur du modal */
}

.modal-card-body-lg {
    max-height: 910px !important;
    overflow-y: auto !important; /* Permet le défilement à l'intérieur du modal */
}

.start-required {
    position: relative;
    top: 4px;
}

.btn-action-mw-250 {
    max-width: 250px;
}

.flatpickr-calendar .flatpickr-day.selected,
.flatpickr-calendar .flatpickr-day.today {
    background-color: #d0d4d4 !important;
    border-color: #d0d4d4 !important;
    color: rgb(17, 14, 14) !important;
    border-radius: 50% !important;
}

.flatpickr-calendar .flatpickr-day.selected,
.flatpickr-calendar .flatpickr-day.selected {
    background-color: #00CCC4 !important;
    border-color: #00CCC4 !important;
    color: white !important;
}
.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
    background-color: #00CCC4 !important;
    border-color: #00CCC4 !important;
    color: white !important;
}

.select2-selection--multiple,
.select2-container--default .select2-selection--single {
    background-color: #FFFFFF !important;
    border: 1px solid #D2DDEC !important;
    border-radius: 0.375rem !important;
}
.select2-container .select2-selection--single,  .select2-container .select2-selection--multiple{
    height: 41.0px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none !important;
}
.select2-selection__rendered{
    margin-top: 2px !important;
    height: 100% !important;
}

.select2-selection--single .select2-selection__rendered{
    margin-top: 4.5px !important;
}

.select2-dropdown--below, .select2-dropdown {
    background-color: #FFFFFF !important;
    border: 1px solid #D2DDEC !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #00ccc4 !important;
    border-color: #00ccc4 !important;
    color: white !important;
}

.select2-results__option--highlighted {
    background-color: #00CCC4 !important; /* Change la couleur de fond sur survol */
    color: white !important; /* Change la couleur du texte sur survol */
    font-weight: bold !important; /* Met le texte en gras */
    cursor: pointer !important; /* Change le curseur pour indiquer qu'on peut cliquer */
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: white !important;
}

.btn-incall-bleu-three{
    background-color: #032484!important;
    color: white !important;
}

.loader-wrapper-orga {
    position: absolute;
    margin-top: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-wrapper-roles-mixte {
    position: absolute;
    margin-top: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-page-orga {
    display: inline-block;
    width: 40px;
    height: 40px;
    position: relative;
    border: 4px solid #00CCC4;
    animation: loader-page-orga 2s infinite ease;
}
.loader-inner {
    vertical-align: top;
    display: inline-block;
    width: 100%;
    background-color: #00CCC4;
    animation: loader-inner 2s infinite ease-in;
}

@keyframes loader-page-orga {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(180deg);
    }
    50% {
        transform: rotate(180deg);
    }
    75% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes loader-inner {
    0% {
        height: 0;
    }
    25% {
        height: 0;
    }
    50% {
        height: 100%;
    }
    75% {
        height: 100%;
    }
    100% {
        height: 0;
    }
}

.loader-global-incall-content {
    width: 70%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 367px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-global-incall {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: relative;
    animation: rotationGlobalLoader 1s linear infinite
}

.loader-global-incall::before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    inset: 0px;
    border-radius: 50%;
    border: 5px solid #032484;
    animation: prixClipFixGlobalLoader 2s linear infinite ;
}

@keyframes rotationGlobalLoader {
    100%   {transform: rotate(360deg)}
}

@keyframes prixClipFixGlobalLoader {
    0%   {clip-path:polygon(50% 50%,0 0,0 0,0 0,0 0,0 0)}
    25%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0)}
    50%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)}
    75%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%)}
}

.choix-type-data-role-mixte {
    width: 200px;
}

.incall-btn-success {
    color: #fff !important;
    background-color: #2dbd6e !important;
    border-color: #2dbd6e !important;
}

.bg-disabled {
    background: #eee;
}

.role-groupe-info {
    font-size: 14px;
    float: right;
    color: black;
}


.box-shadow-incall {
    box-shadow: 0 0.75rem 1.5rem #d3d3d3!important;
}

h1, h2, h3, h4, h5, h6{
    font-weight: 600 !important;
}

p{
    color: rgb(150, 142, 126) !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    line-height: 21px !important;
}

.text-grey-500{
    color: rgb(150, 142, 126) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 22px !important;
}

label{
    font-weight: 500 !important;
    font-size: 14px !important;
    line-height: 26px !important;
    color: rgb(18, 38, 63) !important;
}

.dt-search {
    position: relative;
    display: flex;
    align-items: center;
}

.dt-search i {
    position: absolute;
    left: 10px;
    font-size: 16px;
    color: #888; /* Couleur de l'icône */
}

.custom-search-input {
    padding-left: 30px !important; /* Décale le texte pour ne pas chevaucher l’icône */
    border: none !important; /* Supprime la bordure */
    outline: none !important; /* Supprime le focus */
    background-color: transparent !important; /* Fond transparent */
    box-shadow: none !important; /* Supprime l’ombre */
}

.dt-container .top.d-flex.justify-content-between{
    background-color: #FFFFFF !important;
}

/* Permet à .dt-search de prendre toute la place dispo */
.dt-search {
    flex-grow: 1;
    display: flex;
}

/* Permet à .search-container de s'étendre */
.search-container {
    flex-grow: 1;
    width: 100%;
    display: flex;
    align-items: center;
    max-width: 100%; /* S'assure qu'il prenne tout l'espace */
}

/* Élargit l'input */
.search-container input {
    flex-grow: 1; /* L'input s'étend pour occuper l'espace */
    width: 100% !important;
    max-width: 100%;
    border: none; /* Supprime la bordure */
    padding-left: 30px; /* Ajoute un espace pour l'icône */
}

/* Ajuste l'icône de recherche */
.search-container i {
    position: absolute;
    left: 10px;
    font-size: 16px;
    color: #888;
}

/* Ajuste la hauteur de l'input pour bien s'aligner */
.custom-search-input {
    height: 32px; /* Ajustable selon tes besoins */
    padding: 5px 10px;
}

#DataTables_Table_0_wrapper .bottom {
    border-top: 1px solid #EDF2F9;
    padding: 0 !important;
}

.page-link{
    padding: 1rem 1rem;
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
    background-color: #fdfcfb !important;
}

.pagination-left .previous{
    border-right: 1px solid #EDF2F9 !important;
    color: #95aad3 !important;
}

.pagination-right .next{
    border-left: 1px solid #EDF2F9 !important;
    color: #95aad3 !important;
}

/* Aligner les boutons "Précédent" tout à gauche */
.pagination-left {
    display: flex;
    text-align: left;
}

/* Centrer les numéros de page */
.pagination-center {
    display: flex;
    justify-content: center;
}

/* Aligner les boutons "Suivant" tout à droite */
.pagination-right {
    display: flex;
    text-align: right;
}

table thead tr th {
    color: white !important;
}

.full-page-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1040;
}

body.overlay {
    color: #f8f9fa;
}

.form-group .select2-container--default.select2-error2 .select2-selection--single,
.form-group .select2-container--default.select2-error2 .select2-selection--multiple {
    border-color: #E63757 !important;
}

.select2-error2 {
    border-color: #E63757 !important;
}

input:disabled,
select:disabled,
textarea:disabled,
.select2-container--disabled .select2-selection {
    background-color: #e2e6ed !important; /* Couleur de fond grise */
    cursor: not-allowed !important; /* Curseur non autorisé */
    opacity: 0.8 !important; /* Optionnel, pour rendre l'apparence plus atténuée */
}

.select2-selection__rendered .select2-selection__clear{
    display: none !important;
}