.nbkchomeloanrates-debug pre {
  overflow: auto;
  padding: 10px 0;
}

.nbkchomeloanrates-debug pre svg {
  display: none;
}
.nbkchomeloanrates-container {
  padding: 0 16px 16px;
}

.nbkchomeloanrates-container .nbkchomeloanrates-long_form {
  max-width: 750px;
  margin: 0 auto;
  color:#000;
  background-color: #fff;
  border-radius: 13px;
  padding: 0 16px 16px;
}

.nbkchomeloanrates-control_pre,
.nbkchomeloanrates-control_post {
  text-align: center;
}

.nbkchomeloanrates-control_pre h2 {
  color: #1075f1;
  font-size: 40px;
}

.nbkchomeloanrates-control_post {
  color: #b4bbbc;
  font-size: 14px;
}

.nbkchomeloanrates-action_buttons {
  display: flex;
  justify-content: center;
}

.nbkchomeloanrates-action_buttons .nbkchomeloanrates-post_button--first {
  order: -1;
}

.nbkchomeloanrates-control {
  text-align: center;
}

/* Control Labels Spacing */
.nbkchomeloanrates-container h2,
.nbkchomeloanrates-container label,
.nbkchomeloanrates-container .control-label {
    padding-bottom: 1rem;
    display: block;
}
/*Range Styles*/
input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  cursor: pointer;
  outline: none;
  border-radius: 15px;
  height: 6px;
  background: #ccc;
}

/* Thumb: webkit */
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 30px;
  width: 30px;
  top: -8px !important;
  background-image: url('/themes/nbkc-2020/assets/images/business/left-and-right (2).png');
  background-size: cover;
  border-radius: 50%;
  border: none;
  transition: 0.2s ease-in-out;
}

/* Thumb: Firefox */
input[type='range']::-moz-range-thumb {
  height: 30px;
  width: 30px;
  background-image: url('/themes/nbkc-2020/assets/images/business/left-and-right (2).png');
  background-size: cover;
  border-radius: 50%;
  border: none;
  transition: 0.2s ease-in-out;
}

/* Hover, active & focus Thumb: Webkit */
input[type='range']::-webkit-slider-thumb:hover {
  box-shadow: 0 0 0 13px rgba(132, 176, 227, 0.1);
}
input[type='range']:active::-webkit-slider-thumb {
  box-shadow: 0 0 0 13px rgba(132, 176, 227, 0.1);
}
input[type='range']:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 13px rgba(132, 176, 227, 0.1);
}

/* Hover, active & focus Thumb: Firfox */

input[type='range']::-moz-range-thumb:hover {
  box-shadow: 0 0 0 10px rgba(132, 176, 227, 0.1);
}
input[type='range']:active::-moz-range-thumb {
  box-shadow: 0 0 0 13px rgba(132, 176, 227, 0.1);
}
input[type='range']:focus::-moz-range-thumb {
  box-shadow: 0 0 0 13px rgba(132, 176, 227, 0.1);
}

.nbkchomeloanrates-slider {
  font-size: 26px;
  width: 50px;
  text-align: center;
}
input[type='range']:focus::-webkit-slider-runnable-track {
  top: -10px !important;
}
input[type='range']::-webkit-slider-runnable-track {
  height: 1px;
  background: none;
}
.nbkchomeloanrates-datalist {
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
}

/* Checkbox Styles*/
.nbkchomeloanrates-toggle {
  position: relative;
  height: 1.5rem;
  width: 3rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 9999px;
  background-color: rgba(100, 116, 139, 0.377);
  transition: all 0.3s ease;
}

.nbkchomeloanrates-toggle:checked {
  background-color: rgba(16, 117, 241, 1);
}

.nbkchomeloanrates-toggle::before {
  position: absolute;
  content: '';
  left: calc(1.5rem - 1.6rem);
  top: calc(1.5rem - 1.6rem);
  display: block;
  height: 1.6rem;
  width: 1.6rem;
  cursor: pointer;
  border: 1px solid rgba(100, 116, 139, 0.527);
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 3px 10px rgba(100, 116, 139, 0.327);
  transition: all 0.3s ease;
}

.nbkchomeloanrates-toggle:hover::before {
  box-shadow: 0 0 0px 8px rgba(0, 0, 0, 0.15);
}

.nbkchomeloanrates-toggle:checked:hover::before {
  box-shadow: 0 0 0px 8px rgba(32, 151, 243, 0.15);
}

.nbkchomeloanrates-toggle:checked:before {
  transform: translateX(100%);
  border-color: rgba(16, 117, 241, 1);
}

.nbkchomeloanrates-check_img {
  width: 18px;
  padding: 0 0px 3px 0;
  margin-left: 5px;
}

.nbkchomeloanrates-lock_img {
  display: inline;
  width: 30px;
  padding: 0px 5px 5px 2px;
}

.nbkchomeloanrates-post_button {
  min-width: 150px;
      margin-left:5px;
      margin-right:5px;
}
    /* Toggle control side padding for mobile */
@media (max-width: 600px) {
  .nbkchomeloanrates-toggle {
    margin-left: 12px;
    margin-right: 12px;
  }
  /* Optionally pad the whole toggle row */
  .nbkchomeloanrates-toggle-row, /* if a row class exists */
  .nbkchomeloanrates-toggle-container, /* if a container class exists */
  .nbkchomeloanrates-container input.nbkchomeloanrates-toggle {
    padding-left: 12px;
    padding-right: 12px;
  }
}
