.jm-calendar {
  background-color: white;
  display: flex;
  flex-direction: column;
}

.jm-calendar * {
  box-sizing: border-box;
  user-select: none;
}

.jm-calendar__swipe {
  flex: 1;
}

.jm-calendar__body {
  margin-top: 2px;
  position: relative;
}

.jm-calendar__week {
  display: flex;
}

.jm-calendar__weeks {
  /* padding-bottom: 10px; */
}

.jm-calendar__day {
  flex: 1;
  position: relative;
  width: 50px;
  height: 50px;
}

/* .jm-calendar__day::after {
  content: '';
  display: block;
  padding-bottom: 100%;
} */

.jm-calendar__day-inner {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #afafaf;
  cursor: pointer;
  outline: none;
  z-index: 1;
}

.jm-calendar__day-inner.weekday {
  color: #111;
}

.jm-calendar__day-inner.out-of-month {
  color: #afafaf;
}

.jm-calendar__day-inner.today {
  color: #c00000;
}

.jm-calendar__day-inner.active {
  color: white;
}

.jm-calendar__day-inner.has-event::after {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 100%;
  background: #eb2525;
  margin-top: 2px;
}

.jm-calendar__day-inner.active.has-event::after {
  background: white;
}

.jm-calendar__day-inner.active::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  max-width: 46px;
  max-height: 46px;
  background: #c00000;
  border-radius: 100%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.jm-calendar__day-number {
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
}

.jm-calendar__day-desc {
  margin-top: 1px;
  font-size: 12px;
  transform: scale(0.89);
  white-space: nowrap;
}

.jm-calendar__legal-holiday {
  position: absolute;
  font-size: 13px;
  right: -1px;
  top: -1px;
  transform: scale(0.78);
}

.jm-calendar__week-title {
  display: flex;
}

.jm-calendar__week-day {
  flex: 1;
  text-align: center;
  font-size: 10px;
  color: gray;
  line-height: 2;
}
