#calendar {
    margin-top: 20px;
    min-height: 500px;
    border: 2px dashed #d0d7e2;
    border-radius: 8px;

    display: flex;
    justify-content: center;
    align-items: center;

    color: #888;
    font-size: 20px;
}

.calendar-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 24px;
}

.calendar-header h2 {

    font-size: 1.5rem;
}

.calendar-header button {

    width: 40px;

    height: 40px;

    border: none;

    border-radius: 8px;

    cursor: pointer;

    background: #4d90fe;

    color: white;

    font-size: 18px;
}

.calendar-header button:hover {

    background: #357ae8;
}

#calendar {

    display: grid;

    grid-template-columns: repeat(7, 1fr);

    gap: 4px;
}

.weekday {

    text-align: center;

    font-weight: bold;

    padding: 10px;
}

.sunday {

    color: #e53935;
}

.saturday {

    color: #1e88e5;
}

.day {

    min-height: 90px;

    border: 1px solid #d9dce3;

    border-radius: 8px;

    padding: 8px;

    background: #ffffff;

    cursor: pointer;

    transition: 0.2s;

    transition:
        background-color 0.2s,
        color 0.2s;

}

.day:hover {

    background: #eef5ff;

    border-color: #4d90fe;

    background-color: #f0f4ff;

}

.empty-day {

    min-height: 90px;

}

.other-month {

    opacity: 0.4;

}

.today {

    border: 2px solid #4d90fe;

}

.today:hover {

    background-color: #eaf2ff;

}

.selected {

    background-color: #4d90fe;

    color: white;

    border-radius: 8px;

}

.selected:hover {

    background-color: #3b82f6;

}