@import "../../../assets/scss/variables";

#riview-reports {


  & img.logo {
    margin-bottom: 30px;
  }

    & .download-btn {
      display: flex;
      background-color: $main-color;
      color: $white;
      align-items: center;
      justify-content: space-between;
      padding: 0 20px;
      font-size: 1.3rem;
      width: 16rem;
      height: 4rem;
      border-radius: 8px;

      &.disabled {
        background-color: $inactive-color;
        color: $inactive-text;

        & img {
          filter: brightness(0) saturate(100%) invert(80%) sepia(37%) saturate(36%) hue-rotate(51deg) brightness(95%) contrast(97%);
        }
      }

      &:first-of-type {
        margin-left: auto;
      }

    }




  & .group-list-container {


    & .group-list {
      margin-bottom: 50px;
      min-height: 551px;

      & .list-head {
        display: flex;
        padding: 0 34px;
        font-weight: $light;
        margin-bottom: 8px;
      }

      & .list-row {
        position: relative;
        display: flex;
        border: 1px solid #EFEFEF;
        background-color: $white;
        height: 45px;
        align-items: center;
        border-radius: 4px;
        padding: 0 34px;
        margin-bottom: 8px;
        transition: 0.3s;

        & .index {
          position: absolute;
          left: -25px;
          font-size: $index-size;
          font-weight: $medium;
          color: #D9D9D9;
        }

        &:nth-child(even) {
          background-color: #EFEFEF;
        }

        & .acronym {
          font-weight: $bold;
        }

        & .name {
          color: $alternate-text-color;
        }

        & .report, .eva {

          & span {
            display: none;
          }

          & a:hover {

            & img {
              display: none;
            }

            & span {
              display: initial;
              color: $secondary-color;
              background-color: $white;
              padding: 8px 25px;
              border-radius: 4px;
            }
          }

          &.inactive a {
            pointer-events: none;
          }

        }

        &:hover {
          background-color: $secondary-color;

          & .acronym, .name {
            color: $white;
          }

          & img {
            filter: invert(100%) sepia(0%) saturate(7498%) hue-rotate(230deg) brightness(100%) contrast(102%);
          }

        }

        &.skeleton {
          background-color: #f5f5f5 !important;
          background: linear-gradient(-45deg, #eee, #fefefe);
          background-size: 400% 400%;
          animation: gradient 5s ease infinite;
        }
      }

      & .acronym {
        flex: 0 0 150px;
      }

      & .name {
        flex: 1 0 0%;
      }

      & .report {
        flex: 0 0 250px;
        text-align: center;
      }

      & .eva {
        flex: 0 0 250px;
        text-align: center;
      }
    }


    & .pagination-container {
      display: flex;
      justify-content: flex-end;
    }
  }
}


@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

