.calendar-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

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

.cal-nav-btn {
    /* background-color: #050505a6;
    color: #fafafa; */
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
}

.cal-nav-btn:hover {
    background-color: rgba(250, 250, 250, 0.1);
}

.cal-title {
    margin: 0;
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    /* Ensures static and equal column sizes */
}

.calendar-table th {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 10px;
    text-align: center;
    font-weight: bold;
}

.calendar-day {
    border: 1px solid #dee2e6;
    height: 120px;
    /* Gives enough vertical space for displaying up to 6 events */
    vertical-align: top;
    padding: 5px;
    background-color: #fff;
}

.calendar-day.different-month {
    background-color: #f1f3f5;
    color: #adb5bd;
}

.calendar-day.today {
    background-color: #e8f4fd;
}

.day-number-container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 5px;
}

.day-num {
    font-weight: bold;
    font-size: 14px;
}

.day-events {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.event-item {
    font-size: 11px;
    padding: 3px 5px;
    border-radius: 3px;
    background-color: #e2e3e5;
    border-left: 3px solid #6c757d;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-item.all-day {
    background-color: #d1ecf1;
    border-left-color: #17a2b8;
    color: #0c5460;
    font-weight: bold;
}

.event-time {
    font-weight: bold;
    margin-right: 4px;
}