.table {
  display: flex;
  width: 100%;
  flex-direction: column;
  @media (--maxScreenMD) {
    display: none;
  }
}

.hide {
  display: none !important;
}

.show {
  display: flex !important;
}

.table__header {
  background-image: radial-gradient(
    circle,
    var(--colorMilaBlue) 1.5px,
    transparent 2px
  );
  background-position: left 0px bottom;
  background-repeat: repeat-x;
  background-size: 8px 4px;

  font-weight: bold;
  font-size: 20px;
  padding-bottom: 20px;
}

.table__header,
.table__row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;

  & div:first-child {
    flex: 0 0 25%;
  }
}

.table__header-item,
.table__row-item {
  display: flex;
  flex: 1;
  &:not(:last-child) {
    margin-right: 20px;
  }
}

.table__row {
  background-image: linear-gradient(
    to right,
    var(--colorMilaBlue) 10%,
    rgba(255, 255, 255, 0) 0%
  );
  background-position: left bottom;
  background-size: 10px 1px;
  background-repeat: repeat-x;
  padding: 16px 0;

  & .table__row-item:first-child {
    font-weight: 500;
    font-size: 20px;
  }
}

/* TAB STYLED TABLE*/

.table__tabs {
  display: none;

  @media (--maxScreenMD) {
    display: flex;
  }
}

.tabs {
  width: 100%;
  overflow: hidden;
  & .tabs__list {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    padding: 0;
    margin-bottom: 20px;
    white-space: nowrap;
    overflow-x: auto;

    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */

    &::-webkit-scrollbar {
      display: none;
    }

    & .tabs__list-selected {
      position: relative;
    }

    & li {
      flex: 1;
      text-align: center;
      border: none;
      align-self: center;
      padding: 0 0 15px 0;
      font-size: 20px;
      font-weight: bold;
      min-width: 160px;
      bottom: 0;
    }
  }
}

.tabs__panel-item {
  display: flex;
  flex-direction: column;
  background-image: linear-gradient(
    to right,
    var(--colorMilaBlue) 10%,
    rgba(255, 255, 255, 0) 0%
  );
  background-position: left top;
  background-size: 10px 1px;
  background-repeat: repeat-x;

  & .tabs__panel-item-title {
    font-size: 20px;
    font-weight: 500;
    margin: 16px 0 8px 0;
  }
  & .tabs__panel-item-content {
    margin-bottom: 16px;
  }
}

.slider {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--colorMilaGreyLight);
  height: 3px;
  border-radius: 5px;
}
