#calendar {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.calendar-container {
    background-color: #fff;
    padding: 2%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    width: 80%;
    margin: auto;
    overflow: hidden;
}
label {
    margin-bottom: 5px;
    color: #000;
}
#calendar-controls, .calendar-button {
	display: flex;
    color: #000;
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    transition: background-color 0.3s;
}
#month-header {
    margin: 0;
    font-size: 2vw;
    text-align: center;
    flex: 1;
}
#month-header:hover{
	cursor: default;
}
.calendar-button {
	padding: 10px 15px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-sizing: border-box;
	transition: box-shadow 0.3s;
	background-color: #D3D3D3;
}

.calendar-button:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    margin-top: 10px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.calendar-cell {
    background-color: #fff;
	color:#000;
    padding: 1vw 2vw;
    text-align: center;
    border-radius: 5px;
    font-size: 1.8vw;
	transition: background-color 0.3s;
}
.calendar-cell:hover {
    background-color: #D3D3D3;
	cursor: pointer;
}

.day-name {
    background-color: #fff;
    color: #000;
    font-weight: bold;
    padding: 0.7vw;
}
.day-name:hover {
	cursor: default;
	background-color: #2A2D30;
}

.empty {
    background-color: transparent;
}

.calendar-cell.today {
    background-color: #D3D3D3;
    padding: 1vw;
    text-align: center;
    border-radius: 5px;
    font-size: 1.8vw;
	transition: background-color 0.3s;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    color: #000;
    margin: 15% auto;
    padding: 20px;
    border-radius: 5px;
    width: 80%;
    max-width: 600px;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
	transition: color 0.3s;
}

.close-button:hover,
.close-button:focus {
    color: red;
    text-decoration: none;
    cursor: pointer;
}

.modal-content h2 {
    margin: 0;
    font-size: 24px;
    color: #000;
}

.modal-content p {
    font-size: 16px;
    color: #000;
}
.calendar-cell {
    position: relative;
}
.calendar-cell.has-event {
    position: relative;
}

.calendar-cell.has-event::after {
    content: '';
    position: absolute;
    top: 5px;
    right: 5px;
    width: 0.5em;
    height: 0.5em;
    background-color: red;
    border-radius: 50%;
}
.delete-event-button{
	background-color: #fff;
    color: #000;
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.delete-event-button:hover{
    background-color: #D3D3D3;
}
.event-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.events-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}
