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

.rdg-blocks .rdg-previews-and-predictions {
  padding: 20px 0;
  border-radius: 0.8rem;
  background-color: $color-white;
  max-width: 295px;

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

  .main {
    padding: 20px 5px;
    text-align: center;
    font-weight: bold;
  }

  .list {
    border-bottom: 1px solid $color-gray-line;
    padding: 1px 10px;
    text-align: center;
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;

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

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

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

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

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

  .footer {
    display: flex;
    justify-content: center;
    gap: 10px;

    .btn {
        text-transform: uppercase;
        background-color: $color-primary-dark-light;
        color: $color-white;
        padding: 10px;
        min-width: 136px;
        text-align: center;
        text-decoration: none;
        border-radius: 5px;
        font-weight: bold;
        font-size: 14px;
        transition: 0.3s ease-in;

      &:hover {
        background-color: #013b6b;
      }
      }      
  }
}
