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

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  z-index: 1000;
  padding-bottom: 170px;

  @media screen and (max-width: calc(976px + 40px)) {
    padding: 20px;
  }

  .text1 {
    font-size: 24px;
    font-weight: 500;
    color: #616161;
    margin-bottom: 30px;
    text-align: center;

    @media screen and (max-width: 660px) {
      font-size: 18px;
      max-width: 250px;
    }
  }

  .text2 {
    margin-bottom: 70px;
    gap: 15px;
    display: flex;
    flex-wrap: wrap;
    // text-align: center;
    align-items: center;

    & > span {
      font-size: 57px;
      font-weight: 700;
      color: #000;
      text-align: center;

      @media screen and (max-width: calc(820px + 40px)) {
        width: 100%;
      }

      @media screen and (max-width: 660px) {
        font-size: 47px;
      }
    }

    @media screen and (max-width: 660px) {
        margin-bottom: 40px;
      }
  }

  .searchContainer {
    width: 100%;
    max-width: 976px;
    border-radius: 200px;
    height: 77px;
    background-color: #fff;
    box-shadow: #4271D614;
    padding: 11px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    justify-content: space-between;


    @media screen and (max-width: 770px) {
      display: flex;
      flex-direction: column;
      height: fit-content;
      border-radius: 20px;
    }
    

    .radios {
      width: 100%;
      display: flex;
      flex-direction: row;
      align-items: center;
      overflow: auto;
      max-width: 200px;
      scrollbar-width: none;
      gap: 20px;
      position: relative;
      padding-right: 70px;
      min-height: 50px;
      height: 50px;
      &::-webkit-scrollbar{
        display: none;
      }

      @media screen and (max-width: 770px) {
      max-width: 100%;
      }

      .radioonly {
        display: flex;
      flex-direction: row;
      align-items: center;
      }

    }
    

    .input {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 10px;
      width: 50%;

      @media screen and (max-width: 770px) {
        width: 100%;
        border: 1px solid #DDDDDD;
        padding: 10px 15px;
        border-radius: 100px;
        margin: 10px 0;
      }

      .inputBase {
        flex: 1;
      }
    }
    .button {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 10px;

      @media screen and (max-width: 770px) {
      width: 100%;
      }

      .inputBase {
        flex: 1;
      }
    }



    .divisor {
      width: 1px;
      height: 100%;
      background-color: #DDDDDD;
      position: relative;

      @media screen and (max-width: 770px) {
      width: 100%;
      height: 1px;
      }

      .arrowRight {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: -27px;
        cursor: pointer;
      }
    }
    
  }
}

.card {
  flex: 1;
  height: 129px;
  row-gap: 15px;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 15px;
  margin-bottom: 20px;

  
  @media screen and (max-width: 700px) {
    height: fit-content;
  }

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

  .button {
    flex: 1;
    height: 33px;
    padding: 0 20px;
    border-radius: 100px;
    border: 1px solid $primary-color;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;

    @media screen and (max-width: 700px) {
      min-width: 47.5% !important;
    }

    color: $primary-color;
    font-size: 16px;
    text-transform: capitalize;
  }
}

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

  

  .cardLimit {
    width: 30%;

    @media screen and (max-width: 700px) {
      min-width: 100%;
    }

    .buttonrowOfCards {
        flex: 1;
        height: 33px;
        padding: 0 20px;
        border-radius: 100px;
        border: 1px solid $primary-color;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: #fff;

        @media screen and (max-width: 700px) {
          min-width: fit-content !important;
          width: fit-content !important;
        }

        color: $primary-color;
        font-size: 16px;
        text-transform: capitalize;
      }

    .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;
}

.buttons {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  .buttonfilters {
    @media screen and (max-width: 770px) {
      display: none;
    }
  }
  .buttonfiltersresp {
    display: none;
    padding: 0 43px;
    border-radius: 100px;
    height: 53.90px;
    background: #F1F1F1;
    border: 1px solid #F1F1F1;
    color: #7A7A7A;
    @media screen and (max-width: 770px) {
      display: flex;
        width: 47.5%;

    }
  }

  .buttonStyle {
    padding: 0 43px;
    border-radius: 100px;
    height: 53.90px;
    background: #fff;
    border: 1px solid #13A407;
    color: #13A407;
    
  }
}

.buttonsFilters {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 100%;

  @media screen and (max-width: 770px) {
    width: 100%;
  height: fit-content;

  }

  .buttonfilters {
    @media screen and (max-width: 770px) {
      display: none;
    }
  }
  .buttonfiltersresp {
    display: none;
    padding: 0 43px;
    border-radius: 100px;
    height: 53.90px;
    background: #F1F1F1;
    border: 1px solid #F1F1F1;
    color: #7A7A7A;
    @media screen and (max-width: 770px) {
      display: flex;
        width: 47.5%;

    }
  }

  .search {
      width: 161px;
      height: 100%;
      color: #fff;
      border-radius: 100px;
      border: 1px solid $primary-color;
      &:hover{
        background: #fff;
        color: $primary-color;
      }
      @media screen and (max-width: 770px) {
        width: 47.5%;
      }
    }
}