
body{
    margin-left: 10%;
    margin-right:10%;
}

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

.calendar-container {
    display: inline-block;
    margin-right: auto;
    margin-left: 10%;
    text-align: center; 
}

.calendar-table {
    border-collapse: collapse;
}

.calendar-table td {
    border: 1px solid #ccc;
    padding: 5px;
    text-align: center;
}
.calendar-header {
    
    text-align: center; 
    font-weight: bold;
    color:#1010af;
    text-shadow: #bb1010;
}
.month-year {
    text-align: center;
    margin-top: 10px;
}
.letter-white {
    color: #fff; 
}
.orange-reserve {
    background-color: orange;
    color: white;
    font-weight: bold;
}
.reserve {
    background-color:rgba(128, 0, 0, 0.8); 
    color: white; 
    font-weight: bold;
    
}
.delete-form input[type="submit"]{
    margin-top: 10px;
    background-color: #45a049;
    color: white;
    width: 150px;
}

#page-container {
    position: relative;
}

.modal-container {
    background-color: rgba(114, 113, 113, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    opacity: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-container.show {
    pointer-events: auto;
    opacity: 1;
}

#modal {
    background-color: white; 
    padding: 20px;
}


#modal h1, p {
   
    font-size: 16px;
    font-weight: bold;
    line-height: 1.3;
}
.cal-backoffice{
    font-size: 1.6rem;
    color: rgb(4, 92, 4);
    font-weight: bold;
    margin-top: 50px;
    margin-bottom: 40px;
    margin-left: 20%;
}
.connexion{
    font-size: 1.6rem;
    color: rgb(4, 92, 4);
    font-weight: bold;
    margin-top: 50px;
    margin-bottom: 40px;
    margin-left: 40%;
}
h1 {
    font-size: 1.6rem;
    color: rgb(4, 92, 4);
    font-weight: bold;
    margin-top: 50px;
    margin-bottom: 40px;
    margin-left: 30%;
    align-items: center;
    justify-content: center;
}
h2 {
    font-size: 1.6rem;
    color: rgb(0, 110, 255);
    font-weight: bold;
    margin-left: 20%;
    
}
h3 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-left: 20%;
}

hr {
    border-width: 2px; 
}

.btn {
    color: #000;
    font-weight: 700;
}
.btn-warning:hover {
    color: #fff;
}
.heading {
    margin-left: 10%;
    font-weight: 700;
    font-size: large;
}
.wide-column {
    white-space: nowrap;

}

.table td, .table th {
    border-left: 2px solid #fff;
    border-right: 2px solid #fff;
    border-top:  1px solid rgb(104, 126, 114);
}

.table {
    border-collapse: collapse; 
}
.table>:not(caption)>*>* {
        background-color: initial; 
    
}


.table .custom-footer>tr>td {
    background-color: rgb(174, 197, 185);
    
}


.dates > td:not(.wide-column) {
    background-color:#4b4b4b;
    color: #fff;
    font-weight: 600;
}


tbody tr:nth-child(2n) {
    background-color:  rgb(213, 224, 219);
}

.border-top-hidden{
    border-top: hidden;
}
.hidden {
    display: none; 
}



form {
    max-width: 400px; 
    margin: auto; 
}

label {
    display: block; 
    margin-bottom: 8px; 
}

input[type="date"] {
    width: 100%; 
    padding: 8px; 
    margin-bottom: 16px; 
}

button {
    
    color: rgb(10, 9, 9); 
    padding: 10px; 
    
    cursor: pointer;
}


button:hover {
    background-color: #45a049;
}

#monthDisplay {
    display: inline-block; 
    margin: 0px 20px; 
}

.previous_next_button-backform {
    display: inline-block;
}



  .jour-selected, .jour-range {
    background-color: #FFD700; /* Or any color you like */
}
.jour-fin {
    background-color: #FFA500; /* Different color for the end date */
}

.block_central {
    display: flex;
    justify-content: space-between;
    max-width: 500px;
    margin: auto;
    margin-top:50px;
    margin-bottom: 50px;
}

.selected {
    background-color: lightblue !important;
}

.highlight {
    background-color: lightgreen !important;
}

.span-occuped {
    background-color: #dc3545  !important;
   
    border-radius: 5px;
    display: flex;
    /* width: fit-content; */
    align-items: center;
    /* flex-direction: row; */
    justify-content: center;
    align-content: center;
    /* flex-wrap: wrap;*/
}


.span-waiting {

    background-color: #ffc107 !important;
    /* padding: 10px; */
    border-radius: 5px;
   
    display: flex;
    /* width: fit-content; */
    align-items: center;
    /* flex-direction: row; */
    justify-content: center;
    align-content: center;
    /* flex-wrap: wrap;*/
}

.span-cleaning {

    background-color: #de07ff !important;
    /* padding: 10px; */
    border-radius: 5px;
   
    display: flex;
    /* width: fit-content; */
    align-items: center;
    /* flex-direction: row; */
    justify-content: center;
    align-content: center;
    /* flex-wrap: wrap;*/
}

.span-closed {

    background-color: #000000 !important;
    color:white;
    /* padding: 10px; */
    border-radius: 5px;
   
    display: flex;
    /* width: fit-content; */
    align-items: center;
    /* flex-direction: row; */
    justify-content: center;
    align-content: center;
}
.sidebar {
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    
    z-index: 1;
    width: 250px;
    background-color: #f8f9fa;
    padding-top: 20px;
    overflow-x: hidden;
    border-right: 1px solid #dee2e6;
   
}

.main-content {
    margin-left: 160px;
    padding: 20px;
    
}
.callendar {
    margin-right: 260px;
}
.sidebar .section {
    padding: 15px;
    border-bottom: 1px solid #dee2e6;
}

.sidebar .section:last-child {
    border-bottom: none;
}

.booking-block {
    background-color: #f9f9f9; /* Gris très clair */
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Ombre légère */
    padding: 20px;
    margin-top: 20px;
}


.vertical-sidebar {
    height: 100%;
    position: fixed;
    top:0;
    left: 0;
    z-index: 1;
    width: 200px;
    background-color: #343a40; /* Couleur de fond sombre */
    padding-top: 20px;
    overflow-x: hidden;
    border-right: 1px solid #dee2e6;
    transition: width 0.3s; /* Animation pour le changement de largeur */
}

.vertical-sidebar a {
    color: #ffffff;
    display: block;
    padding: 10px 20px;
    text-decoration: none;
}

.vertical-sidebar a:hover {
    background-color: #575d63;
}

.vertical-sidebar.collapsed {
    width: 60px; /* Largeur réduite de la barre latérale */
}

.vertical-sidebar .toggle-btn {
  
    top: 10px;
    right: -30px;
    background-color: #343a40;
    color: #ffffff;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    transition: right 0.3s; /* Animation pour le changement de position */
}

.vertical-sidebar.collapsed .toggle-btn {
    right: -30px; /* Position du bouton quand la barre est réduite */
}

.vertical-sidebar.collapsed .span-toggle {
   display: none; /* Position du bouton quand la barre est réduite */
}
.vertical-sidebar.collapsed a {
    text-align: center;
    padding: 10px 0;
}


.sidebar-right {
    height: 100%;
    position: fixed;
    right: 0;
    z-index: 1;
    width: 250px;
    /*background-color: #f8f9fa; /* Couleur de fond claire , remplacer par Gabriel par un effet de verre*/
    
    overflow-x: hidden;
    border-left: 1px solid #dee2e6;
    max-height: fit-content;
    transition: width 0.3s, opacity 0.3s; /* Animation pour le changement de largeur et l'opacité */
    background: rgba(255,255,255,.4); /* Effet de verre pour voir le footer par transparence */
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
}

.sidebar-right.collapsed {
    width: 60px;
}
.sidebar-right .content-sidebar-right {
    transition: opacity 0.3s; /* Animation pour l'opacité */
    /*overflow-y: scroll; */
    margin-bottom: 200px;
}

.sidebar-right.collapsed .content-sidebar-right {
    opacity: 0; /* Rendre le contenu invisible */
}
.sidebar-right .toggle-btn {
  
    top: 10px;
    left: -30px;
    background-color: #f8f9fa;
    color: #343a40;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    transition: left 0.3s;
}

.sidebar-right.collapsed .toggle-btn {
    left: -30px;
}

.sidebar-right a {
    color: #343a40;
    display: block;
    padding: 10px 20px;
    text-decoration: none;
}

.sidebar-right a:hover {
    background-color: #e9ecef;
}

.section {
    padding: 1em;
}

.legend-item {
    margin-bottom: 15px; /* Ajustez la valeur selon vos besoins */
}


.create-account {
    text-align: center;
    margin-top: 20px;
    padding: 1em;
    background-color: #f8f9fa;
    border-radius: 25px;
    width: 500px;
    margin: auto;
    margin-top: 100px;
}

.create-account h2 {
    color: #36b9c1; /* Utilisation de la couleur bleue de la charte graphique */
    margin-bottom: 10px;
}

.create-account p {
    color: #4b4b4b; /* Couleur gris foncé */
    margin-bottom: 20px;
}

.create-account a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ef8d0a; /* Couleur orange de la charte graphique */
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.create-account a:hover {
    background-color: #d07a09; /* Couleur orange foncée pour le hover */
}

.content {
   /* padding-top: 100px;*/
   margin-left:50px;
}

.main-content.collapsedleft {

    margin-left:50px;
}

.main-content.callendar.collapsedright {

    margin-right:100px;
}

.main-content.nosidebar {

    margin-left:0px;
}
h1 {
    margin-left: 0px !important;
}

.noMargin {
    margin-top: 0px !important;
}

.cel-day  {
   /* background-color: red !important;
    color:red;*/
    padding: 5px !important;
    margin: 0px !important;
    align-items: center !important;
    vertical-align: center !important;
    min-width: 80px !important;
    height: 80px !important;
  
}
.cel-day div {
    width: 100% !important;
    height: 35px !important;
    align-items: center;
    align-self: center !important;
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    
}
.price {
    align-items: center !important;
    align-self: center !important;
    display: flex !important;
    justify-content: center !important;
    height: 100% !important;
    width: 100% !important;
    flex-wrap: wrap!important;
    align-content: center!important;
    flex-direction: column!important;
    justify-content: center!important;
}
.O {
    background-color: red !important;
}

.R {
    background-color: yellow !important;

}

.F {
    
    background-color: black !important;
}

span .span-closed {
    background-color: #000000 !important;
    color:white;
    /* padding: 10px; */
    border-radius: 5px;
   
    width: 55px;
}
.button-span {
    display: flex;
    justify-content: center;
    align-items: center;
    height:30px;
    width: 30px;
    margin: 5px;
}

#daysOfWeekIndex th, td {
    text-align: center;
}