body, html {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #eee5d6;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* Supprime ces règles du body : */
body {
    /* display: flex; */
    /* justify-content: center; */
    /* align-items: center; */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

 
  header {
    height: 80%;
    text-align: center;
    width: 100%; /* Prend toute la largeur disponible */
    padding: 0; /* Retire le padding inutile */
 /*   margin: 0 auto;  Centre le menu */
 }
        
  
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

thead {
    background-color: #cbd5d0;
    color: white;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    font-weight: bold;
}

tr:nth-child(even) {
    background-color: rgba(249, 249, 249, 0.7);
}

/* Alternance des couleurs de ligne */
table tbody tr:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.9); /* Fond blanc légèrement transparent pour les lignes impaires */
}

table tbody tr:nth-child(even) {
    background-color: rgba(230, 230, 230, 0.7); /* Gris clair pour les lignes paires */
}
tr:hover {
    background-color: rgba(241, 241, 241, 0.7);
}

a {
    color: #007BFF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

form {
    display: inline-block;
}

button {
    padding: 8px 12px;
    background-color: #cbd5d0;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 14px;
    cursor: pointer;
}

button:hover {
    background-color: #808080;
}

.inline-container {
    display: flex;             /* Active le mode flex */
    align-items: center;       /* Alignement vertical (optionnel) */
    flex-wrap: nowrap;         /* Empêche le retour à la ligne des enfants */
    gap: 8px;                  /* Espacement entre les éléments (optionnel) */
}

.whatsapp {
    background-color: #056e03;
    color: #ffffff;
    font-weight: 750;
    padding: 3px 3px;
    border-radius: 5px;
    margin-right: 1px;
}

.icon-button {
    display: inline-block;
    padding: 13px 13px; /* Ajustez le padding selon la taille de votre bouton */
    background-color: transparent; 
    color: white; /* Couleur du texte */
    border: none; /* Supprime la bordure par défaut */
    border-radius: 5px; /* Coins arrondis */
    font-size: 16px; /* Taille du texte */
    cursor: pointer; /* Curseur de souris au survol */
    background-repeat: no-repeat; /* Empêche la répétition de l'image de fond */
    background-position: center; /* Position de l'image de fond */
    padding-left: 15px; /* Ajustez le padding gauche pour faire de la place à l'icône */
    background-size: 25px 25px; /* Taille de l'image de fond */
}

button.pregnant:hover {
    background-color: #fd97bb;
}

button.vege:hover {
    background-color: #87fa85;
}

button.allergic:hover {
    background-color: #fb8b8b;
    font-weight: 750;
}

button.comment:hover {
    background-color: #808080;
    font-weight: 750;
}
button.pork_free:hover {
    background-color: #e8d580;
}

button.generer_whatsapp:hover {
    background-color: #4eb9ff;
}

button.send_whatsapp:hover {
	 background-color: #054835;
	 font-weight: 750;
	  color: white; /* Couleur du texte */
}

button.erase:hover {
	 background-color: #ece9e9;
}

.min-width-250 {
    min-width: 230px;
}

.min-width-110 {
    min-width: 110px;
}

.min-width-130 {
    min-width: 130px;
}

.max-width-100 {
    max-width: 100px;
}

.max-width-20 {
    max-width: 20px;
}

.max-width-70 {
    max-width: 70px;
}

.min-width-70{
    min-width: 70px;
}

.min-width-50{
    min-width: 50px;
}
.max-width-50{
    max-width: 50px;
}

  .page-container {
 /*   border: 2px solid red;*/
	background: rgba(255, 255, 255, 0.9);
	border-radius: 10px;
	 /*width: 100vw; *//* ou 100% si le parent le permet */
    height: 95vh; /* Optionnel : pour occuper toute la hauteur de la fenêtre */
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box; /* Inclut le padding/border dans la largeur */
	width: 95%; /* 95% de la largeur de la page */
	max-width: 1500px;
	/* Largeur maximale pour éviter qu'il ne devienne trop large sur grands écrans */
	margin: 0 auto ;
	padding: 30px 60px;
	text-align: center;
	display: flex;
	flex-direction: column; /* Empile les enfants verticalement */
	align-items: center; /* Centre les enfants horizontalement */
}


.header-container,
.table-container,
.footer-container {
    width: 100%; /* Largeur maximale */
    box-sizing: border-box; /* Évite les débordements dus aux padding/border */
}

.table-container {
    width: 100%; /* Largeur explicite */
    flex: 1; /* Prend l'espace restant */
    overflow-y: auto;
    padding: 10px;
    max-height: calc(100% - 120px); /* Ajuste selon tes besoins */
    min-height: calc(100% - 120px);
    border: 1px solid black;
    margin: 0; /* Supprime les marges par défaut */
}

.date{
	font-family: Arial, sans-serif;
	font-size: 12px;
}


.telepone{
	font-family: Arial, sans-serif;
	font-size: 13px;
}

.tg-display {
	display: inline-block;
    padding: 5px 5px; /* Ajustez le padding selon la taille de votre bouton */
    line-height: 1;
    border-radius: 4px;
    color: #000000;
    font-size: 12px;
     border: 1px solid #000;
   
  } 

/*shou sugi ban*/                   
.CAB-4 {
	background-color: #41A6F6;	
    color: #ffffff;
} 

/*CAB SPA 2*/                    
.CAB-2 {
	background-color: #EF7D57;
 	border: none;
    color: #ffffff;
}     

/*CAB SPA 1*/                    
.CAB-1 {
    background-color: #B13E53;
    border: none;
    color: #ffffff;
}       
                 
/*TROPICABANA*/                    
.CAB-3 {
    background-color: #38B764;
    border: none;
    color: #ffffff;
}                  

/*ORAMA*/                    
.CAB-6 {
    background-color: #c45316;
    border: none;
    color: #ffffff;
}      
                  
 .hidden-div {
           display:none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: white;
            padding: 20px;
            border: 1px solid #ccc;
            z-index: 1000;
        }
        
        
   .action-dropdown {
        position: relative;
        display: inline-block;
    }
    .dropdown-toggle {
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5em;
        font-size: 1.2em;
        color: #555;
    }
    .dropdown-menu {
        display: none;
        position: absolute;
        right: 0;
        background: white;
        border-radius: 4px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        min-width: 180px;
        list-style: none;
        padding: 0;
        margin: 0;
        z-index: 1000;
        overflow: hidden;
    }
    .dropdown-menu li a {
        display: block;
        padding: 8px 12px;
        color: #333;
        text-decoration: none;
        transition: background-color 0.2s;
    }
    .dropdown-menu li a:hover {
        background-color: #f0f0f0;
    }
    .dropdown-menu li i {
        margin-right: 8px;
        color: #666;
    }
    .dropdown-menu li a:hover i {
        color: #000;
    }
    .back, .next {
    padding: 5px 10px;
    margin: 0 10px;
    background-color: #cbd5d0;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
}

.back:hover, .next:hover {
    background-color: #d3d7d6;
}

.date-input {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center;
    width: 120px;
    cursor: pointer;
}
.tag-cabane {
	padding: 2px;
	max-width: 91px;
	min-width: 91px;
}

.tg_osb{
	display: flex; /* Utilise Flexbox pour centrer */
    align-items: center; /* Centre verticalement */
    justify-content: center; /* Centre horizontalement */
	display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    margin: 0px; /* Remplace le margin sur le span */
}

.employee{
    border: 1px solid black;
    background-color: white;
    color: black; /* Changé pour visibilité (le blanc sur fond blanc n'est pas visible) */
    font-size: 10px;
    font-weight: bold;
    }

.employee a, .task a{
    text-decoration: none;
    color: inherit; /* Hérite de la couleur du parent */
    display: inline-block; /* Optionnel, mais utile pour le style du lien */
}

.task{
    border: 1px solid black;
    background-color: white;
    color: black; /* Changé pour visibilité (le blanc sur fond blanc n'est pas visible) */
    font-size: 10px;
}

    
.header-date-picker{
  border: 1px solid black;
    background-color:  rgba(230, 230, 230, 0.7);
    border-radius: 5px;
    flex: 1; /* Prend tout l'espace restant */
    padding: 20px; /* Pour un meilleur rendu */
}

.header-daily-operations{
	display: flex; 
	flex-direction: column; 
	gap: 10px;
	align-items: flex-start;
	border: 1px solid black;
    background-color: rgba(230, 230, 230, 0.7);
    border-radius: 5px;
    width: 350px; /* Largeur fixe */
    padding: 10px; /* Pour un meilleur rendu */
    justify-content: left;
}

.encart{
	text-align: left; 
	width: calc(100% - 22px);
	font-size: 10px;
    align-items: center;  /* Alignement vertical (optionnel) */
}

.encart .title{
	font-weight: bold;
	justify-content: left;
  padding: 5px; 
}

.booking-container .encart .title{
	font-weight: bold;
	justify-content: left;
  padding: 5px; 
}

.encart .content{
	justify-content: left;
	 display: block;
	 border: 1px solid black;
	background-color: rgba(230, 230, 230, 0.7);
    border-radius: 5px;
    font-size: 10px;
    padding: 10px; 
  
}

.blue{
    border: 1px solid #0521F5 !important;
	background-color: #B2DBF7 !important;
}
.red{
    border: 1px solid #F50505 !important;
	background-color: #FAAFAF !important;
}

.daily-tasks{
	text-align: left; 
	width: calc(100% - 22px);
	border: 1px solid black;
    background-color: rgba(230, 230, 230, 0.7);
    flex: 1; /* Prend tout l'espace restant */
   
    border-radius: 5px;
    font-size: 10px;
    padding: 10px; /* Pour un meilleur rendu */
    align-items: top; /* Centre verticalement */
    justify-content: left; /* Centre horizontalement */
}


.header-daily-workers{
	display: flex; 
	flex-direction: column; 
	border: 1px solid black;
    background-color: rgba(230, 230, 230, 0.7);
    border-radius: 5px;
    width: 200px; /* Largeur fixe */
    padding: 7px; /* Pour un meilleur rendu */
    justify-content: left;
    
}


.header-daily-workers-mobile{
	display: flex; 
	flex-direction: row; 
	border: 1px solid black;
    background-color: rgba(230, 230, 230, 0.7);
    border-radius: 5px;
    width: 100%; /* Largeur fixe */
    padding: 7px; /* Pour un meilleur rendu */
    justify-content: left;
    gap: 5px;
    margin-left: 5px;
    
}
.header-container {
    display: flex;
    flex-direction: row;
    gap: 20px; /* Espace entre les colonnes */
    width: 100%; /* Prend toute la largeur du page-container */
    justify-content: center; /* Centre les colonnes */
    align-items: stretch; /* Étire les colonnes pour qu'elles aient la même hauteur */
}

