.calendar {
  margin-bottom: 20px;
}
.calendar__additional-label {
  white-space: nowrap;
  position: absolute;
  color: rgba(11, 18, 33, 0.5);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.125;
  top: 0;
  left: 5px;
}
.calendar__month {
  margin-bottom: 7px;
  color: rgba(11, 18, 33, 0.5);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.125;
}
.calendar__month-badge {
  bottom: 12px;
  color: #969696;
  font-size: 13px;
  height: 49px;
  line-height: 18px;
  position: absolute;
  right: 5px;
  transform: rotate(180deg);
  width: 17px;
  writing-mode: vertical-rl;
}
.calendar__month-badge::after {
  background-color: #e1e1e1;
  content: "";
  height: 52px;
  position: absolute;
  right: 2px;
  top: 9px;
  width: 1px;
}
.calendar .q-carousel {
  height: 72px;
}
.calendar .q-panel-parent {
  overflow: visible;
}
.calendar .q-carousel__slide {
  padding: 0px;
}
.calendar .q-carousel__next-arrow--horizontal {
  right: -40px;
}
.calendar__list {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 10px;
  width: 100%;
  position: relative;
  z-index: 2;
}
.calendar__date-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 60px;
  flex-direction: column;
  cursor: pointer;
}
.calendar__item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 50px;
  height: 85px;
  flex-direction: column;
  cursor: pointer;
}
.calendar__item_other {
  width: 210px;
  padding-bottom: 13px;
}
.calendar__item_last {
  width: 10px;
}
.calendar__item_active .calendar__date-item {
  background: rgba(2, 136, 141, 0.05);
}
.calendar__item_active .calendar__date-item-border {
  border-radius: 15px;
}
.calendar__item_active + .calendar__item_active .calendar__date-item-border {
  border-radius: 0px;
}
.calendar__item_start-date .calendar__date-item {
  border-radius: 0;
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
  position: relative;
}
.calendar__item_start-date .calendar__date-item::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border: 1px solid #02888d;
  border-radius: 15px;
}
.calendar__item_end-date .calendar__date-item {
  position: relative;
}
.calendar__item_end-date .calendar__date-item::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border: 1px solid #02888d;
  border-radius: 15px;
}
.calendar__item_active + .calendar__item_active.calendar__item_end-date .calendar__date-item {
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}
.calendar__item_only-date .calendar__date-item {
  border-radius: 15px;
}
.calendar__weekday {
  margin-top: 3px;
  color: rgba(11, 18, 33, 0.5);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}
.calendar__weekday_weekend {
  color: #02888d !important;
}
.calendar__date {
  font-size: 19px;
  font-weight: 500;
  line-height: 24px;
}
.calendar__btn_left {
  left: -100px;
  bottom: 14px;
}
.calendar__btn_right {
  right: -100px;
  bottom: 14px;
}
.calendar__btn.q-btn {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(11, 18, 33, 0.3);
  transition: all 0.3s linear;
  background-color: #ffffff;
}
.calendar__btn.q-btn:hover {
  background-color: #02888d;
  border-color: #02888d;
}
.calendar__btn.q-btn:hover svg path {
  fill: #ffffff;
}
.calendar__btn.q-btn svg {
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.calendar__btn.q-btn svg path {
  fill: #0b1221;
  transition: all 0.3s linear;
}
.calendar__btn_disabled.q-btn {
  cursor: not-allowed;
  pointer-events: none;
}
.calendar__btn_disabled.q-btn:hover {
  background-color: #ffffff;
  border-color: rgba(11, 18, 33, 0.3);
}
.calendar__btn_disabled.q-btn:hover svg path {
  fill: #0b1221;
}
@media (max-width: 1450px) {
.calendar__btn_right {
    right: -50px;
}
.calendar__btn_left {
    left: -50px;
}
}
@media (max-width: 1300px) {
.calendar__btn_right {
    right: 0px;
    bottom: 7px;
}
.calendar__btn_left {
    left: 0px;
    bottom: 7px;
}
.calendar .carousel__viewport {
    width: calc(100% - 108px);
    margin: 0 auto;
}
}
@media (max-width: 768px) {
.calendar__item {
    width: 48px;
    height: 76px;
}
.calendar__item_start-date .calendar__date-item {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.calendar__item_only-date .calendar__date-item {
    border-radius: 10px;
}
.calendar__item_start-date .calendar__date-item::after {
    border-radius: 10px;
}
.calendar__item_end-date .calendar__date-item::after {
    border-radius: 10px;
}
.calendar__item_active + .calendar__item_active.calendar__item_end-date .calendar__date-item {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
.calendar__date-item {
    width: 48px;
    height: 48px;
}
.calendar__weekday {
    margin-top: 4px;
    font-size: 13px;
    line-height: 16px;
}
.calendar__date {
    font-size: 16px;
    line-height: 24px;
}
.calendar__additional-label {
    font-size: 13px;
    line-height: 1.23;
}
.calendar__btn.q-btn {
    width: 30px;
    height: 30px;
}
.calendar__btn.q-btn svg {
    width: 20px;
    height: 20px;
}
.calendar__btn_right,
  .calendar__btn_left {
    bottom: 4px;
}
.calendar .carousel__viewport {
    width: calc(100% - 88px);
}
}