.calendar-table {
    width: 100%;
    table-layout: fixed;
    font-size: 0.8em;
}
.calendar-table th, .calendar-table td {
    text-align: center;
    padding: 8px;
    border: 1px solid #ddd;
    vertical-align: top;
}
.time-column {
    width: 80px;
}
.room-column {
    width: calc((100% - 80px) / 5);
}
.cal-appt {
    padding: 5px;
    margin: 2px;
    border-radius: 5px;
    color: white;
    font-size: 1em;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.c-appt {
    background-color: #045dc5; /* Blue */
}
.p-appt {
    background-color: #66bb6a; /* Green */
}
.r-appt {
    background-color: #26a69a; /* Teal */
}

.day-column {
    position: relative;
    min-height: 60px; /* Ensure enough space for the button */
}

.cal-hdr {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.cal-hdr-text {
    flex: 1;
}
