:host {
    display: block;
    font-family: Roboto;
    font-size: 14px;
    height: 100%;
    width: 100%;
  }
  
  /* Title container */
  .title-cont {
    align-items: center;
    background-color: #fff;
    box-shadow: 0px 0px 10px 1px #ccc;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #252525;
    font-size: 15px;
    font-weight: bold;
    height: 90px;
    letter-spacing: 0;
    position: relative;
    width: 100%;
  }
  
  .title-text {
    align-items: center;
    display: flex;
    padding: 7px 25px;
  }
  
  .title-icon {
    color: #d00;
    height: 32px;
    margin-right: 10px;
    width: 32px;
  }
  
  .nav-wrapper {
    display: flex;
    height: 100%;
  }
  
  .nav-title {
    padding: 0px 40px;
    color: #666;
    font-size: 16px;
    font-weight: 600;
    height: 100%;
    cursor: pointer;
    border-bottom: 2px solid transparent;
  }

  .nav-title:hover {
    color: #cc0000;
    border-bottom: 2px solid #cc0000;
  }

  .nav-title.active {
    color: #cc0000;
    border-bottom: 2px solid #cc0000;
    background-color: rgba(191, 51, 47, 0.12);
  }
  
  /* Bottom container */
  .bottom-container {
    display: flex;
    gap: 20px;
    overflow: auto;
    padding: 10px 30px;
    width: 100%;
  }
  
  .ts-bottom-container, .tsc-bottom-container {
    display: flex;
    gap: 20px;
    height: calc(100% - 90px);
    overflow: auto;
    padding: 10px 30px;
    width: 100%;
  }
  
  .bottom-container .title, .ts-bottom-container .title, .tsc-bottom-container .title {
    color: #cc0000;
    font-weight: bold;
    height: 30px;
    text-align: center;
  }
  
  .card-container {
    background-color: #f8f8f8;
    border: 0.5px dashed #979797;
    display: flex;
    padding: 20px;
    gap: 20px;
    overflow: auto;
    position: relative;
  }
  
  .ts-card-container {
    background-color: #f8f8f8;
    border: 0.5px dashed #979797;
    display: grid;
    grid-auto-rows: 1fr 1fr 10fr;
    height: calc(100% - 30px);
    padding: 20px;
    overflow: auto;
  }
  
  .tsc-card-container {
    background-color: #f8f8f8;
    border: 0.5px dashed #979797;
    display: grid;
    height: calc(100% - 30px);
    padding: 10px 20px;
    overflow: auto;
    position: relative;
  }
  
  .specs-wrapper {
    min-width: 350px;
    width: 55%;
  }
  
  /* Thermister Specifications */
  .thermistor-specs-wrapper {
    min-width: 350px;
    width: 38%;
  }
  
  .controls-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 10px;
    width: 60%;
  }
  
  .ts-controls-wrapper, .tsc-controls-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: space-between;
  }
  
  .controls-wrapper ~ .controls-wrapper, .ts-controls-wrapper ~ .ts-controls-wrapper, .tsc-controls-wrapper ~ .tsc-controls-wrapper {
    border-top: 1px dashed #979797;
    margin-top: 20px;
    padding-top: 20px;
  }
  
  .dashed {
    border-top: 1px dashed #979797;
    margin-top: 15px;
    padding-top: 10px;
  }
  
  .toggle-res {
    align-items: center;
    display: flex;
    justify-content: space-between;
  }

  .toggle-res .label {
    color: #6b6b6b;
    font-size: 14px;
    font-weight: normal;
  }
  
  .toggle-res .value {
    width: 150px;
    text-align: center;
  }

  .control {
    align-items: center;
    display: flex;
    justify-content: space-between;
  }
  
  .control .label {
    color: #6b6b6b;
    font-size: 14px;
    font-weight: normal;
  }
  
  .control .value {
    width: 150px;
    text-align: center;
  }

  .control .tsc-value {
    width: 180px;
  }
  
  .output-container {
    background-color: #f8f8f8;
    border: 0.5px dashed #979797;
    display: flex;
    padding: 20px;
    gap: 20px;
    overflow: auto;
    position: relative;
    height: calc(100% - 30px);
  }
  
  .values-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 100%;
  }
  
  .ts-values-wrapper {
    display: flex;
    justify-content: space-around;
    width: 100%;
  }
  
  .values-wrapper ~ .values-wrapper {
    border-top: 1px dashed #979797;
    margin-top: 20px;
    padding-top: 20px;
  }
  
  .output {
    align-items: center;
    display: flex;
    justify-content: space-between;
  }
  
  .output .label {
    color: #6b6b6b;
    font-size: 14px;
  }
  
  .rowhead {
    font-weight: 700;
  }
  
  .output .value {
    width: 180px;
  }
  
  .range-wrapper {
    width: 50%;
    display: flex;
    justify-content: space-between;
  }
  
  .control ti-widget-droplist {
    height: 100%;
    width: 100%;
  }
  
  .control ti-widget-droplist::shadow select#selectorList {
    box-shadow: unset !important;
    border: 0.5px solid #eee;
    border-radius: 3px;
    background-color: #fff;
    color: #98999b;
    font-family: Roboto !important;
    font-size: 12px !important;
    font-weight: bold !important;
    height: 100%;
    letter-spacing: 0;
    line-height: 13px;
    margin: unset !important;
    padding: 7px;
  }
  
  .block-diagram {
    width: 40%;
  }
  
  .block-diagram img {
    height: 100%;
    width: 100%;
    padding: 10px;
  }
  
  .ts-block-diagram img, .tsc-block-diagram img {
    height: 100%;
    width: 100%;
  }
  
  /* Calculate Button */
  .calc-btn-wrapper {
    align-items: center;
    display: flex;
    justify-content: center;
    min-width: 150px;
    width: 12%;
  }
  
  .calc-btn {
    align-items: center;
    background: #cc0000;
    border: unset;
    border-radius: 3px;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    font-family: Roboto;
    font-weight: bold;
    font-size: 12px;
    gap: 5px;
    height: 30px;
    justify-content: center;
    outline: unset;
    width: 145px;
  }

  .calc-btn-2 {
    align-items: center;
    background: #1C99C4;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-family: Roboto;
    font-weight: bold;
    font-size: 12px;
    gap: 0px;
    height: 27px;
    justify-content: space-between;
    outline: unset;
    width: 130px;
    border: none;
    margin-right:3px;
  }

  .calc-btn-2[disabled] {
    opacity: 0.3;
    cursor: not-allowed;
  }

  .calc-btn-2 .icon {
    height: 18px;
    width: 18px;
  }
  
  .calc-btn .icon {
    height: 18px;
    width: 18px;
  }
  
  /* Outputs */
  .outputs-wrapper {
    width: 33%;
  }
  
  .ts-outputs-wrapper, .tsc-outputs-wrapper {
    min-width: 570px;
    width: 50%;
  }

  .title-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
  }
  
  .export-outputs {
    border: 1px solid #cc0000;
    border-radius: 15px;
    color: #cc0000;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    padding: 3px 20px;
    position: absolute;
    right: 0px;
    top: -6px;
  }
  
  .export-outputs .icon {
    font-weight: normal;
    height: 18px;
    width: 18px;
  }
  
  .legend {
    color: #1c99c4;
    font-size: 13px;
    height: 65px;
    margin: 5px 0px;
    text-align: center;
    width: 100%;
  }

  .tsc-legend {
    color: #1c99c4;
    font-size: 13px;
    height: 20px;
    margin: 10px 0px;
    position: absolute;
    text-align: center;
    width: 100%;
  }
  
  .info-icon {
    height: 20px;
    width: 26px;
  }
  
  .ts-outputs-wrapper table {
    border-spacing: 10px 0px;
    color: #6b6b6b;
    height: 100%;
    text-align: center;
  }
  
  .ts-outputs-wrapper tr td, .tsc-outputs-wrapper tr td {
    min-width: 100px;
    padding: 20px;
  }
  
  .ts-outputs-wrapper tr td:not(:first-child), .tsc-outputs-wrapper tr td:not(:first-child) {
    font-weight: bold;
  }
  
  .ts-outputs-wrapper tr:not(:first-child):not(:hover) td:not(:first-child), .tsc-outputs-wrapper tr:not(:first-child):not(:hover) td:not(:first-child) {
    background-color: #fff;
  }
  
  .ts-outputs-wrapper tr.cold td:not(:first-child), .tsc-outputs-wrapper tr.cold td:not(:first-child) {
    color: #115566;
  }
  
  .ts-outputs-wrapper tr.cool td:not(:first-child), .tsc-outputs-wrapper tr.cool td:not(:first-child) {
    color: #5ec5dc;
  }

  .ts-outputs-wrapper tr.precool td:not(:first-child) {
    color: #5edcb0;
  }

  .ts-outputs-wrapper tr.prewarm td:not(:first-child) {
    color: #90dc5e;
  }
  
  .ts-outputs-wrapper tr.warm td:not(:first-child), .tsc-outputs-wrapper tr.warm td:not(:first-child) {
    color: #f4b821;
  }
  
  .ts-outputs-wrapper tr.hot td:not(:first-child), .tsc-outputs-wrapper tr.hot td:not(:first-child) {
    color: #cc0000;
  }
  
  .ts-outputs-wrapper tr:not(:first-child):hover, .tsc-outputs-wrapper tr:not(:first-child):hover {
    background-color: #e5e5e5;
  }

  .tsc-outputs-wrapper table {
    border-spacing: 20px 0px;
    color: #6b6b6b;
    height: calc(100% - 20px);
    margin-top: 20px;
    text-align: center;
  }

  /* Media Queries */
  @media only screen and (min-width: 1600px) {
    .control .value {
      width: 250px;
    }
  
    ti-widget-spinner::shadow input#spinnerWidget {
      font-size: 13px !important;
    }
  
    .control ti-widget-droplist::shadow select#selectorList {
      font-size: 13px !important;
    }
  
    .calc-btn {
      font-size: 14px;
    }
  
    .export-outputs {
      font-size: 14px;
    }
  }