/* General settings */
.metrion-settings-table th,
.metrion-settings-advanced th {
  text-align: left;
  width: 300px;
}

/* All input fields (text, number) */
.metrion-settings-table input[type="text"],
.metrion-settings-advanced input[type="text"],
.metrion-settings-advanced input[type="number"] {
  width: 300px;
  padding: 5px;
  box-sizing: border-box;
}

/* Checkbox should remain its default size */
.metrion-settings-advanced input[type="checkbox"] {
  width: auto;
}

/* Advanced section toggle */
#optional-settings-toggle {
  cursor: pointer;
  color: #0073aa;
  text-decoration: none;
}

#optional-settings-toggle:hover {
  text-decoration: underline;
}

/* Styling for advanced table (optional fields) */
.metrion-settings-advanced {
  margin-top: 10px;
  border-collapse: collapse;
  width: 600px;
}

.metrion-settings-advanced th,
.metrion-settings-advanced td {
  padding: 5px;
  border: 0px solid #e0e0e0;
  vertical-align: middle;
}

td>input[type=checkbox] {
  width: 1.5em;
}

tr {
  vertical-align: middle;
  text-align: left;
}

/* The switch - the container for the checkbox */
.switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 17px;
}

/* Hide the default checkbox */
.switch input[type="checkbox"] {
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
}

/* The slider */
.switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc !important;
  transition: .4s;
  border-radius: 17px;
}

.switch .slider:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px; 
  left: 2px; 
  bottom: 2px; 
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

/* When the checkbox is checked, change the background color */
.switch input[type="checkbox"]:checked + .slider {
  background-color: #0073aa !important; 
}

/* Move the slider when the checkbox is checked */
.switch input[type="checkbox"]:checked + .slider:before {
  transform: translateX(13px) !important; 
}

/* Rounded slider */
.slider.round {
  border-radius: 17px !important;
}

.slider.round:before {
  border-radius: 50% !important;
}