.calendar-container {
    background: rgba(242, 242, 242, 1);
    width: 360px;
    border-radius: 4px;
    min-height: 320px;
}

.calendar-container header {
    display: flex;
    align-items: center;
    padding: 15px 20px 8px;
    justify-content: space-between;
}

header .calendar-navigation {
    display: flex;
}

header .calendar-navigation span {
    height: 30px;
    width: 30px;
    margin: 0 2px;
    cursor: pointer;
    text-align: center;
    line-height: 30px;
    border-radius: 50%;
    user-select: none;
    color: #aeabab;
    font-size: 1.4rem;
}

.calendar-navigation span:last-child {
    margin-right: -8px;
}

header .calendar-navigation span:hover {
    background: #f2f2f2;
}

header .calendar-current-date {
    font-weight: 600;
    font-size: 16pt;
    margin: 8px 0px 8px 36px;
}

.calendar-body {
    padding: 10px;
}

.calendar-body ul {
    list-style: none;
    flex-wrap: wrap;
    display: flex;
    text-align: center;
}

.calendar-body .calendar-dates {
    margin-bottom: 10px;
    padding-left: 16px;
}

.calendar-body li {
    width: calc(100% / 7);
    height: 30px;
    line-height: 30px;
    font-weight: 700;
    font-size: 14pt;
    color: #414141;
    position: relative;
    z-index: 1;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
}

.calendar-body .calendar-weekdays {
    padding-left: 16px;
    margin: 0px 0px;
}

.calendar-body .calendar-weekdays li {
    cursor: default;
    font-weight: 700;
    font-size: 10pt;
    text-transform: uppercase;
}

.calendar-dates li.inactive {
    color: #aaa;
    cursor: default;
}

.calendar-dates li.active {
    color: #fff;
}

.calendar-dates li.sunday {
    color: red;
}

.calendar-dates li::before {
    position: absolute;
    content: "";
    z-index: -1;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.calendar-dates li.active::before {
    background: #000000;
}

.calendar-dates li:not(.active):not(.highlight):hover::before {
    background: #858484;
}

.calendar-dates li.highlight {
    color: #fff;
    font-weight: 900;
    position: relative;
}

.calendar-dates li.highlight::before {
    background: #2d7a5e;
    transform: translate(-50%, -50%) scale(1.1);
}

.calendar-dates li.highlight::after {
    content: "✓";
    position: absolute;
    top: -8px;
    right: -5px;
    color: #2d7a5e;
    font-size: 12px;
    font-weight: bold;
    background: white;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #2d7a5e;
}