/* Product-owned management-fee usage gauge. */
.print {
  .pmf-usage-gauge {
    width: 100%;
    max-width: 64mm;
  }

  .pmf-usage-gauge-body {
    box-sizing: border-box;
    width: 100%;
    height: 0;
    padding-bottom: 50%;
    /* background: red; */
    position: relative;
    border-top-left-radius: 100% 200%;
    border-top-right-radius: 100% 200%;
    overflow: hidden;
  }

  .pmf-usage-gauge-fill-red {
    box-sizing: border-box;
    position: absolute;
    top: 100%;
    left: 0;
    width: inherit;
    height: 100%;
    border-top: 0.5mm solid var(--print-color-white);
    background: var(--print-color-red-500);
    transform-origin: center top;
    transform: rotate(180deg);
    transition: transform 0.4s ease-out;
  }

  .pmf-usage-gauge-fill-deep-orange {
    box-sizing: border-box;
    position: absolute;
    top: 100%;
    left: 0;
    width: inherit;
    height: 100%;
    border-top: 0.5mm solid var(--print-color-white);
    background: var(--print-color-orange-600);
    transform-origin: center top;
    transform: rotate(150deg);
    transition: transform 0.4s ease-out;
  }

  .pmf-usage-gauge-fill-orange {
    box-sizing: border-box;
    position: absolute;
    top: 100%;
    left: 0;
    width: inherit;
    height: 100%;
    border-top: 0.5mm solid var(--print-color-white);
    background: var(--print-color-amber-500);
    transform-origin: center top;
    transform: rotate(120deg);
    transition: transform 0.4s ease-out;
  }

  .pmf-usage-gauge-fill-yellow {
    box-sizing: border-box;
    position: absolute;
    top: 100%;
    left: 0;
    width: inherit;
    height: 100%;
    border-top: 0.5mm solid var(--print-color-white);
    background: var(--print-color-yellow-500);
    transform-origin: center top;
    transform: rotate(90deg);
    transition: transform 0.4s ease-out;
  }

  .pmf-usage-gauge-fill-lime {
    box-sizing: border-box;
    position: absolute;
    top: 100%;
    left: 0;
    width: inherit;
    height: 100%;
    border-top: 0.5mm solid var(--print-color-white);
    background: var(--print-color-lime-500);
    transform-origin: center top;
    transform: rotate(60deg);
    transition: transform 0.4s ease-out;
  }

  .pmf-usage-gauge-fill-green {
    box-sizing: border-box;
    position: absolute;
    top: 100%;
    left: 0;
    width: inherit;
    height: 100%;
    border-top: 0.5mm solid var(--print-color-white);
    background: var(--print-color-green-500);
    transform-origin: center top;
    transform: rotate(30deg);
    transition: transform 0.4s ease-out;
  }

  .pmf-usage-gauge-cover-back {
    box-sizing: border-box;
    width: 75%;
    height: 150%;
    background-color: var(--print-color-white);
    position: absolute;
    border-radius: 50%;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding-bottom: 25%; */
  }

  .pmf-usage-gauge-fill {
    position: absolute;
    box-sizing: content-box;
    top: 100%;
    left: 12.5%;
    width: 37.5%;
    height: 100%;
    border-top: 0.5mm solid var(--print-color-blue-500);
    background: var(--print-color-transparent);
    transform-origin: top right;
    transform: rotate(115deg);
    transition: transform 0.5s ease-out;
  }

  .pmf-usage-gauge-cover-front {
    box-sizing: border-box;
    width: 65%;
    height: 135%;
    background-color: var(--print-color-blue-50);
    position: absolute;
    border-radius: 50%;
    top: 35%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    /* padding-bottom: 25%; */
  }
}
