/* Styles extraits de styles2.css uniquement */
#calendar {
    width: 90%;
    max-width: 900px;  /* largeur max adaptée pour voir tout le calendrier */
    margin: 0 auto 20px auto;
    padding: 10px;
    text-align: center;
    background-color: #cfb299;
    border-radius: 5px;
    overflow-x: auto;
    box-sizing: border-box;
}
#presta {
    font-family: Arial, sans-serif;
	font-size: 20px;
    color: #e160be;
}
#availableSlots {
    background-color: #fff; /* fond blanc classique panier */
    border: 2px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    position: fixed;
    top: 150px;
    right: 0px;
    left: auto;
    z-index: 9999;
    width: 60%;
    max-width: 300px;
    padding: 15px;
    text-align: left;
    box-sizing: border-box;
    cursor: move;
    font-family: Arial, sans-serif;
}

.modern-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 14px;
    color: #3A4342;
    background-color: #f8f9fa;
    border: 1px solid #ccc;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.modern-link-button:hover {
    background-color: #e2e6ea;
    border-color: #bbb;
    color: #222;
}

#availableSlots .panier-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

#availableSlots .prestation-name {
    color: #3A4342;
    font-weight: bold;
}

#availableSlots .label {
    font-weight: bold;
    color: #555;
}

#availableSlots .voir-creneaux {
    display: inline-block;
    margin: 10px 0;
    font-size: 14px;
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
}

#availableSlots button#nextButton {
    background-color: #3A4342;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
}

#availableSlots button#nextButton:hover {
    background-color: #2c3433;
}


/* Adaptation pour petits écrans */
@media (max-width: 768px) {
    #availableSlots {
        width: 90%;
        right: 5%;
        top: 100px;
    }
}

.appointment-slot {
    margin: 5px auto auto 10px;
    cursor: pointer;
    padding: 5px;
    border: 1px solid #3A4342;
    border-radius: 5px;
    text-align: center;
}
.appointment-slot:hover {
    background-color: #f0f0f0;
}
.selected-slot {
    background-color: #d0e0ff;
}
.slots-container {
	margin: 20px 15% 0 15%;
    display: flex;
    flex-wrap: wrap;
	background-color: #cfb299;
	border-radius: 5px;
	padding:5px
}
.slot-column {
    flex: 1;
    min-width: 50%;
    box-sizing: border-box;
    padding: 5px;
}
.bouttonmaxlarge {
    width: 100%;
}
#nextButton {
    display: none;
    font-size: 16px;
    background-color: #ffa2a2;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    width: 100%;
    height: 2rem;
}
#nextButton:hover {
    background-color: grey;
}
#nextButton2 {
    font-size: 16px;
    background-color: #778d70;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    width: 100%;
}
#nextButton2:hover {
    background-color: grey;
}
.fc-daygrid-day.fc-day-selected {
    background-color: grey !important;
}
.menu {
    width: 100%;
    text-align: center;
    margin-top: 1px;
}
.menu a {
    display: inline-block;
    margin: 10px;
    padding: 2px 10px;
    font-size: 18px;
    text-decoration: none;
    color: white;
    background-color: #8997a1;
    transition: background-color 0.3s;
}
.menu a:hover {
    background-color: none;
}
.footer {
    font-size: x-small;
    margin-top: 2%;
    border-bottom: solid 0.1em;
    text-align: center;
    width: 100%;
    padding: 10px;
    font-style: oblique;
}
label, input, textarea {
    display: block;
    margin-bottom: 10px;
    width: 80%;
}
input[type="submit"] {
    width: auto;
}
.my-button {
    padding: 10px 20px;
    font-size: 12px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.my-button:hover {
    background-color: #45a049;
}
#textrecapvert {
    font-size: 1.5rem;
    color: rgb(241, 17, 19);
}
.container2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 30px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 80%;
    max-width: 500px;
}
.flex-container2 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}
@media (max-width: 768px) {
    .container2 {
        flex-direction: column;
    }
}