.grey {
    background-color: #dddddd;
}
.red {
    opacity: 0.4;
}
.red-icon {
    position: absolute;
    top: -5px;
    right: 5px;
    background: red;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 100%;
}
.green-icon {
    position: absolute;
    top: -5px;
    right: 5px;
    background: #4caf50;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 100%;
}
.green-icon-hidden {
    background: none !important;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: url('/wp-content/themes/concilio/img/lg.ajax-spinner-gif.gif') 50% 50% no-repeat;
}
body.loading .modal {
    overflow: hidden;
}
body.loading .modal {
    display: block;
}
.control-label {
    display: -moz-inline-stack;
    display: inline-block;
    line-height: 1.3;
    clear: both;
    margin: 0 !important;
    font-family: inherit;
    text-transform: uppercase;
    color: #000062;
    font-size: 1em;
    font-weight: normal;
}
.duration {
    display: -moz-inline-stack;
    display: inline-block;
    line-height: 1.3;
    clear: both;
    margin: 0 !important;
    font-family: inherit;
    text-transform: uppercase;
    color: #000062;
    font-size: 1em;
    font-weight: normal;
}
.slot-hour {
    font-size: 1.0em;
    cursor: pointer;
}
.time-laps {
    width: 100%;
}
.box-slot {
    margin-bottom: 5px;
}
h3 {
    text-transform: uppercase;
    color: #002a55;
}
h4 {
    text-transform: uppercase;
    color: #002a55;
}
.whatever {
    background-color: #ededed;
    display: inline-block;
    width: 100%;
    height: 100px;
    border-radius: 14px;
}
.whatever-disabled {
    cursor: not-allowed;
}
.whatever:not(.whatever-disabled):hover {
    background-color: #be0087;
    color: white;
    opacity: 0.80;
    cursor: pointer;
}
#checkboxes input[type=checkbox] {
    display: none;
}
#checkboxes input[type=checkbox]:checked+.whatever {
    background-color: #be0087;
    color: white;
}
.btn-trash-appointments {
    background-color: #f9f9f9;
    color: #be0087;
}
.btn-appointments {
    color: #ffffff !important;
}
.btn-appointments:hover {
    color: #ffb600 !important;
}
#label-time-zone {
    color: rgb(238, 18, 8);
    font-weight: bold;
    text-align: center;
    margin: 0 auto;
    padding-left: 0;
}
.preferences-item {
    background-color: #fafafa;
}
.slot-hour .appointments-grid-date {
    position: absolute;
    left: 30px;
    font-size: 14px;
    font-weight: bold;
    line-height: normal;
    padding: 10px;
}
input.goto-page {
    background-color: rgb(0, 0, 98);
    color: rgb(255, 182, 0);
    transition: background-color 0.3s ease;
    display: block;
    white-space: normal;
    text-align: center;
    font-weight: 700;
}
input.goto-page:disabled {
    background-color: #ededed;
    color: rgb(0, 0, 98);
    cursor: not-allowed;
    opacity: 0.7;
}
.appointments-grid-date {
    visibility: hidden;
    transition: visibility 0.3s ease;
}
.appointments-grid-date-fix {
    margin-top: 5px;
    padding: 5px;
}
.appointments-grid-date.visible {
    visibility: visible;
}
.time-slot input {
    font-size: 14px;
    text-align: center;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
}
/* .sticky-date {
    position: fixed;
    top: 130px;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 1000;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: none;
} */
.white-display-date-v4 {
    background-color: white;
}
.display-date-v4 {
    position: sticky;
    /* Rend l'élément sticky */
    top: 130px;
    /* Place sous le header sticky */
    z-index: 1000;
    /* Assurez-vous qu'il reste au-dessus des autres éléments */
    /* background-color: white; */
    /* Ajoutez un fond pour éviter que le contenu ne transparaisse */
    padding: 10px;
    /* Optionnel : pour espacer un peu le contenu */
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
    /* Ajout d'une ombre légère */
}
/* Styles communs pour les boutons */
.goto-page input {
    /* display: flex;
    justify-content: center;
    align-items: center; */
    width: 40px;
    /* Bouton carré */
    height: 40px;
    font-size: 20px;
    /* Taille des flèches */
    font-weight: bold;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    /* Cercle */
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    margin: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* .goto-page-previous input {
    position: absolute;
    left: 20px;
}
.goto-page-next input {
    position: absolute;
    right: 20px;
} */
/* Bouton précédent */
.goto-page-previous input {
    background-color: #6c757d;
    /* Gris foncé */
}
.goto-page-previous input:hover {
    background-color: #5a6268;
    transform: scale(1.1);
    /* Zoom léger */
}
/* Bouton suivant */
.goto-page-next input {
    background-color: #28a745;
    /* Vert */
}
.goto-page-next input:hover {
    background-color: #218838;
    transform: scale(1.1);
    /* Zoom léger */
}
/* Bouton désactivé */
.goto-page input[disabled] {
    background-color: #cccccc;
    color: #999999;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
/* Responsive - Ajustement des tailles sur petits écrans */
@media (max-width: 768px) {
    .goto-page input {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}
.eventless-display-date-v4 {
    pointer-events: none;
}
.row.display-date-v4 {
    display: flex;
    align-items: center;
    /* Centre verticalement */
    justify-content: space-between;
    /* Maintient les positions gauche-droite */
    gap: 10px;
    /* Ajoute un espace entre les éléments */
}
.row.display-date-v4 h4 {
    margin: 0;
    text-align: center;
    flex: 0 1 auto;
    /* Empêche le h3 de s'étirer au-delà de son contenu */
    white-space: nowrap;
    /* Empêche le texte de passer à la ligne */
}
.time-slot.goto-page {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 50px;
    /* Garde un espace fixe même si le bouton est masqué */
}
/* Cacher les divs avec display none */
.time-slot.goto-page[style*="display: none"] {
    display: none;
    /* Rend invisible sans affecter les autres éléments */
}