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

.container {
  width: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;

  .profileContainer {
    width: 100%;
    min-height: 492px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    margin: 40px auto;
    gap: 30px;
    max-width: $max-width-layout;


    @media screen and (max-width: 750px) {
      flex-direction: column;
      align-items: center;
    }

    
    .mapPart {
      flex: 1;
      min-height: 492px;
      border-radius: 13.42px;
      background-color: #e7e7e7;
      box-shadow: 0 0 10px #00000012;
      position: relative;
      overflow: hidden;

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

        min-height: 292px;
      }

      .legend {
        width: 100%;
        height: 167px;
        background-color: #fff;
        position: absolute;
        bottom: 0;
        left: 0;
        box-sizing: border-box;
        padding: 17px 24px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;

        .name {
          font-size: 19.86px;
          line-height: 45.55px;
          font-weight: 700;
          color: $primary-color;
        }
        
        .label {
          font-size: 19.86px;
          line-height: 45.55px;
          font-weight: 500;
          color: #5E5E5E;
        }
        .email {
          font-size: 16.66px;
          line-height: 45.55px;
          font-weight: 400;
          color: #5E5E5E;
        }
      }

      .shadow {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background-color: #6D6D6D7a;

        & > p {
          font-weight: 700;
          font-size: 38px;
          line-height: 77.12px;
          color: #E9E8E8;
        }
      }
    }
  }

  .properties {
    width: 100%;
      min-height: calc(100vh - 300px);
      padding-bottom: 40px;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      align-items: center;
      margin: 0 auto;
      max-width: $max-width-layout;
      gap: 20px;

      .filters {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        margin-bottom: 15px;

        .addProperty {
          background: #ffffff;
          border: 1px solid #13A407;
          color: #13A407;
          height: 38px;
          width: 172px;
          padding: 0 21px;
          border-radius: 7px;
          display: flex;
          flex-direction: row;
          align-items: center;
          justify-content: center;
        }
      }


      @media screen and (max-width: 900px) {
        flex-direction: column;
      }

      .title {
        font-size: 50px;
        font-weight: 700;
        line-height: 65px;
        color: #000000;
        text-align: center;
        margin: 0 auto;
        margin-bottom: 40px;
      }

      .error {
        width: 100%;
        height: 70%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
      }

      .propertiesRowWrap {
        width: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        row-gap: 20px;
        gap: 20px;
      }

      .noData {
        flex: 1;
        min-height: 300px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;

        & > p {
          font-size: 20px;
          font-weight: 500;
          color: #DDDDDD;
        }
      }

      .paginationContainer {
        width: 100%;
        margin-top: 15px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
      }
    }


}