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

.rdg-blocks .rdg-previews-and-predictions {
  padding: 1.25rem 0.625rem;
  border-radius: 0.8rem;
  background-color: $color-white;
  max-width: 100%;

  .header {
    text-align: center;
    color: $color-primary-dark-light;
    font-weight: 500;
    font-size: 1.125rem;
  }

  .main {
    padding: 1.25rem 0.313rem;
    text-align: center;
    font-weight: bold;
  }

  .list {
    border-bottom: 0.063rem solid $color-gray-line;
    padding: 0.063rem 0.625rem;
    text-align: center;
    font-size: 0.875rem;
    margin-bottom: 0.625rem;
    display: flex;
    justify-content: center;

    &:last-child {
      border-bottom: none;
      margin-bottom: 0;
    }

    .first-team-name,
    .second-team-name {
      color: $color-black;
      min-width: max-content;
      display: flex;
      width: 50%;
    }

    .first-team-name {
      justify-content: flex-end;
    }

    .second-team-name {
      justify-content: flex-start;
    }

    .versus {
      color: $color-primary-dark-light;
      margin: 0 0.3125rem;
      display: flex;
      justify-content: center;
      width: 10%;
    }
  }

  .footer {
    display: flex;
    justify-content: center;
    gap: 0.625rem;

    .btn {
        text-transform: uppercase;
        background-color: $color-primary-dark-light;
        color: $color-white;
        padding: 0.625rem;
        min-width: 6.438rem;
        text-align: center;
        text-decoration: none;
        border-radius: 0.3125rem;
        font-weight: bold;
        font-size:  0.875rem;
        transition: 0.3s ease-in;

      &:hover {
        background-color: $color-button-hover-pap;
      }
      }      
  }
}
