@use '../../../../assets/scss/customVariables.scss' as *;

.filtersModalContainer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 22px;

  .header {
    width: 100%;
    height: 151px;
    gap: 20px;
    border-bottom: 1px solid #DDDDDD;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .content {
    width: 100%;
    height: 417px;
    min-height: 417px;
    max-height: 417px;
    overflow: auto;
    padding: 0 22px;

    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;

    -webkit-mask: linear-gradient(
      90deg,
      transparent,
      white 5%,
      white 95%,
      transparent
    );

    mask: linear-gradient(
      90deg,
      transparent,
      white 5%,
      white 95%,
      transparent
    );


    &::-webkit-scrollbar {
      width: 10px;
      border-radius: 5px;
    }

    &::-webkit-scrollbar-track {
      background: #f1f1f1;
      border-radius: 5px;
    }

    &::-webkit-scrollbar-thumb {
      background: #888;
      border-radius: 5px;
    }

    &::-webkit-scrollbar-thumb:hover {
      background: #555;
    }


    .contentFill {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
    }


    .card {
      width: 100%;
      row-gap: 15px;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      column-gap: 15px;
      margin-bottom: 20px;

      .title {
        font-size: 17px;
        font-weight: 600;
        color: #000000;
        width: 100%;
        text-align: center;
      }

      .button {
        flex: 1;
        height: 33px;
        min-width: 47%;
        padding: 0 20px;
        border-radius: 100px;
        border: 1px solid $primary-color;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        white-space: nowrap;

        color: $primary-color;
        font-size: 16px;
      }
    }

    .rowOfCards {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;
      gap: 10px;

      .cardLimit {
        width: 100%;

        .inputRow {
          width: 100%;
          display: flex;
          flex-direction: row;
          align-items: center;
          justify-content: space-between;

          .input {
            width: 47.5%;
            border: 1px solid #DDDDDD;
            padding: 0 10px;
            height: 38px;
            border-radius: 7px;
          }
        }
      }
      
    }

    .divisor {
      width: 100%;
      box-sizing: border-box;
      height: 1px;
      background-color: #DDDDDD;
    }
  }

  .footer {
    width: 100%;
    height: 93px;
    gap: 20px;
    padding: 0 44px;
    border-top: 1px solid #DDDDDD;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    @media screen and (max-width: 790px) {
      padding: 0 20px;
    }

    .clean {
      border-radius: 100px;
      background-color: #fff;
      border: 1px solid #13A407;
      color: #13A407;
      width: 132.26px;
      height: 46.37px;
    }

    .viewResults {
      border-radius: 100px;
      width: 186.37px;
      height: 46.37px;
      
      &:hover {
        background-color: #4271D6;
      }
    }
  }
}
