@import 'src/css/quasar.variables.scss';

.panel-wrapper {
  border-radius: 16px;
  background-color: $navy-1;
  padding: 16px;
}

.panel-title {
  color: $white;
  font-size: 24px;
  font-weight: 700;
  padding: 8px;
  margin-bottom: 16px;
}

.swiper-stats {
  > .swiper-button-prev,
  > .swiper-button-next {
    margin: 0;
    margin-right: 6px;
    position: relative;
    width: 24px;
    height: 24px;
    display: block;
    text-align: center;
    left: 0;
    right: 0;
    &::after {
      font-size: 14px;
      font-weight: 600;
      line-height: 24px;
    }
  }
}

.wrapper-stats .swiper {
  overflow: hidden;
}

.container-dapps {
  display: flex;
  flex-direction: column;
}

.dapp {
  padding: 0 8px 0 0px;
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 600;
  color: $white;
  height: 64px;

  > span:last-child {
    margin-left: auto;
    text-align: right;
  }

  div:first-child {
    width: 24px;
    text-align: right;
    flex-shrink: 0;
    white-space: nowrap;
  }
}

.dapp-button{
  cursor: pointer;
  border-radius: 8px;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  transition: all 0.2s ease;

  &:hover {
    background: rgba(white, 0.1);
  }
}

.dapp-icon {
  flex-shrink: 0;
  img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    overflow: hidden;
    border-radius: 4.8px;
  }
}

.dapp-name {
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.swiper--stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.skeleton-dapp-stats {
  width: 100%;
  height: 344px;
  border-radius: 8px;
}
