/* BREADCRUMB STYLE  */
.breadcrumb {
  margin-inline: 6%;
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.breadcrumb__link {
  color: var(--subTextColor);
  font-size: 14px;
  transition: linear 0.2s;
}

.breadcrumb__link:hover {
  color: var(--TextColor);
}

.breadcrumb__link.active {
  pointer-events: none;
  color: var(--TextColor);
}
/* end BREADCRUMB STYLE */

/* FORM REPORT STYLE */
.form-report {
  max-width: 830px;
  margin-inline: auto;
  margin-top: 8px;
  padding-bottom: 100px;
}

.form__heading {
  text-align: center;
  margin-bottom: 16px;
}

.form__group-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  position: relative;
}

.form__title {
  font-weight: 500;
  width: max-content;
}

.form__title span {
  color: var(--redColor);
}

.form__input,
.form__textarea {
  padding: 10px 12px;
  border-radius: 8px;
  background-color: var(--bgColor3);
  border: none;
  outline: none;
  color: var(--TextColor);
}

.form__textarea {
  resize: none;
  height: 64px;
  overflow: hidden;
  margin-bottom: 24px;
}

.form__upload-wrap {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.form__upload-group {
  max-width: 128px;
  height: 114px;
  width: 100%;
  border-radius: 8px;
  background-color: var(--bgColor3);
  position: relative;
}

.form__upload {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.form__upload-text {
  color: var(--subTextColor);
  font-size: 14px;
}

.form__image-preview {
  width: 128px;
  height: 114px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.form__preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.form__preview-remove {
  width: 32px;
  height: 32px;
  border-radius: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  cursor: pointer;
  top: 4px;
  right: 4px;
}

.form__preview-remove > * {
  pointer-events: none;
}

.form__action-group {
  display: flex;
  align-items: center;
  gap: 30px;
}

.form__action-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form__radio-input {
  width: 21px;
  height: 21px;
}

.form__title-radio {
  font-weight: 500;
  color: #cccccc;
}

.form-report__btn {
  margin-top: 40px;
  margin-inline: auto;
  display: block;
}
/* end FORM REPORT STYLE */

/* REPONSIVE STYLE */

/* Mobile & Tablet */
@media only screen and (max-width: 1023px) {
  .breadcrumb {
    margin-top: var(--headerHeight);
    padding-top: 16px;
    margin-inline: 16px;
  }

  .form-report {
    max-width: 100%;
    margin-top: 16px;
    padding-inline: 16px;
    padding-bottom: 40px;
  }

  .form__heading {
    font-size: 26px;
  }

  .form__group-wrap {
    flex-wrap: wrap;
    gap: 24px;
  }

  .form__upload-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .form__image-preview,
  .form__upload-group {
    max-width: 100%;
    width: 100%;
    height: 120px;
  }
}

/* Mobile */
@media only screen and (max-width: 739px) {
  .form__action-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}
/* end REPONSIVE STYLE */
