.large-display {
  display: none;
}

/* .small-display {
    display: none;
  } */

@media (min-width: 768px) {
  .large-display {
    display: block;
  }

  .small-display {
    display: none;
  }
}

/* @media (max-width: 767px) {
    .small-display {
      display: block;
    }
  } */

.wrapper {
  width: 100%;
  max-width: 300;
  max-height: 300px;
  background: #ffffffc6;
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  margin: 2px;
  padding: 20px;
}

.wrapper .calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calendar-header .icons {
  display: flex;
}

.calendar-header .icons .calendar-span {
  height: 38px;
  width: 38px;
  margin: 0 1px;
  cursor: pointer;
  color: #878787;
  text-align: center;
  line-height: 38px;
  font-size: 1rem;
  user-select: none;
  border-radius: 50%;
}

.icons .calendar-span:last-child {
  margin-right: -10px;
}

.calendar-header .icons .calendar-span:hover {
  background: #f2f2f2;
}

.calendar-header .current-date {
  font-size: 0.8rem;
  font-weight: 500;
}

.calendar {
  padding: 20px 0;
}

.calendar ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  text-align: center;
}

.calendar .days {
  margin-bottom: 20px;
}

.calendar li {
  color: #333;
  width: calc(100% / 7);
  font-size: 0.7rem;
}

.calendar .weeks li {
  font-weight: 500;
  cursor: default;
}

.calendar .days li {
  z-index: 1;
  cursor: pointer;
  position: relative;
  margin-top: 30px;
  font-size: smaller;
  margin: 0px;
}

.days li.inactive {
  color: #aaa;
}

.days li.active {
  color: #fff;
}

.days li::before {
  position: absolute;
  content: "";
  left: 50%;
  top: 50%;
  height: 40px;
  width: 40px;
  z-index: -1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.days li.active::before {
  background: #9B59B6;
}

.days li:not(.active):hover::before {
  background: #f2f2f2;
}

.tooltip {
  visibility: hidden;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 8px 12px;
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  white-space: nowrap;
}

.tooltip::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: black transparent transparent transparent;
}

.days li:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

/* Event badge styling */
.calendar .days li .event-badge {
  position: absolute;
  top: -6px;
  right: 3px;
  background-color: #de2b2c;
  color: #fff;
  font-size: 10px;
  padding: 0.5px 3px;
  border-radius: 50%;
  z-index: 2;
}