/* Hide non-working hours */
.timeline td.not_worked_time {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
}

/* Free time slots */
.timeline td.free_time {
    background-color: #e8f7f7 !important;
    border: 1.5px solid #40c0be !important;
    cursor: pointer !important;
}

.timeline td.free_time:hover {
    background-color: #40c0be !important;
    color: white !important;
}

/* Selected time slot */
.timeline td.selected_time {
    background-color: #00565e !important;
    color: white !important;
}

/* Book button */
#events input.reserve_time_btn {
    background-color: #00565e !important;
    color: #f8f5ee !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 12px 32px !important;
    font-size: 15px !important;
    cursor: pointer !important;
}

#events input.reserve_time_btn:hover {
    background-color: #40c0be !important;
}

/* Confirm button */
#eventForm #save_button {
    background-color: #00565e !important;
    color: #f8f5ee !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 12px 32px !important;
    cursor: pointer !important;
}

/* Hide inactive days (Mon, Fri, Sat, Sun) */
.ui-widget-content table th:nth-child(1),
.ui-widget-content table td:nth-child(1),
.ui-widget-content table th:nth-child(5),
.ui-widget-content table td:nth-child(5),
.ui-widget-content table th:nth-child(6),
.ui-widget-content table td:nth-child(6),
.ui-widget-content table th:nth-child(7),
.ui-widget-content table td:nth-child(7) {
    display: none !important;
}

/* Show current week only */
.ui-datepicker-calendar tr {
    display: none !important;
}

.ui-datepicker-calendar tr:has(td.ui-datepicker-today),
.ui-datepicker-calendar tr:has(td.ui-datepicker-current-day) {
    display: table-row !important;
}