.calendar-wrapper {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 64px;
}
.calendar-container {
  flex: 1;
  min-width: 0;
}
#addNewGig {
  scroll-margin-top: calc(var(--nav-height) + 16px);
}
.calendar {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--mr);
  padding: 16px;
  overflow: hidden;
}
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.calendar-nav-btn {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: opacity var(--dur-micro) ease;
}
@media (hover: hover) {
  .calendar-nav-btn:hover {
    opacity: 0.7;
  }
}
.calendar-month-year {
  color: var(--white);
  font-family: var(--secondary-font);
  font-size: 20px;
  font-weight: 600;
  text-transform: capitalize;
}
.calendar-weekday {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--secondary-font);
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}
.calendar-day {
  max-height: 40px;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--secondary-font);
  color: var(--white);
  border-radius: var(--sr);
  cursor: pointer;
  transition: background-color var(--dur-micro) ease, color var(--dur-micro) ease;
  position: relative;
}
@media (hover: hover) {
  .calendar-day:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
}
.calendar-day.other-month {
  color: rgba(255, 255, 255, 0.3);
}
.calendar-day.disabled {
  color: rgba(255, 255, 255, 0.18);
  pointer-events: none;
}
.calendar-day.today {
  color: var(--white);
  font-weight: 600;
  padding: 8px 4px 4px;
  box-shadow: inset 0 -2px 0 0 var(--grey);
}
.calendar-day-label {
  display: none;
}
.calendar-day.today .calendar-day-label {
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: var(--xxs-base);
  font-weight: 500;
  line-height: 1;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.calendar-day.active .calendar-day-label {
  color: inherit;
}
.calendar-day.active {
  color: var(--black);
  box-shadow: none;
  background: var(--primary);
}
.calendar-day.range-middle {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0;
}
.calendar-day.range-start {
  border-top-left-radius: var(--sr);
  border-bottom-left-radius: var(--sr);
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.calendar-day.range-end {
  border-top-right-radius: var(--sr);
  border-bottom-right-radius: var(--sr);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.calendar-day.range-start:nth-child(7n+1) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.calendar-day.range-end:nth-child(7n) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.calendar-day.range-middle:nth-child(7n+1) {
  border-top-left-radius: var(--sr);
  border-bottom-left-radius: var(--sr);
}
.calendar-day.range-middle:nth-child(7n) {
  border-top-right-radius: var(--sr);
  border-bottom-right-radius: var(--sr);
}
.gig-indicators {
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
}
.gig-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--primary);
  display: block;
}
.gig-line {
  width: 16px;
  height: 2px;
  background-color: var(--primary);
  display: block;
  border-radius: var(--sr);
}
.calendar-day.active .gig-dot,
.calendar-day.active .gig-line {
  background-color: var(--black);
}
.calendar-days {
  overflow: hidden;
  position: relative;
  touch-action: pan-y;
}
.calendar-days.slide-next {
  animation: slide-in-right var(--dur-fast) ease-out;
}
.calendar-days.slide-prev {
  animation: slide-in-left var(--dur-fast) ease-out;
}
