.modal {
  h2 {
    color: #DC0032;
    margin-bottom: 65px;
  }

  button {
    @include flexbox-centered;
    position: absolute;
    width: 51px;
    min-width: 51px;
    border-radius: 50%;
    height: 51px;
    background-color: #fff;
    border: 0;
    outline: 0;
    right: -20px;
    top: 20px;
    transition: background ease .3s;

    svg path {
      transition: all ease .3s;
    }

    &:hover {
      background: linear-gradient(244.49deg, #FE0087 11.55%, #FF0019 88.45%);

      svg path {
        stroke: #fff;
      }
    }
  }

  input[type="submit"] {
    border: 2px solid #DC0032;
    color: #DC0032;

    &:hover {
      background-color: #DC0032;
      color: #fff;
    }
  }
}

.modal-tabela {
  .modal-dialog {
    max-width: unset;

    // Telas até SM
    @include media($xs-max) {
      margin: 0;
    }
    
    .modal-content {
      padding-top: 120px;
      padding-left: 140px;
      position: relative;
      background-image: url("assets/images/bg-modal.webp");
      background-size: cover;
      background-position: top center;
      background-repeat: no-repeat;
      width: 550px;
      max-width: 100%;
      min-height: 657px;
      background-color: transparent;
      border: 0;
      outline: 0;

      h3 {
        font-size: 36px;
        margin-bottom: 0px;
      }
      
      p {
        font-size: 20px;
        font-weight: 700;
        text-transform: uppercase;
        text-align: start;
      }

      .linha-tabela {
        max-width: 90%;
        font-size: toRem(15);
        font-weight: 700;
        height: 25px;
        align-items: center;
        border-top: 2px solid #ff4c85;
        color: #fff;
        white-space: nowrap;

        &:first-of-type {
          margin-top: 15px;
        }

        &:last-of-type {
        border-bottom: 2px solid #ff4c85;
        }
      }

      // Telas até SM
      @include media($xs-max) {
        padding-left: 50px;
      }
    }
  }
}

.modal-contato {
  .modal-dialog {
    max-width: unset;

    .modal-content {
      width: 1090px;
      max-width: 100%;
      margin: 0 auto;
      background-color: #fff;
      border-radius: 5px;
      padding: 60px 75px;

      form {
        max-width: 923px;
        margin: 0 auto;
      }

      // Telas até SM
      @include media($xs-max) {
        padding-left: 30px;
        padding-right: 30px;

        h2 {
          margin-bottom: 30px;
        }
      }
    }
  }
}