.report-form {
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  border: 1px solid rgb(213, 213, 213);
  border-radius: 10px;

  label {
    font-size: 22px;
    font-weight: 400;
    line-height: 26px;
    color: rgb(50, 48, 58);
  }

  &__input {
    width: 100%;
    max-width: 801px;
    display: flex;
    flex-direction: column;
    gap: 22px;

    input,
    textarea {
      height: 52px;
      padding: 16px 20px;
      width: 100%;
      border: 1px solid rgb(197, 198, 197);
      border-radius: 6px;
      background: rgb(255, 255, 255);
      font-size: 17px;
      font-weight: 400;
      line-height: 20px;
      color: rgb(50, 48, 58);
    }

    textarea {
      height: 276px;
    }

    ::placeholder {
      font-size: 18px;
      font-weight: 400;
      line-height: 22px;
      color: rgb(197, 198, 197);
    }

    p {
      color: rgb(240, 68, 56);
    }
  }

  &__error {
    color: rgb(240, 68, 56);
  }

  &__map {
    width: 100%;
    height: 410px;
    display: grid;
    grid-template-columns: 1fr 286px;
    border: 1px solid rgb(197, 198, 197);
    border-radius: 6px;

    .leaflet-container {
      border-top-left-radius: 6px;
      border-bottom-left-radius: 6px;
    }
  }

  &__info {
    padding: 24px;
    padding-right: 10px;
    display: flex;
    flex-direction: column;
    gap: 11px;

    h4 {
      font-size: 18px;
      font-weight: 500;
      line-height: 22px;
      color: rgb(50, 48, 58);
    }

    p {
      font-size: 16px;
      font-weight: 400;
      line-height: 140%;
      color: rgb(50, 48, 58);
      span {
        color: rgb(102, 102, 102);
      }
    }

    p:last-child {
      margin-top: 42px;
      color: rgb(0, 0, 0);
    }
  }

  &__add-images {
    display: flex;
    flex-direction: column;
    gap: 16px;

    p {
      font-size: 18px;
      font-weight: 400;
      line-height: 22px;
      color: rgb(102, 102, 102);
    }

    &-error {
      color: rgb(240, 68, 56) !important;
    }

    input[type="file"] {
      display: none;
    }
  }

  &__upload {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
    color: rgb(50, 48, 58);
    cursor: pointer;

    span {
      color: rgb(176, 176, 176);
      cursor: auto;
    }
  }

  &__images {
    display: flex;
    align-items: center;
    gap: 20px;
    overflow: hidden;
    overflow-x: auto;

    &::-webkit-scrollbar {
      display: none;
    }

    div {
      display: flex;
      flex-direction: column;
      gap: 8px;
      img {
        width: 187px;
        height: 187px;
        object-fit: cover;
      }

      button {
        width: fit-content;
        align-self: flex-end;
        font-size: 16px;
        font-weight: 500;
        line-height: 20px;
        text-decoration: underline;
        color: rgb(50, 48, 58);
      }
    }
  }

  button[type="submit"] {
    margin-top: 40px;
    padding: 15px;
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgb(72, 159, 225), rgb(72, 159, 225);
    border-radius: 5px;
    background-color: rgb(72, 159, 225);
    color: rgb(255, 255, 255);
    font-size: 22px;
    font-weight: 400;
    line-height: 26px;
  }
}

@media screen and (max-width: 768px) {
  .report-form {
    padding: 36px 20px;
    gap: 30px;

    label {
      font-size: 20px;
      line-height: 24px;
    }

    &__input {
      gap: 14px;
    }

    &__map {
      grid-template-columns: 1fr;
      height: fit-content;

      .leaflet-container {
        height: 410px;
        border-radius: 6px;
      }
    }
  }
}

@media screen and (max-width: 550px) {
  .report-form {
    border: none;
    border-radius: 0;
    padding: 0;
    gap: 26px;

    label {
      font-size: 16px;
      line-height: 20px;
    }

    &__input {
      gap: 6px;

      textarea {
        height: 130px;
      }
    }

    &__map {
      .leaflet-container {
        height: 370px;
      }
    }

    &__info {
      padding: 20px 10px;
      h4 {
        font-size: 16px;
        line-height: 19px;
      }
    }

    &__add-images {
      p {
        font-size: 16px;
        line-height: 19px;
      }
    }

    button[type="submit"] {
      margin-top: 10px;
      width: 100%;
      justify-content: center;
      font-size: 19px;
      line-height: 24px;
    }
  }
}
