:root{
    --primary: #007bff;
    --primary-hover: #0069d9;
    --primary-2:  rgba(0, 123, 255, 0.15);
    --primary-1:  rgba(0, 123, 255, 0.1);
    --primary-05:  rgba(0, 123, 255, 0.05);
}
.custom-loader{
    
    position: fixed;
    z-index: 1000000;
    width: 100%;
    height: 100vh;
    display: none;
    align-items: center;
    justify-content: center;
}

.custom-loader .loader-container{
    min-width: 120px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0px;
    flex-direction: column;
    gap: 5px;
    color: rgb(30, 30, 30);
    background-color: white;
    box-shadow: 0px 0px 20px rgb(240, 240, 240);
    border-radius: 6px;
}

.custom-loader span{
       width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 15px;
    display: inline-block;
    color: var(--primary);
    will-change: animation;
    aspect-ratio: 1;
    border: 0.28em solid var(--primary-2);
    border-right-color: currentColor;
    border-bottom-color: currentColor;
    animation: spin_tracking .5s infinite linear;
}
.custom-loader.show{
    display: flex;
}

@keyframes spin_tracking {
    to {
        transform: rotate(1turn)
    }
}
.clearfix {
    display: none;
    border: 1px solid rebeccapurple;
}

.boxed-1 {
    background-image: url('<?= base_url("assets/bg_card.png") ?>');
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh !important;
    /* position: absolute;
    width: 100%;
    z-index: 990000 !important;
    left: 50%;
    display: block !important; */
    /* width: 27%; 
    opacity: 0; */
}

.boxed-2 {
    /* /*rgb(0, 0, 0, 0.458)*/
    background-color: rgba(0, 100, 0, 0.458); /* Vert foncé avec transparence */
    height: 100%;
    /*background-color: transparent;*/
    /* /* padding: 10px; /* /*
}

.boxed-3 {
    height: 87%;
    /* border: 1px solid wheat; */
    /* padding-left: 30px;
    padding-right: 30px; */
    overflow-y: scroll;
    /* padding-right: 90px; */

}

.boxed-3::-webkit-scrollbar {
    width: 6px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* Couleur de fond du scrollbar */
.boxed-3::-webkit-scrollbar-track {
    background-color: transparent;
}

/* Couleur du curseur (remplissage) du scrollbar */
.boxed-3::-webkit-scrollbar-thumb {
    background-color: #a3a3a341;
    /* border: 1px rgb(112, 112, 112); */
    border-radius: 5px;
}

/* Au survol du scrollbar */
.boxed-3::-webkit-scrollbar-thumb:hover {
    background-color: #c9c9c948;
}

/* .menu-arrow {
    margin-right: 30% !important;  
} */

.boxed-4 {
    overflow: hidden;
    width: 100vw !important;
    height: 100vh;
    position: absolute;
}

.boxed-5 {
    /* position: absolute; */
    /* z-index: 100 !important;
    position: relative !important; */
    /* width: 75%;
    margin-left: 25vw; */
    box-shadow: none;
}

.boxed-6 {
    /* display: flex;
    justify-content: end;
    z-index: 100 !important;
    position: relative !important; */
    /* width: 80%; */
    /* background-color: rgb(235, 235, 235); */
    background-color: rgb(255, 255, 255);
    box-shadow: none;
    padding-top: 3vh;
}

.boxed-7 {
    /* background-color: antiquewhite; */
    /* height: 30vh; */
    /* overflow: scroll; */
    background-color: rgb(255, 255, 255);
}

/* .boxed-8 {
    width: 80%;
    position: fixed;
} */

.boxed-8 {
    border: none;
}

.boxed-9 {
    display: flex;
    justify-content: space-around;
    align-items: center;
    /* border: 1px solid; */
    width: 25%;
}

.boxed-10 {
    display: flex;
    justify-content: center;
    width: 15vw;
    background-color: rgba(238, 251, 255, 0.7);
    border-radius: 10px;
    box-shadow: 0 0 14px 1.5px rgba(208, 208, 208, 0.6);
    margin-right: 2vw;
}

.boxed-11 {
    padding: 0.25vw;
    box-shadow: 0 0 14px 1.5px rgba(208, 208, 208, 0.6);
    border-radius: 5px;
    background-color: rgba(238, 251, 255, 0.7);
}

.boxed-12 {
    padding: 0.35vw;
    padding-left: 1.5vw;
    padding-right: 1.5vw;
    box-shadow: 0 0 14px 1.5px rgba(208, 208, 208, 0.6);
    border-radius: 5px;
    background-color: rgba(238, 251, 255, 0.7);
}

.text-style-1 {
    text-align: center;
    color: rgb(75, 75, 75);
    /* border: 1px solid; */
}

.text-style-2 {
    text-align: center;
    color: rgb(75, 75, 75);
    /* border: 1px solid; */
}

.boxed-13 {
    display: flex;
    justify-content: center !important;
    border: 1px solid transparent !important;
    width: 100%;
    box-shadow: none;
}

.boxed-14 {
    display: flex;
    /* width: 80%; */
    padding: 2.5vw;
    border-radius: 5px;
    /* overflow: scroll; */
    box-shadow: 0 0 14px 1.5px rgba(208, 208, 208, 0.6);

}

.boxed-15 {
    border: 1px solid;
}

.boxed-16 {
    /* max-height: 92vh !important; */
    min-height:30vh !important;
    /* background-color: #cacaca; */
}

.modal_cus {
    background-color: rgba(224, 247, 255, 0.627);
    backdrop-filter: blur(4px);
}

.button_cus_1 {
    background-color: rgb(38, 38, 38);
    box-shadow: 0 0 15px 1px rgba(60, 60, 60, 0.6);
    color: white;
    transition: all 0.3s ease-in-out;
}

.button_cus_1:hover {
    background-color: rgb(70, 70, 70);
    color: white;
}

.text-input1 {
    background-color: transparent;
    border: 1px solid rgba(150, 150, 150, 0.535);
}

.text-input1:focus {
    background-color: transparent;
    border: 1px solid gray;
}

.select_cus2 {
    background-color: transparent;
    border: 1px solid rgba(150, 150, 150, 0.535);
}

.select_cus2:focus {
    background-color: transparent;
    border: 1px solid gray;
}

.cus_color_1 {
    color: rgb(230, 230, 230) !important;
}

.cus_color_2 {
    color: rgb(210, 210, 210) !important;
}

.cus_color_3 {
    color: rgb(195, 195, 195) !important;
    transition: color 0.5s ease-in-out;
}

.cus_color_3:hover {
    color: rgba(224, 247, 255, 0.878) !important;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px;
    margin-top: 0;
    overflow-x: auto;
    /* Ajouté pour permettre le défilement horizontal si nécessaire */
}

.pagination a {
    display: block;
    padding: 8px 16px;
    margin: 0 4px;
    text-decoration: none;
    color: #007bff;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.pagination a.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.pagination a:hover {
    background-color: #ddd;
}

.pagination .more {
    display: block;
    padding: 8px 16px;
    margin: 0 4px;
    text-decoration: none;
    color: #007bff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.pagination-container {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    margin-top: 15px !important;
    margin-bottom: 2px;
    padding-top: 15px;
    border-top: 1px solid rgb(222, 222, 222);
    /* Ajouté pour permettre le défilement horizontal si nécessaire */
}