.custom_form {
  width: 100%;
}

/* ======================================================
   FORM HEADING
====================================================== */

.custom_form .custom_form__table_header {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.custom_form .custom_form__form_heading {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
}

.custom_form .custom_form__table_row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
}

/* ======================================================
   TOP SECTION
====================================================== */

.custom_form .custom_form__metric_top {
  background: #fff5f5 0% 0% no-repeat padding-box;
  padding: 20px 40px;
  border-radius: 8px;
}

.custom_form .custom_form__metric_heading {
  font-size: 18px;
  font-weight: 600;
  color: #000000;
}

.custom_form .custom_form__selection_div {
  margin-top: 15px;
}

.custom_form .custom_form__radio_grp {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ======================================================
   METRIC OPTION
====================================================== */

.custom_form .custom_form__metric_option {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  width: 260px;
  cursor: pointer;
}

.custom_form .custom_form__metric_option input {
  /* margin-top: 5px; */
  /* width: 18px;
    height: 18px; */
  cursor: pointer;
}

.custom_form .custom_form__metric_option--active .custom_form__metric_title {
  color: #bb0000;
}

.custom_form .custom_form__metric_title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.custom_form .custom_form__metric_text {
  font-size: 13px;
  color: #676767;
  margin: 0;
  line-height: 22px;
}

/* ======================================================
   MEASUREMENT TABLE
====================================================== */

.custom_form .custom_form__measurement_table {
  width: 100%;
  margin-top: 25px;
}

/* ======================================================
   COMMON COLUMN
====================================================== */

.custom_form .custom_form__common_col {
  background-color: #f5f5f5;
  border: 1px solid #70707029;
  border-radius: 4px;
  padding: 0 15px;
  height: 45px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  font-size: 16px;
  font-weight: 600;
}

/* ======================================================
   HEADER + ROW
====================================================== */

/* ======================================================
   COLUMN WIDTHS
====================================================== */

.custom_form .custom_form__field_col,
.custom_form .custom_form__field_display_box {
  flex: 2;
}

.custom_form .custom_form__measure_col,
.custom_form .custom_form__measure_input_wrapper {
  flex: 1.5;
}

.custom_form .custom_form__unit_dropdown,
.custom_form .custom_form__unit_display_box {
  flex: 0.6;
}

/* ======================================================
   FIELD DISPLAY
====================================================== */

.custom_form .custom_form__field_display_box {
  display: flex;
  gap: 12px;
  align-items: center;
}
.custom_form .flex-row-c {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.custom_form .custom_form__icon_box {
  width: 50px;
  height: 45px;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  flex-shrink: 0;
}

.custom_form .custom_form__icon_img {
  width: 28px;
  height: auto;
}

.custom_form .custom_form__item_span {
  font-weight: 500;
}

/* ======================================================
   INPUT
====================================================== */

.custom_form .custom_form__measure_input {
  width: 100%;
  height: 45px;
  border: none;
  background: #f5f5f5;
  padding: 0 15px;
  border-radius: 4px;
  box-sizing: border-box;
  outline: none;
  font-size: 15px;
}

.custom_form .custom_form__measure_input::placeholder {
  color: #a0a0a0;
}

/* ======================================================
   UNIT BOX
====================================================== */

.custom_form .custom_form__unit_display_box {
  height: 45px;
  background: #f5f5f5;
  min-width: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  font-weight: 600;
  border: 1px solid #70707029;
}

/* ======================================================
   SAVE OPTION
====================================================== */

.custom_form .custom_form__save_box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.custom_form .custom_form__save_box label {
  font-size: 14px;
  color: #444;
}

/* ======================================================
   EXPERT VIEW
====================================================== */

.custom_form .custom_form__expert_measurement_view {
  margin-top: 30px;
}

.custom_form .custom_form__expert_text_red {
  font-size: 18px;
  font-weight: 700;
  color: #bb0000;
  margin-bottom: 5px;
}

.custom_form .custom_form__expert_text_sub {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  max-width: 700px;
}

/* ======================================================
   TAILOR OPTIONS
====================================================== */

.custom_form .custom_form__tailor_options {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.custom_form .custom_form__tailor_label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
}

.custom_form .custom_form__tailor_label input {
  width: 18px;
  height: 18px;
}

.custom_form .custom_form__tailor_label--active span {
  color: #bb0000;
}

/* ======================================================
   RESPONSIVE
====================================================== */

@media (min-width: 768px) and (max-width: 991px) {
  .custom_form .custom_form__radio_grp {
    gap: 40px;
  }

  .custom_form .custom_form__measurement_table {
    width: 100%;
  }

  .custom_form .custom_form__metric_heading {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .custom_form .custom_form__table_row {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .custom_form .custom_form__unit_dropdown,
  .custom_form .custom_form__unit_display_box {
    flex: unset;
  }

  .custom_form .custom_form__table_header {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .custom_form .custom_form__field_col,
  .custom_form .custom_form__field_display_box {
    flex: unset;
  }

  .custom_form .custom_form__measure_col,
  .custom_form .custom_form__measure_input_wrapper {
    flex: unset;
  }

  .custom_form .custom_form__metric_top {
    padding: 15px;
  }

  .custom_form .custom_form__radio_grp {
    gap: 15px;
    flex-direction: column;
    align-items: flex-start;
  }

  .custom_form .custom_form__metric_option {
    width: 100%;
    gap: 12px;
  }

  .custom_form .custom_form__measurement_table {
    width: 100%;
  }

  .custom_form .custom_form__field_display_box {
    flex-direction: row;
    align-items: center;
  }

  .custom_form .custom_form__icon_box {
    width: 45px;
    height: 45px;
  }

  .custom_form .custom_form__item_span {
    font-size: 14px;
  }

  .custom_form .custom_form__measure_input {
    font-size: 14px;
  }

  .custom_form .custom_form__unit_display_box {
    justify-content: flex-start;
    padding: 0 15px;
    font-size: 14px;
  }

  .custom_form .custom_form__metric_heading {
    font-size: 15px;
  }

  .custom_form .custom_form__metric_title {
    font-size: 14px;
  }

  .custom_form .custom_form__metric_text {
    font-size: 12px;
  }

  .custom_form .custom_form__expert_text_sub {
    font-size: 14px;
  }

  .custom_form .custom_form__form_heading {
    font-size: 18px;
  }
}
