#testimonial-form-fields {
  list-style-type: none; /* Remove default list bullets */
  padding: 0;
  margin: 0;
}
.testimonial-field {
  background: #f9f9f9;
  border: 1px solid #ddd;
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.testimonial-field-content {
  display: flex;
  flex-direction: column;
}
.testimonial-field-content > div {
  margin-bottom: 10px;
}
.testimonial-field-content label {
  font-weight: bold;
  margin-bottom: 5px;
  font-size: 14px;
  color: #333;
  width: 150px;
  display: inline-block;
  overflow: hidden;
}
.testimonial-field-label .field-header {
  display: block;
  overflow: hidden;
  font-size: 15px;
  margin-bottom: 15px;
}
.testimonial-field-content label span {
  display: block;
  overflow: hidden;
  font-weight: normal;
  font-size: 14px;
}
.testimonial-field-content input[type="text"],
.testimonial-field-content input[type="checkbox"] {
  padding: 5px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-weight: normal;
}
.testimonial-field-content input[type="text"] {
  width: 100%;
  max-width: 300px; /* Limit width of text inputs */
}
.testimonial-field-content input[type="checkbox"] {
  width: auto;
}
.testimonial-field:hover {
  background-color: #f1f1f1; /* Hover effect */
  border-color: #ccc;
}
.testimonial-field:active {
  background-color: #e0e0e0; /* Active state */
  border-color: #bbb;
}
.testimonial-field .testimonial-field-label {
  font-size: 14px;
  font-weight: bold;
  color: #444;
}
.testimonial-field .testimonial-field-placeholder {
  font-size: 14px;
  color: #666;
}
.testimonial-field .testimonial-field-required,
.testimonial-field .testimonial-field-enabled {
  font-size: 14px;
  color: #666;
}
#testimonial-form-fields li {
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
#testimonial-form-fields li p{
  margin: 0;
  padding: 0;
  margin-bottom: 5px;
}
.tupsetings {
  margin: 20px 0;
}
.tupsetings .option-box {
  margin: 10px 0;
  padding: 10px;
}
.tupsetings .option-box .option-title {
  font-size: 16px;
  font-weight: bold;
}
.tupsetings .option-box .option-title a {
  text-decoration: none;
  outline: none;
  font-size: 15px;
  font-weight: 500;
}
.tupsetings .option-box .option-info {
  color: rgb(153, 153, 153);
  font-size: 13px;
  font-weight: normal;
  margin: 10px 0;
}
.tupsetings ul.tab-nav {
  clear: both;
  margin: 0;
  padding: 0;
}
.tupsetings ul.tab-nav li {
  background: none repeat scroll 0 0 rgb(230, 230, 230);
  cursor: pointer;
  display: inline-block;
  float: left;
  margin: 0;
  padding: 15px 20px;
}
.tupsetings ul.tab-nav li.active {
  background: #0073aa;
  font-weight: bold;
  color: #fff;
}
.tupsetings ul.box {
  clear: both;
  margin: 0;
  padding: 0;
}
.tupsetings ul.box li.tab-box {
  background: rgb(255, 255, 255) none repeat scroll 0 0;
  display: none;
  margin: 0;
  width: 100%;
}
.tupsetings h2 {
  font-size: 20px;
  font-weight: bold;
  margin: 25px 0;
}
.tupsetings .option-box table.form-table ul li {
  display: inline-block !important;
  overflow: hidden !important;
  padding: 8px 10px !important;
  background: #ddd !important;
  margin-right: 5px !important;
  line-height: 15px !important;
  margin-bottom: 5px !important;
}
.tupsetings .option-box table.form-table ul li input[type="checkbox"]::before {
  background: #000;
  box-shadow: none;
  border-radius: 0;
}
.tupsetings .option-box table.form-table ul li label {
  font-size: 15px;
  line-height: 15px;
  text-transform: capitalize;
}

@media all and (max-width: 799px) {
  .tupsetings ul.tab-nav li {
    display: block;
    float: none;
  }
  .tupsetings ul.tab-nav li.active {
    font-weight: bold;
  }
}

#tp_required_notice_text,
#tp_success_message,
#tp_error_message{
  min-width: 500px;
}

@media (max-width: 767px) {
  #tp_required_notice_text,
  #tp_success_message,
  #tp_error_message{
    min-width: unset;
  }
}

/* CSS for toggle switch */
.switch-field {
  display: flex;
  overflow: hidden;
}
.switch-field input {
  position: absolute !important;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  width: 1px;
  border: 0;
  overflow: hidden;
}
.switch-field label {
  position: relative;
  background-color: #e4e4e4;
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
  line-height: 1;
  text-align: center;
  padding: 8px 20px;
  margin-right: -1px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.1s ease-in-out;
}
.switch-field label span.mark {
  position: absolute;
  top: -2px;
  background: red;
  color: #fff;
  padding: 2px;
  right: -1px;
  font-size: 10px;
  border-radius: 0px;
}
.switch-field label:hover {
  cursor: pointer;
}
.switch-field input:checked + label {
  background-color: #0073aa;
  color: #fff;
  box-shadow: none;
}
.switch-field label:first-of-type {
  border-radius: 4px 0 0 4px;
}
.switch-field label:last-of-type {
  border-radius: 0 4px 4px 0;
}
.tpstestimonial_manager_hint {
  display: block;
  font-size: 14px;
  margin-top: 15px;
  overflow: hidden;
}
.tpstestimonial_manager_hint.toss {
  color: #999;
  font-weight: 400;
}
.tpstestimonial_manager_hint a {
  color: #0073aa;
}

.tp-rating-option {
  display: inline-block;
  cursor: pointer;
  margin: 0px;
  padding: 0px;
  border: 2px solid #ddd;
  border-radius: 5px;
  transition: border 0.3s;
}
.tp-rating-option input[type="radio"] {
    display: none;
}
.tp-rating-option input:checked + i.fa {
    border: 2px solid #0073aa;
    border-radius: 5px;
}
.tp-rating-option i.fa {
  display: inline-grid;
  align-items: center;
  text-align: center;
  vertical-align: middle;
  width: 40px;
  height: 40px;
  fill: #ccc;
  transition: fill 0.3s;
}
.tp-rating-option input:checked + i.fa {
    fill: #0073aa;
}