/*
 REVIEW PAGE EXT - FOR BOOLEAN FIELDS 
*/

/* Apply only to review-table, boolean cells */
table[data-name="review-table"]
td.boolean-radio-cell
div.control {
  float: right;
  width: 40%;
  min-width: 0;
  text-align: right;
}

/* Hide ALL original boolean rendering */
table[data-name="review-table"]
td.boolean-radio-cell
span.aspNetDisabled,
table[data-name="review-table"]
td.boolean-radio-cell
span.boolean-radio {
  display: none;
}

/* YES case */
table[data-name="review-table"]
td.boolean-radio-cell
div.control:has(input[type="hidden"][value="1"])::before {
  content: "Yes";
}

/* NO case */
table[data-name="review-table"]
td.boolean-radio-cell
div.control:has(input[type="hidden"][value="0"])::before {
  content: "No";
}

/* Value styling – matches original styling */
table[data-name="review-table"]
td.boolean-radio-cell
div.control::before {
  display: inline;
  font-weight: 400;
  line-height: 1.5;
}

/*  REVIEW PAGE EXT - CUSTOMER PRICE */

/* sets this element as the anchor for the absolute-positioned child */
td:has(#hso_customerprice) {
  padding-top: 15px;
  position: relative;
}

/* vertical bar next to notice element */
td:has(#hso_customerprice)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;          
  margin: auto;
  width: 6px;
  background-color: #00709e;
  border-radius: 6px;
  display: block;
  pointer-events: none;
}

/* display label text inline with price */
/* make the inner wrapper shrink to the input */
/* td:has(#hso_customerprice) .control * {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
} */

#hso_customerprice {
  font-weight: 700;
  font-size: 24px;
  padding-left: 20px;
}

#hso_customerprice_label {
  display: none;
}


