.calendar-container {
    margin: 0 auto;
}

.calendar-now {
    color: var(--color-green);
    font-weight: bold;
}

.calendar-header {
    text-align: center;
    margin-bottom: 1em;
    position: relative;
    font-size: 1.2em;
}

.calendar-month {
    font-size: 24px;
    font-weight: bold;
    margin: 0 100px;
}

.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/** **/

.calendar-table {
    width: 100%;
    border-collapse: collapse;
}

.calendar-table th,
.calendar-table td {
    padding: 0;
    text-align: center;
}

.calendar-table td {
    height: 6em;
    vertical-align: top;
    width: 14.28%;
}

/** **/

.calendar-day {
    position: relative;
}

.day-number {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    padding: .2em;
    background-color: var(--color-green-light);
}

.has-events .day-number {
    background-color: var(--color-green);
    color: white;
}

.today .day-number {
    background-color: #0000FF;
    color: white;
}

.calendar-day.today {
    outline: 2px solid #0000ff;
    z-index: 600;
}

.event {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    cursor: pointer;
    font-size: .7em;

    padding-top: 2em;
    height: 100%;
    display: grid;
    align-items: center;
}

.event-details {
    display: none;
    position: fixed;
    background: white;
    border: 1px solid #ddd;
    padding: 10px;
    width: 250px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.event-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.event-time, .event-location {
    color: #5f6368;
    font-size: 12px;
    margin-bottom: 5px;
}

.event-description {
    font-size: 12px;
    margin-top: 5px;
}

.empty-day {
    background-color: var(--color-green-light);
}

.today-button {
    background-color: var(--color-green);
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.today-button:hover {
    background-color: #2d9249;
}

.calendar-next,
.calendar-prev {
    background-color: transparent;
    border: none;
    color: transparent;
    background-size: auto 100%;
    background-position: center;
    width: 2em;
    height: 2em;
    cursor: pointer;
}

.calendar-next {
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8' standalone='no'%3F%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg width='100%25' height='100%25' viewBox='0 0 71 129' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' xmlns:serif='http://www.serif.com/' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;'%3E%3Cg transform='matrix(-4.16667,0,0,4.16667,1.9026,117.136)'%3E%3Cpath d='M0,-25.466L-12.734,-12.734L0.002,-0.003C0.608,0.603 0.608,1.586 0.003,2.192C0.002,2.192 0.002,2.192 0.002,2.193C-0.605,2.798 -1.589,2.798 -2.196,2.193L-16.029,-11.636C-16.636,-12.241 -16.636,-13.225 -16.029,-13.83L-2.196,-27.659C-1.588,-28.264 -0.605,-28.264 0.003,-27.659C0.607,-27.055 0.607,-26.071 0,-25.466' style='fill-rule:nonzero;'/%3E%3C/g%3E%3C/svg%3E");
}

.calendar-prev {
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8' standalone='no'%3F%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg width='100%25' height='100%25' viewBox='0 0 71 129' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' xmlns:serif='http://www.serif.com/' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;'%3E%3Cg transform='matrix(4.16667,0,0,4.16667,68.6844,117.136)'%3E%3Cpath d='M0,-25.466L-12.734,-12.734L0.002,-0.003C0.608,0.603 0.608,1.586 0.003,2.192C0.002,2.192 0.002,2.192 0.002,2.193C-0.605,2.798 -1.589,2.798 -2.196,2.193L-16.029,-11.636C-16.636,-12.241 -16.636,-13.225 -16.029,-13.83L-2.196,-27.659C-1.588,-28.264 -0.605,-28.264 0.003,-27.659C0.607,-27.055 0.607,-26.071 0,-25.466' style='fill-rule:nonzero;'/%3E%3C/g%3E%3C/svg%3E");
}