.timetable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 10px;
    min-width: 500px;
}

.time-column {
    width: 60px;
    position: relative;
}

.time-cell {
    position: relative;
    color: #666;
    font-size: 12px;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Pour un défilement fluide sur iOS */
}

/* Style pour chaque horaire */
.time {
    padding-right: 10px;
    text-align: right;
    font-size: 11px;
    font-family: 'Signika';
    font-weight: 300;
}

.slot {
    border: 1px dashed #18519E;
    border-radius: 8px;
}

.add-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 1px dashed #18519E;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #18519E;
    font-size: 20px;
    background-color: white;
    font-family: 'Signika';
    font-weight: 300;
}

.day-header {
    padding: 10px;
    text-align: center;
    color: #021733;
    background: #F2F2F2;
    border-radius: 30px;
    font-family: 'Signika';
    font-weight: 300;
    font-size: 14px;
}

.table-container::-webkit-scrollbar {
    height: 8px;
}

.table-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.color-option {
    width: 55px;
    height: 55px;
    margin: 10px;
    cursor: pointer;
}

.color-option.selected {
    border: 1px solid #18519E;
}

.add-button.hidden {
    display: none;
}

/* Style pour rendre la cellule cliquable après la première sélection */
.slot.has-color {
    cursor: pointer;
}