.whole-configuration-container {
  background: #fff;
  display: flex;
  flex-direction: column;
  font-family: Roboto;
  height: 100%;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.control-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  padding: 0px 0px 0px 20px;
}

.ti-widget-toggle {
  width: 40px;
  height: 25px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 25px;
}

.control-label-wrapper {
  display: flex;
  color: #555555;
  column-gap: 10px;
  align-items: center;
}

.regfield-icon {
  height: 18px;
  width: 18px;
}

.search-icon {
  cursor: pointer;
}

.button-disabled {
  background-color: #999 !important;
  border: none !important;
  color: #fff !important;
  pointer-events: none;
  opacity: 0.5;
}

.paper-button-div {
  display: flex;
  align-items: center;
  justify-content: center;
}

.config-i2c-interface-btn {
  background-color: #148c9c;
  color: #fff;
  border-radius: 3px;
  width: 150px;
  height: 30px;
  font-size: 15px;
  text-transform: none;
}

.controls-container {
  height: 100%;
  overflow: auto;
  display: flex;
  padding: 15px 20px;
  gap: 10px;
  flex: 1;
}

.sub-container {
  display: flex;
  height: calc(100% - 33px);
  width: 100%;
  position: relative;
  justify-content: space-between;
}

.control-label {
  color: #555555;
  font-weight: 500;
  font-size: 15px;
}


/* Styles for the slider */
.slider {
  position: absolute;
  cursor: pointer;
  height: 22px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 50px;
}

/* Styles for the slider thumb */
.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 2px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

/* Styles for the slider when in 'on' state */
input:checked + .slider {
  background-color: #158c9c;
}

input:checked + .slider:before {
  transform: translateX(16px);
}

.control-group {
  display: flex;
  flex-direction: column;
  row-gap: 15px;
}

.control-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.control-item-label {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #555555;
  font-size: 15px;
  font-weight: 500;
}

.cable-spec-label {
  font-size: 15px;
  font-weight: 500;
  color: #586165;
}

.regfield-icon {
  width: 18px;
  height: 18px;
}

.cable-spec-input {
  width: 75px;
  height: 25px;
  border: none;
  background-color: #ffffff;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 500;
  color: #148c9c;
  text-align: center;
  outline: auto;
}

paper-tooltip ul {
  list-style: none;
  padding: 0px;
  margin: 0px;
}

paper-tooltip {
  /* --paper-tooltip-background: #eee; */
}

.calculate-link {
  color: #148c9c;
  cursor: pointer;
  text-decoration: underline;
}

.tooltip-wrapper {
  font-size: 12px;
}

.tooltip-wrapper-copy{
  width: 100px;
  font-size: 12px;
}

.tooltip-title {
  padding: 5px 0px;
}

paper-tooltip li {
  margin-bottom: 4px;
}

.warning {
  width: 75px;
  height: 25px;
  border: none;
  background-color: #ffffff;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 500;
  color: red;
  text-align: center;
  outline: auto;
}

.cable-spec-container {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: space-around;
  min-height: 600px;
  min-width: 466px;
}

.cable-spec-card-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 15px;
}

.card-title {
  font-size: 15px;
  font-weight: bolder;
  color: #148c9c;
}

.read-only-control {
  color: #148c9c;
  font-size: 15px;
  font-weight: 500;
}

.ti-widget-dropdown {
  width: 70px;
  height: 25px;
  border: none;
  background-color: #eeeeee;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 500;
  color: #555555;
  text-align: center;
  padding: 0px;
}

.cable-drop-graph {
  height: 100%;
  width: 50%;
  min-width: 485px;
  min-height: 550px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

#calculate-btn {
  background-color: #dd0000;
  color: white;
  font-size: 15px;
  font-weight: 500;
  width: 100px;
}

.dropdown-unit {
  color: #555555;
  font-size: 15px;
  font-weight: 500;
}

.cable-unit {
  color: #148c9c;
  font-size: 15px;
  font-weight: 500;
}

.spinner-control {
  display: flex;
  width: 125px;
  gap: 10px;
}

.spinner-control-read-only {
  display: flex;
  width: 64px;
  gap: 10px;
}

.changeColor-radio {
  accent-color: #148c9c;
  cursor: pointer;
}

.radio-options {
  display: flex;
  column-gap: 15px;
  justify-content: center;
  align-items: center;
}

.radio-label {
  margin: 0px;
  color: #555555;
  font-size: 15px;
  font-weight: 500;
}

.step-class{
  width: 59px;
  height: 24px;
  border: none;
  background-color: transparent;
  border-radius: 3px;
  font-size: 16px;
  font-weight: 500;
  color: #148c9c;
  text-align: center;
  outline:auto;
}

.input-control {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.radio-font{
  color: #555555;	
  font-family: Roboto;	
  font-size: 15px;
}

.align-radio::shadow .paper-radio-group-0{
  height: 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.radio-mar-right{
  margin-right: 10px;
  padding: 0px;
}

.vout-range-control {
  width: 130px;
  height: 30px;
}

.radio-btn-feedback{
  padding:0px;
  --paper-radio-button-checked-color: #02688C;
  --paper-radio-button-checked-ink-color: #b3b3ad;
  --paper-radio-button-unchecked-color: #b3b3ad;
  --paper-radio-button-unchecked-ink-color: #b3b3ad;
}

input[type=number]::-webkit-inner-spin-button {
  opacity: 1;
}

.legend {
  display: flex;
  gap: 20px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.line {
  width: 40px;
  height: 2px;
}

.blue {
  background-color: #1f77b4;
}

.orange {
  background-color: #ff7f0e;
}

.dialog-content {
  display: flex;
  flex-direction: column;
  row-gap: 15px;
  margin: 10px;
}

.dialog-footer {
  display: flex;
  justify-content: end;
}

.copy-icon {
  color: #148C9C;
  width: 15px;
  height: 15px;
  cursor: pointer;
}

#close-button {
  background-color: #148c9c;
  color: white;
  font-size: 13px;
  font-weight: 500;
}

.copy-icon.copied {
  color: darkgrey;
}

@media screen and (max-height: 800px) {
  .cable-spec-container {
    min-height: 500px;
    gap: 5px;
  }

  .controls-container{
    padding: 10px 15px;
  }

  .cable-spec-card-container {
    padding: 12px;
    gap: 5px;
  }

  .control-group {
    row-gap: 10px;
  }
}