@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
    --gradient-angle: 0deg;
}

html, body{
    margin: 0 !important;
    padding: 0;
}

hr{
    display: none;
}

.snackbar{
    display: none;
}

#save__calendar{
    animation: rotation 3s linear 0s infinite;
}
#save__calendar.animate {
    background: linear-gradient(var(--gradient-angle), rgb(254,212,126), rgb(126,185,254));
}

@keyframes rotation 
{
    0%
    {
        --gradient-angle: 0deg;
    }
    100%
    {
        --gradient-angle: 360deg;
    }    
}
@property --gradient-angle
{
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #383a41;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    z-index: 99999999999999999;
    visibility: visible; /* Ensure it's visible initially */
    transition: opacity 0.5s ease, visibility 0.5s ease; /* Smooth transition */
}

@keyframes draw {
    from {
      stroke-dashoffset: 1000; /* Path fully hidden */
    }
    to {
      stroke-dashoffset: 0; /* Path fully drawn */
    }
  }
  
  @keyframes fill {
    from {
      opacity: 0; /* Fill hidden */
    }
    to {
      opacity: 1; /* Fill visible */
    }
  }
  
  
  
  .loadercontainer{
    width: 100%;
    max-width: 300px;
  }

.loader.hidden {
    opacity: 0; /* Fade out */
    visibility: hidden; /* Prevent clicks after fading out */
}

.page-template-debug, .page-template-superadmin{
    background: rgb(34,36,44);
    background: linear-gradient(90deg, rgba(34,36,44,1) 50%, rgba(26,27,33,1) 50%);
    color: white;
    font-family: "Roboto", sans-serif;
    font-weight: 200;
}

.page-template-debug footer, .page-template-superadmin footer{
    display: none;
}

.page-template-debug #main-header, .page-template-superadmin #main-header{
    display: none;
}

.page-template-debug h2, .page-template-debug h3, .page-template-debug h1, .page-template-superadmin h2, .page-template-superadmin h3, .page-template-superadmin h1{
    font-family: "Roboto", sans-serif;
    color: white;
}

#header{
    display: none;
}

.horaire_monthlabel, .months_selection_container{
    text-align: center;
}

.months_selection_container{
    width: 40%;
    margin-left: 5%;
}

.horaire_h2{
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 200;
    margin-right: 5%;
    text-align: right;
}

.calendar__cell__week__container, .calendar__week{
    width: 100%;
    margin: 0 auto;
    margin-bottom: 1rem;
}
.calendar__cell.absence-checked {
    background: repeating-linear-gradient(
        -55deg,
        #292a33,
        #292a33 10px,
        #1e1e25 10px,
        #1e1e25 20px
    );
}

.opacity-reduced {
    opacity: 0.3;
    pointer-events: none;
    cursor: inherit;
}

.page-template-superadmin .opacity-reduced{
    opacity: 1;
    pointer-events: all;
    cursor: pointer;
}

.calendar__week, .calendar__cell__week{
    display: flex;
}

.calendar__cell__week:first-child{
    justify-content: flex-end;
}

.calendar__day{
    width: calc((100% / 7) - 10px);
    text-align: center;
    margin: 0 5px;
    font-weight: 600;
}

.calendar__cell{
    position: relative;
    width: calc((100% / 7) - 10px);
    padding-top: calc((100% / 7) - 18px);
    border-radius: 25px;
    margin: 5px;
    background-color: #292a33;
    position: relative;
    border: 4px solid white;
    font-size: 1rem;
}

.calendar__cell__bar{
    position: absolute;
    height: 100%;
    width: 10px;
    top: 0; right: 0;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}

.calendar__cell__date{
    pointer-events: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.calendar__cell__date p{
    font-weight: 400;
}


select{
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

input.text:focus, input.title:focus, input[type=text]:focus, select:focus, textarea:focus{
    color: white;
}

select option{
    background: #1e1e25;
    color: white;
}

.carousel-indicators{
    display: none;
}



#month_selector{
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    transform: translateY(-50%);
}


.calendar__container{
    width: 40%;
    margin-left: 5%;
}

.calendar__cell__selects__container{
    height: fit-content;
    max-height: 90vh;
    overflow-y: scroll;
    display: none;
    position: fixed;
    left: 55%;
    border-radius: 1rem;
    top: 8%;
    padding: 5px;
    display: block;
}
.calendar__cell__selects__container.hidden{
    display: none;
}


/** **/ 
.calendar__cell__selects__container select{
    max-width: 190px !important;
    width: 190px;
    text-overflow: ellipsis;
    font-size: 1rem;    
    margin-top: 1rem !important;
}

/** CONTAINERS SELECTS **/ 

.calendar__cell__selects__container--chantier__container{
    display: block;
}

.calendar__cell__selects__container--chantier{
    position: relative;
    margin-left: 0;
}

/* .calendar__cell__selects__container--chantier::after{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: calc(300% - 2px);
    height: calc(100% - 2px);
    background: transparent;
    border: 1px solid #22242c;
    border-radius: 25px;
    z-index: -1;
} */

.calendar__cell__selects__container--chantier, .calendar__cell__selects__container--tache, .value_selection__container{
    padding: 1.5rem;
    border-radius: 25px;
    background: #22242c;
    width: fit-content;
    min-width: 236px;
    min-height: 65px;
    margin-bottom: 1rem;
    opacity: 1;
    margin-left: 1rem;
}

.value_selection__container select{
    width: inherit;
}

.calendar__cell__selects__container--chantier{
    margin-left: 0;
}

.calendar__cell__selects__container--chantier label, .calendar__cell__selects__container--tache label, .value_selection__container label{
    font-size: 1.2rem;
    text-align: center;
    font-weight: 400;
    margin-left: 4px;
}

.calendar__cell__selects__container--title{
    font-size: 1.6rem;
    font-weight: 200;
    text-align: center;
}

.container--notfirst.shown:last-of-type{
    margin-bottom: 1rem;
}

.calendar__cell__selects__horaires__new{
    border-radius: 25px;
    background: none;
    border: 3px dashed #fed47e;
    width: calc(100% - 18px);
    height: calc(65px + 3rem);
    margin-bottom: 1rem;
}

.calendar__cell__selects__horaires__new h3{
    text-align: center;
    font-size: 0.9rem;
    color: #fed47e;
    font-weight: 600;
    margin: 0;
}

.calendar__cell__selects__horaires__new svg{
    margin-left: 50%;
    transform: translateX(-50%) scale(1.5);
    margin-bottom: 1rem;
    fill: #fed47e;
}

#save__calendar{
    cursor: pointer;
    background: #fed47e;
    color: #22242c;
    font-weight: 600;
    text-transform: uppercase;
    padding: 1rem;
    border: none;
    border-radius: 15px;
    margin-left: 45%;
    margin-top: 5px;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1;
}
#open-absence-range-form{
    cursor: pointer;
    background: #fff;
    color: #22242c;
    font-weight: 600;
    text-transform: uppercase;
    padding: 1rem;
    border: none;
    border-radius: 15px;
    margin-top: 5px;
    position: fixed;
    bottom: 2rem;
    left: 52%;
    z-index: 1;
}

#save__calendar svg{
    display: none;
}

.value_selection__container {
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* Set opacity to 0.3 when the child select is disabled */
.value_selection__container:has(select:disabled) {
    opacity: 0.3;
    transition: opacity 0.5s ease;
}


#indemnite_repas_text {
    display: none;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease; /* Smooth transition for opacity changes */
    max-width: 220px;
}

.absence_comments_container{
    display: flex;
    align-items: stretch;
    width: 100%;
}

.calendar__cell__selects__container--additional-options{
    padding: 1.5rem;
    border-radius: 25px;
    min-height: 59px;
    margin-bottom: 1rem;
    opacity: 1;
    border: 3px dashed #22242c;
    height: fit-content;
    margin-left: calc(1rem + 4px);
    min-width: calc(100% - 4rem - 12px - (calc(200px + 3rem)));
}

.moreoptions_container{
    flex: 1;
}

.moreoptions_container_small{
    display: flex;
    align-items: stretch;
    width: 100%;
}

.comment_input{
    margin-left: 1rem;
    padding: 10px;
    border-radius: 25px;
    flex: 1;
    border: none;
    resize: none;
    color: black !important; /* Text color */
    caret-color: black; /* Caret color (blinking cursor) */
}

.ttv_label{
    width: 150px;
    padding: 1.5rem;
    border-radius: 25px;
    background: #22242c;
    margin-left: calc(1rem + 4px);
    margin-bottom: 1rem;
    text-align: center;
    vertical-align: center;
}
.ttvchecked{
    background: #fed47e;
    color: black;
}

.ttv_commentaires{
    padding: 0;
    border: none;
    min-width: calc(200px + 3rem);
    margin-left: 0 !important;
}

.commentaire_box{
    padding: 1.5rem;
    border-radius: 25px;
    background: #22242c;
    text-align: center;
    cursor: pointer;
    transition: .3s ease-in-out;
    border: none;
    color: white;
    font-weight: 600;
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
}

.commentaire_box_plus, .commentaire_box svg{
    display: none;
}

.commentaire_box:hover{
    background: #fed47e;
    color: black;
    transition: .3s ease-in-out;
}

.svgcontainer{
    transform: translateY(40%);
}

.svgcontainer svg{
    fill: #fed47e;
}

.globalcontainer__group{
    display: flex;
    max-height: 40vh;
    overflow-y: auto;
    padding: 1rem;
    padding-left: 0;
    margin-bottom: 1rem;
}

/* ===== Scrollbar CSS ===== */
/* General Scrollbar Styling for Firefox */
.globalcontainer__group {
    scrollbar-width: thin; /* Makes scrollbar thinner in Firefox */
    scrollbar-color: rgb(69, 74, 91) rgba(26, 27, 33, 0.2); /* Thumb color and track color */
}

/* Webkit-based browsers (Chrome, Edge, Safari, and Opera) */
.globalcontainer__group::-webkit-scrollbar {
    width: 5px; /* Scrollbar width */
}

.globalcontainer__group::-webkit-scrollbar-button {
    display: none; /* Remove arrows */
}

.globalcontainer__group::-webkit-scrollbar-track {
    background: rgba(26, 27, 33, 0.2); /* Scrollbar track color */
}

.globalcontainer__group::-webkit-scrollbar-thumb {
    background-color: rgb(69, 74, 91); /* Scrollbar thumb color */
    border-radius: 5px; /* Rounded edges */
    border: 2px solid transparent; /* Adds spacing around thumb */
}

/* Optional Hover Effect */
.globalcontainer__group::-webkit-scrollbar-thumb:hover {
    background-color: rgba(34, 36, 44, 0.8); /* Darker on hover */
}


  .calendar__cell__selects__container {
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For Internet Explorer and Edge */
}

.calendar__cell__selects__container::-webkit-scrollbar {
    display: none; /* For Chrome, Safari, and Opera */
}


.container--notfirst{
    display: none;
}

.container--notfirst.shown{
    display: block !important;
}

.autre_values {
    max-width: 50px;
    background: white;
    border: 1px solid white;
    border-radius: 15px;
    transform: translateY(20%);
    margin-left: 20px;
    text-align: center;
    color: black !important; /* Text color */
    caret-color: black; /* Caret color (blinking cursor) */
}


.hidecontainer{
    display: none;
}

.hide{
    display: none !important;
}

.morehidden{
    display: none;
}

.globaldate_container_container{
    display: flex;
    margin-left: 9px;
}
.globaldata_container{
    display: flex;
    padding: 1rem;
    border-radius: 25px;
    background: #292a33;
    width: fit-content;
    margin-right: .5rem;
}

.globaldata_container h2{
    font-size: 1rem;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    padding-bottom: 0;
}

.raison_container{
    display: flex;;
}

.raison_container select{
    margin-top: 0 !important;
}

.addition_option_container_el{
    display: flex;
}

.valide{
    box-shadow: inset 0 0 2px #0f0;
    pointer-events: none;
    background: #22242c73;
}

.valide select{
    opacity: .5;
}

.page-template-superadmin .valide{
    pointer-events: all;
}

.page-template-superadmin .valide select{
    opacity: 1;
}

.select2-selection__rendered{
    max-width: 200px;
    height: 20px;
    overflow: hidden;
    display: block;
    transform: translateY(calc(-100% - 4px));
    margin-left: 4px;
    font-weight: 400;
    position: absolute;
}

.select2-results__options{
    background-color: #1e1e25;
    border: 1px solid white;
    border-bottom: 1px solid black;
    max-height: 30vh;
    overflow-y: scroll;
}
.select2-results__options li{
    cursor: pointer;
    font-size: 1rem;
    font-weight: 400;
    padding: 4px 10px;
}

.select2-results__options li:hover{
    background: #3399FF;
}

.select2-selection__clear{
    margin-right: 10px;
}

.select2-selection__placeholder::after{
    content: " ";
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid white;
    margin-left: 10px;
    transform: translateY(-3px);
}

.select2-selection__placeholder::before{
    position: absolute;
    content: " ";
    display: block;
    width: fit-content;
    height: fit-content;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #22242c;
    transform: translateY(160%);
    right: 0;
    z-index: 1;
}

.closecontainer{
    display: none;
}

.pushanimation{
    transition: all 0.2s ease;
}
.pushanimation.clicked{
    animation: bounce 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: .2s ease-in-out;
}

.alert-box{
    display: none;
}

@keyframes bounce {
    0% { transform: scale(1); }
    50% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

#wpadminbar{
    background: #22242c;
}

@media (max-width: 800px) {
    html{
        height: 100% !important;
        background: #22242c !important;
    }
    .page-template-debug, .page-template-superadmin{
        height: 100% !important;
        background: linear-gradient(15deg, rgba(221, 153, 51, 0.16) 0%, rgba(34, 36, 44, 1) 24%) !important;
    }
    .raison_container{
        display: block;
    }
    .raison_container label{
        display: block;
        margin-bottom: 8px;
    }
    .addition_option_container_el{
        display: grid;
        grid-template-columns: repeat(5, 1fr);
    }
    .addition_option_container_el select{
        grid-area: 1 / 1 / 2 / 4;
    }
    .addition_option_container_el .plusbouton{
        max-width: 50px;
        margin-bottom: 1rem;
    }
    .addition_option_container_el input{
        display: block;
        max-width: 50px;
        margin-right: 1rem;
        margin-bottom: 1rem;
        margin-left: 1rem;
        border-radius: 8px;
        text-align: center;
        grid-area: 1 / 4 / 2 / 5;
    }

    .calendar__container {
        width: 90%;
    }
    .months_selection_container {
        width: 90%;
    }
    #month_selector{
        margin-bottom: 0;
        text-align: center;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        text-align: center;
        text-align-last: center;
        box-sizing: border-box;
        font-weight: 200;
    }
    .calendar__day{
        font-weight: 200;
    }
    .globaldata_container h2:first-child{
        font-weight: 400;
    }
    .globaldata_container h2:last-child{
        font-style: italic;
    }
    #save__calendar{
        padding: 1rem;
        bottom: 3rem;
        left: inherit;
        right: 5%;
        transform: none;
        margin-left: 0;
        margin-top: 0;
        position: fixed;
        z-index: 1;
    }
    #open-absence-range-form{
        padding: 1rem;
        bottom: 3rem;
        right: inherit;
        left: 5%;
        transform: none;
        margin-left: 0;
        margin-top: 0;
        position: fixed;
        z-index: 1;
    }
    #save__calendar svg{
        display: block;
    }
    #save__calendar .button-text{
        display: none;
    }
    .page-template-debug, .page-template-superadmin{
        background: rgb(34,36,44);  
        overflow: hidden;
        overflow: -moz-hidden-unscrollable;
        padding-top: 1rem;
    }
    .globaldate_container_container{
        margin-left: 0;
        display: block;
    }
    .globaldata_container:nth-child(2){
        margin-top: 10px;
    }

    .globaldata_container h2{
        font-size: .9rem;
    }
    .calendar__cell__selects__container{
        left: 0;
        height: 100svh;
        max-height: 100svh;
        background: rgba(26,27,33,1);
        z-index: 11111111111111111111;
        width: 100%;
        top: 0;
        padding: 2rem;
        padding-top: 1rem;
        padding-bottom: 2.5rem;
        border-radius: 0 0 60px 60px;
    }
    .calendar__cell__selects__container.hidden{
        display: none;
    }
    .globalcontainer__group{
        display: block;
    }
    .calendar__cell__selects__container--chantier, .calendar__cell__selects__container--tache, .value_selection__container, .calendar__cell__selects__container--value__container{
        margin-left: 0;
        width: 100%;
        text-align: center;
        flex: 0 0 100%;
        scroll-snap-align: start;
    }

    .select2-selection__rendered {
        width: 100%; /* Set the width relative to the parent container */
        left: 0;
        margin-left: 0;
        max-width: 100%; /* Ensure it doesn’t overflow the container */
        box-sizing: border-box; /* Include padding in width calculation */
    }

    .container--notfirst.shown{
        flex: 0 0 100%;
        scroll-snap-align: start;
    }

    .select2-selection__placeholder::after{
        display: none;
    }

    .select2-selection__placeholder::before{
        display: none;
    }

    .select2-container{
        z-index: 11111111111111111111;
        transform: translateX(-50%);
    }
    
    .globalcontainer__group{
        max-height: fit-content;
        padding: 0;
        overflow-y: hidden;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .globalcontainer__group::-webkit-scrollbar {
        display: none;
      }

    .calendar__cell__selects__container--value__container--container, .calendar__cell__selects__container--chantier__container {
        display: flex;
    }

    .calendar__cell__selects__container select{
        width: 100%;
        text-align: center;
        max-width: 100% !important;
        appearance: none;
        -moz-appearance: none;
        -webkit-appearance: none;
        text-align: center; /* Center text */
        text-align-last: center; /* Center the selected option text */      
    }

    .calendar__cell__selects__horaires__new{
        height: 60px;
        width: 60px;
        padding: 0;
        margin: 0;
        border-radius: 50%;
        border: none;
        background: #fed47e;
    }

    .svgcontainer svg{
        display: none;
    }

    .svgcontainer{
        padding: 0;
        transform: none;
    }

    .calendar__cell__selects__horaires__new h3{
        display: none;
    }

    .containermore{
        display: flex;
        justify-content: center;
        margin-top: 2rem;
    }

    .ttv_commentaires{
        width: fit-content;
        min-width: auto;
    }
    .absence_comments_container{
        width: inherit;
    }

    .commentaire_box {
        height: 60px;
        width: 60px;
        border-radius: 50%;
        border: none;
        text-indent: -9999px; /* Push the text off-screen */
        overflow: hidden;    /* Prevent the content from affecting layout */
        white-space: nowrap; /* Ensure no wrapping of text */   
        margin-left: 1rem; 
    }

    .commentaire_box:hover{
        background: #22242c;
    }

    .container--notfirst{
        display: none;
        margin-left: 10px;
    }

    .container--notfirst.shown:last-of-type{
        margin-bottom: 0;
    }

    .calendar__cell__selects__container.hidden{
        transform: translateY(-100%);
        transition: .5s ease-in-out;
        display: block;
    }

    .calendar__cell__selects__container{
        transform: none;
        transition: .5s ease-in-out;
    }

    .calendar__cell__selects__container{
        overflow: hidden;
    }

    .carousel-indicators {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-bottom: 15px;
    }
    
    .bullet {
        width: 10px;
        height: 10px;
        background-color: lightgray;
        border-radius: 50%;
        transition: background-color 0.3s;
    }
    
    .bullet.active {
        background-color: #fed47e;
    }

    .closecontainer{
        display: block;
        position: absolute;
        top: 2.9rem;
        width: 100%;
        left: 2rem;
        width: 60px;
    }   
    .closecontainer svg{
        max-width: 30px;
        max-height: 25px;
        margin-left: 0;
        transform: rotate(45deg);
    }
    .moreoptions_container{
        position: fixed;
        background: #eae5e0;
        color: black;
        font-weight: 400;
        left: 0;
        bottom: 0;
        width: 100%;
        padding: 1rem 1rem;
        border-radius: 0; 
        border-top-left-radius: 60px;
        border-top-right-radius: 60px;
        padding-top: .5rem;
        transition: .5s ease-in-out;
        opacity: 1;
    }

    button, .absence_comments_container{
        touch-action: manipulation;
    }
    .calendar__cell__selects__container--title{
        text-align: center;
        font-size: 1.4rem;
        padding: 2rem 0;
        padding-left: 2rem;
    }

    .calendar__cell__selects__container--additional-options{
        padding: 0;
        border: 0;
        margin: 0;
    }
    
    .opt_res, .moreoptions_container select {
        display: block;
        width: 100%;
        padding: 1rem;
        border-radius: 25px;
        background: #f5f4f3;
        text-align: center;
        margin-left: 0 !important;
        margin-bottom: .5rem;
    }
    .opt_res:nth-child(2){
        margin-bottom: 1rem;
    }

    .moreoptions_container select{
        color: black;
        margin-bottom: 1rem;
    }
    .ttv_label{
        margin: 0;
        color: white;
        padding: 1rem;
    }
    .moreoptions_container_small{
        display: block;
    }
    .comment_input{
        margin: 0;
        margin-top: 1rem;
        width: 100%;
        min-height: 6rem;
    }

    .opt_med{
        text-align: center;
        margin-bottom: 1rem;
    }

    .opt_med input{
        max-width: 2rem;
        text-align: center;
    }
    .globalcontainer{
        max-height: 70svh;
        overflow-y: scroll;
    }
    .commentaire_box_plus{
        margin: 0;
        margin-left: 50%;
        padding: 0;
        transform: translateX(-50%);
        height: 30px;
        width: 30px;
        margin-bottom: 1rem;
        display: block;
    }
    .morehidden{
        display: block;
        transform: translateY(200%);
        opacity: 0;
    }
    .alert-box{
        width: 80%;
    }
    .svgcontainer svg path{
        stroke: #1a1b21;
    }

    .svgcontainer svg{
        display: block;
        margin-left: 50%;
        transform: translate(-50%, -50%) scale(1.5);
        margin-top: 50%;
    }

    .commentaire_box{
        position: relative;
    }
    .commentaire_box svg{
        display: block;
        position: absolute;
        left: 50%;
        top: 50%;
        height: 50%;
        width: 50%;
        transform: translate(-50%, -50%);
    }
    .connect-btn{
        width: 80% !important;
        line-height: 1.5;
    }
    #wp-admin-bar-custom-horaires-link{
        display: block !important;
    }
    #wp-admin-bar-site-name > a.ab-item::before{
        content: "" !important;
        height: 30px;
        background-image: url(../images/svg/dash2.svg) !important;
        background-size: 80%;
        background-position: center;
        background-repeat: no-repeat;
        width: 30px !important;
        margin-left: 1rem;
    }
    #wp-admin-bar-my-account > a.ab-item::before{
        content: "" !important;
        height: 30px;
        background-image: url(../images/svg/user4.svg) !important;
        background-size: 90%;
        background-position: center;
        background-repeat: no-repeat;
        width: 30px !important;
        margin-right: 1rem;
    }

    #wp-admin-bar-custom-horaires-link{
        top: 7px;
        margin-left: 1rem !important;
    }
    #wp-admin-bar-custom-horaires-link a{
        text-indent: -9999px;
        white-space: nowrap; /* Prevents text wrapping */
        overflow: hidden;
        position: relative;
    }
    #wp-admin-bar-custom-horaires-link > a.ab-item::before{
        content: "" !important;
        height: 30px;
        background-image: url(../images/svg/clock.svg) !important;
        background-size: 90%;
        background-position: center;
        background-repeat: no-repeat;
        width: 30px !important;
    }
    #wp-admin-bar-custom-vehicules-link{
        display: block !important;
    }
    #wp-admin-bar-custom-vehicules-link{
        top: 7px;
        margin-left: 1rem !important;
    }
    #wp-admin-bar-custom-vehicules-link a{
        text-indent: -9999px;
        white-space: nowrap; /* Prevents text wrapping */
        overflow: hidden;
        position: relative;
    }
    #wp-admin-bar-custom-vehicules-link > a.ab-item::before{
        content: "" !important;
        height: 35px;
        background-image: url(../images/svg/car.svg) !important;
        background-size: 90%;
        background-position: center;
        background-repeat: no-repeat;
        width: 35px !important;
    }

    .loadercontainer{
        width: 70%;
    }

    .calendar__cell__selects__container.hidden .commentaire_box {
        pointer-events: none; /* Disable interaction when the container is hidden */
    }
    .calendar__cell__selects__container.swiping .commentaire_box {
        pointer-events: none; /* Disable clicks during swipe */
    }
    
    
}

@media (max-width: 374px) {
    :root{
        font-size: 12px;
    }
    .closecontainer svg{
        transform: translateY(-10px) rotate(45deg);
    }
    .calendar__cell__selects__container{
        padding-top: .5rem;
    }
    .calendar__cell__selects__horaires__new, .commentaire_box{
        height: 40px;
        width: 40px;
    }
}

@media (max-height: 600px){
    .calendar__cell__selects__container, .moreoptions_container, .page-template-debug, .page-template-superadmin{
        overflow-y: auto;
    }
}