.day-tab {
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  background: #e8f0f7;
  color: #2060c0;
  border: none;
  border-right: 1px solid #d0dae5;

  &:last-child {
    border-right: none;
  }

  &--active {
    background: #fff;
    color: #1a3a5c;
    font-weight: 600;
  }

  &--disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  &__weekday {
    font-size: 12px;
    display: block;
  }

  &__day {
    font-size: 20px;
    font-weight: 500;
    display: block;
  }

  &__month {
    font-size: 12px;
    display: block;
  }
}

.day-select {
  display: none;

  @media (max-width: 768px) {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #d0dae5;
  }
}

.day-tabs-wrap {
  margin-bottom: 8px;
}

.day-tabs {
  display: flex;
  align-items: stretch;
  background: #e8f0f7;
  border-radius: 8px 8px 0 0;

  &__arrow {
    width: 48px;
    flex-shrink: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #2060c0;
    font-size: 20px;

    &:disabled {
      opacity: 0.3;
      cursor: not-allowed;
    }
  }

  &__list {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
  }

  @media (max-width: 768px) {
    display: none;
  }
}
