#booking-calendar {
    font-family: Arial, sans-serif;
    max-width: 900px; /* Adjust for wider weekly view */
    margin: 20px auto;
    border: 1px solid #ccc;
    padding: 20px;
    text-align: center;
}

.calendar-controls {
    margin-bottom: 15px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-header h3 {
    margin: 0;
}

.calendar-days-names {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-days .day {
    padding: 10px;
    border: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.3s;
}

.calendar-days .day:hover {
    background-color: #f0f0f0;
}

.calendar-days .empty {
    visibility: hidden;
}

/* Weekly View Styles */
.weekly-view {
    display: grid;
    grid-template-columns: 80px repeat(7, 1fr);
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
}

.weekly-hours-column {
    border-right: 1px solid #ccc;
}

.hour-slot {
    height: 40px;
    line-height: 40px;
    border-bottom: 1px solid #eee;
    text-align: right;
    padding-right: 5px;
    font-size: 12px;
}

.weekly-day-column {
    border-right: 1px solid #ccc;
}

.weekly-day-header {
    font-weight: bold;
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
    background-color: #f9f9f9;
}

.weekly-day-header.today-header {
    background-color: #e0f7fa;
}

.weekly-slot {
    height: 40px;
    border-bottom: 1px solid #eee;
    background-color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
}

.weekly-slot:hover {
    background-color: #f0f0f0;
}

.weekly-slot.current-hour {
    background-color: #c8e6c9;
    position: relative;
}

/* Optional: add a small marker for the current time within the current-hour slot */
.weekly-slot.current-hour::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #f44336;
    transform: translateY(-50%);
}