  /* Consumption and Coverage Calculator Designed and Developed by Farviz Nathershaw */

  :root {
    --blue: #0b66b3;
    --light: #f5f6f7;
    --muted: #666;
    --border: 2px solid var(--blue);
    --panel-pad: 28px;
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  }

  html,
  body {
    height: 100%;
    background: var(--light);
    margin: 0
  }

  .wrap {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 42px 18px
  }

  .card {
    width: 900px;
    max-width: 95vw;
    background: #fff;
    border: var(--border);
    box-shadow: 0 2px 0 rgba(11, 102, 179, 0.06);
    padding: 26px 30px 36px;
    box-sizing: border-box;
  }

  .logo {
    display: flex;
    justify-content: center;
    margin-bottom: 6px
  }

  .title {
    text-align: center;
    font-weight: 700;
    color: #111;
    font-size: 20px;
    letter-spacing: 1px;
    margin: 8px 0 18px
  }

  .layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px
  }

  /* left form column */
  /*.form-left{
    padding-right:8px
  }
    */
  .user-inputs {
    background: var(--light);
    padding: var(--panel-pad);
    border-radius: 4px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 12px 0
  }

  .label {
    width: 210px;
    font-size: 14px;
    color: var(--muted);
  }

  .control {
    flex: 1
  }

  select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #d6d6d6;
    border-radius: 3px;
    font-size: 14px
  }

  input {
    /* width: 100%; */
    padding: 8px 10px;
    border: 1px solid #d6d6d6;
    border-radius: 3px;
    font-size: 14px
  }

  .specs {
    margin-top: 8px
  }

  .specs .row {
    margin-top: 8px
  }

  .spec-val {
    color: #111;
    font-weight: 600
  }

  /* right output column */
  .right-panel {
    display: flex;
    flex-direction: column;
    gap: 14px
  }

  .inputs {
    background: transparent;
    padding: 6px 8px;
    border-radius: 2px
  }

  .inputs .row {
    margin: 10px 0
  }

  .inputs .label {
    width: 140px
  }

  .inputs input {
    padding: 8px;
    border: 1px solid #cfcfcf;
    border-radius: 3px
  }

  .output {
    background: #fff6c7;
    border: 1px solid #f1e7a6;
    padding: 14px;
    border-radius: 4px;
    box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.02);
    border-bottom: 1px dashed rgba(0, 0, 0, 0.04);
  }

  .output h4 {
    margin: 0 0 8px;
    font-size: 15px;
    color: #333
  }

  .output .item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.09)
  }

  .item-numbers {
    font-weight: 700;
    color: #ff0000;
    font-size: 21px;
  }

  /* .item-pail {
    font-size: 15px;
    font-weight: 700;
    color: rgb(168, 0, 0);
  } */

  .output .item:last-child {
    border-bottom: 0
  }

  .output .label {
    color: #666
  }

  .output .value {
    font-weight: 700;
    color: #111
  }

  /* buttons */
  .actions {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 22px
  }

  .btn {
    padding: 10px 22px;
    border-radius: 4px;
    font-weight: 600;
    border: 1px solid #cfcfcf;
    background: #fff;
    cursor: pointer
  }

  .btn.primary {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue)
  }

  .btn.ghost {
    background: #fff;
    color: var(--blue);
    border-color: var(--blue)
  }

  .btn.secondary {
    background: #fff;
    color: #333
  }

  .back-home {
    display: block;
    text-align: center;
    margin-top: 18px;
    color: var(--blue);
    text-decoration: underline
  }

  .item-specific-gravity {
    display: none;
  }

  .item-selected-packing {
    display: none;
  }

  .calc-output {
    padding-top: 30px;
  }

  .disclaimer {
    margin-top: 30px;
    font-size: 11px;
    color: #555;
    background: #f9f9f9;
    padding: 15px;
    border-left: 4px solid var(--blue);
    line-height: 1.5;
    max-width: 900px;
  }

  .disclaimer strong {
    color: var(--blue);
  }

  .info-icon {
    display: inline-block;
    position: relative;
    cursor: pointer;
    font-size: 14px;
    color: var(--blue);
    font-weight: bold;
    margin-left: 6px;
  }

  .tooltip-text {
    visibility: hidden;
    width: 320px;
    background-color: #fff;
    color: #333;
    text-align: left;
    border-radius: 4px;
    padding: 10px;
    border: 1px solid #ccc;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    /* Show above */
    left: 50%;
    margin-left: -160px;
    /* Half width */
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
    line-height: 1.4;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .info-icon:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
  }

  /* responsive */
  @media (max-width:920px) {
    .layout {
      grid-template-columns: 1fr
    }

    .right-panel {
      order: 2
    }

    .form-left {
      order: 1
    }

    .label {
      width: 150px
    }
  }

  @media print {
    body * {
      visibility: hidden;
      /* Hide Page Content */
    }

    #printReport,
    #printReport * {
      visibility: visible;
      /* Show Reports Only */
    }

    #printReport {
      visibility: visible;
      /* Show Reports Only */
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
    }

    #printReport table {
      width: 100%;
      border-collapse: collapse;
      margin-bottom: 18px;
      font-size: 14px;
    }

    #printReport td {
      padding: 4px 8px;
      vertical-align: top;
    }

    #printReport td:first-child {
      /* First column = labels */
      width: 40%;
      text-align: left;
      /* adjust to your liking */
    }

    #printReport td:last-child {
      /* Second column = values */
      width: 40%;
      text-align: left;
      /* keep values near the label, not far right */
      font-weight: 500;
    }
  }