.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 25px;
}

.card-container {
  display: flex;
  flex-direction: column;
  gap: 13px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.card-title {
  font-size: 15px;
  font-weight: bolder;
  margin-bottom: 10px;
  color: #148c9c;
}

.control-group {
  display: flex;
  align-items: center;
}

.button-container {
  text-align: right;
}

/* 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);
}

.whole-configuration-container {
  background: #fff;
  display: flex;
  flex-direction: column;
  font-family: Roboto;
  height: 100%;
  position: relative;
  width: 100%;
}

.control-dropdown-wrapper-gpn {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
}

.control-dropdown-label {
  display: flex;
  color: #555555;
  font-weight: 500;
  font-size: 14px;
  flex-direction: row;
  column-gap: 10px;
  width: 250px;
  align-items: self-end;
}

.regfield-icon {
  height: 18px;
  width: 18px;
}

.ti-widget-dropdown {
  width: 150px;
  height: 20px;
  border-radius: 2px;
  font-size: 8px;
  font-weight: 500;
  padding: 2px;
  color: #555555;
  zoom: 2;
}

.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 {
  width: calc(100% - 275px);
  height: 100%;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  padding: 20px;
}

.status-container {
  width: 275px;
  height: 95%;
  flex: 1;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 16px;
  background: white;
  margin: 15px;
}

#radio-button {
  width: 100%;
  height: 100%;
}

.sub-container {
  display: flex;
  height: 100%;
  width: 100%;
  position: relative;
  margin-bottom: 30px;
}

.control-label {
  color: #555555;
  font-weight: 500;
  font-size: 14px;
  margin: 0px;
}

.actions {
  display: flex;
  justify-content: flex-end;
}

button {
  background-color: #d32f2f;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  font-size: 1em;
  cursor: pointer;
}

button:hover {
  background-color: #b71c1c;
}

.radio-options {
  display: flex;
  column-gap: 15px;
  justify-content: center;
  align-items: center;
}

.radio-button-label {
  color: #555555;
  font-weight: 500;
  font-size: 14px;
  margin: 0px;
}

.icons-wrapper {
  width: 18px;
  height: 18px;
}

#i2c-interface-settings-btn {
  border: 2px solid #148c9c;
  background-color: white;
  color: #148c9c;
  font-size: 14px;
  font-weight: 500;
  width: 165px;
}

#i2c-connection-settings-btn {
  background-color: #dd0000;
  color: white;
  font-size: 14px;
  font-weight: 500;
  width: 165px;
}

.changeColor-radio {
  accent-color: #148c9c;
  cursor: pointer;
}

.ti-widget-toggle {
  width: 40px;
  height: 25px;
}

.button-disabled {
  background-color: #999 !important;
  border: none !important;
  color: #fff !important;
  pointer-events: none;
  opacity: 0.5;
}

.warning-popup-cover {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: absolute;
  z-index: 99;
  right: 50%;
  bottom: 50%;
  top: 2%;
  left: 75%;
  padding: 15px;
  box-shadow: 0 0 2px 2px #148c9c;
  /* border-radius: 5px; */
  background: #ffffff;
  font-weight: 600;
  height: 100px;
  width: 300px;
  text-align: center;
  animation: fade 1s linear;
}


paper-tooltip ul {
  list-style: none;
  padding: 0px;
  margin: 0px;
}

.tooltip-wrapper {
  font-size: 12px;
  max-width: 500px;
}

paper-tooltip li {
  margin-bottom: 4px;
}

@media screen and (max-height:800px) {
  .card-container {
    gap: 5px;
    padding: 12px;
  }
}