.noUi-horizontal .noUi-handle:focus-visible,
.noUi-horizontal .noUi-handle:focus,
.noUi-horizontal .noUi-handle:focus-within {
  outline: 2px solid transparent;
  /* accessible outline */
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #15137f, 0 0 0 4px hsl(25, 95%, 53%);
  /* ring color, orange-ish */
}

.ap_payment-slider {
  /*    background-color: #25228e;*/
  background-color: transparent;
  padding: 40px;
  border-radius: 24px;
  border: 1px solid #6460ff;
  /*    box-shadow: 0px 0px 40px 0px #030159;*/
  margin: 50px auto;
  max-width: 1200px;
}

.slider-container {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(to right, #fb6656 30%, #ccc 30%);
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 70px;
  height: 35px;
  background: transparent;
  /* transparent thumb */
  cursor: pointer;
  border: none;
  position: relative;
  z-index: 3;
}

input[type="range"]::-moz-range-thumb {
  width: 70px;
  height: 35px;
  background: transparent;
  cursor: pointer;
  border: none;
}

.thumb-bubble {
  position: absolute;
  top: -5px;
  width: 70px;
  height: 35px;
  border-radius: 20px;
  background: #fb6656;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  line-height: 35px;
  pointer-events: none;
  /* slider move hoga */
  transform: translateX(-50%);
}

.savings-calculator-section {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

.ap_payment-details {
  background: linear-gradient(180deg, #f7645a 40%, #d53d32 70%);
  border-radius: 20px;
  padding: 48px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ap_payment-details h3 {
  font-size: 28px !important;
}

.ap_info-details {
  color: #919cad;
  font-size: 14px;
  max-width: 790px;
  margin: 0 auto;
  padding-top: 20px;
}

.noUi-target,
.noUi-target * {
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -ms-touch-action: none;
  touch-action: none;
  -ms-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.noUi-target {
  position: relative;
}

.noUi-base,
.noUi-connects {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.noUi-connects {
  overflow: hidden;
  z-index: 0;
}

.noUi-connect,
.noUi-origin {
  will-change: transform;
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  -ms-transform-origin: 0 0;
  -webkit-transform-origin: 0 0;
  -webkit-transform-style: preserve-3d;
  transform-origin: 0 0;
  transform-style: flat;
}

.noUi-txt-dir-rtl.noUi-horizontal .noUi-origin {
  left: 0;
  right: auto;
}

.noUi-vertical .noUi-origin {
  top: -100%;
  width: 0;
}

.noUi-horizontal .noUi-origin {
  height: 0;
}

.noUi-handle {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  position: absolute;
}

.noUi-touch-area {
  height: 100%;
  width: 100%;
}

.noUi-state-tap .noUi-connect,
.noUi-state-tap .noUi-origin {
  -webkit-transition: transform 0.3s;
  transition: transform 0.3s;
}

.noUi-state-drag * {
  cursor: inherit !important;
}

.noUi-horizontal {
  height: 8px;
}

.noUi-horizontal .noUi-handle {
  width: 22px;
  height: 22px;
  right: -17px;
  top: -6px;
  border-radius: 50px;
  background: #fb6656;
  box-shadow: none;
  border: 2px solid #fff;
  cursor: pointer;
}

.noUi-vertical {
  width: 18px;
}

.noUi-vertical .noUi-handle {
  width: 28px;
  height: 34px;
  right: -6px;
  bottom: -17px;
}

.noUi-txt-dir-rtl.noUi-horizontal .noUi-handle {
  left: -17px;
  right: auto;
}

.noUi-target {
  /* background: rgb(216, 216, 216); */
  background: #c5c5c5;
  border-radius: 4px;
}

.noUi-connects {
  border-radius: 3px;
}

.noUi-connect {
  /* background: #fb6656; */
  background: #fff;
}

.noUi-draggable {
  cursor: ew-resize;
}

.noUi-vertical .noUi-draggable {
  cursor: ns-resize;
}

/*  .noUi-handle {
    border: 1px solid #D9D9D9;
    border-radius: 3px;
    background: #FFF;
    cursor: default;
    box-shadow: inset 0 0 1px #FFF, inset 0 1px 7px #EBEBEB, 0 3px 6px -3px #BBB
  }*/

.noUi-active {
  box-shadow: inset 0 0 1px #fff, inset 0 1px 7px #ddd, 0 3px 6px -3px #bbb;
}

.ap_payment-input {
  padding-bottom: 20px;
}

/* .noUi-handle:after,
  .noUi-handle:before {
    content: "";
    display: block;
    position: absolute;
    height: 14px;
    width: 1px;
    background: #E8E7E6;
    left: 14px;
    top: 6px
  }

  .noUi-handle:after {
    left: 17px
  }

  .noUi-vertical .noUi-handle:after,
  .noUi-vertical .noUi-handle:before {
    width: 14px;
    height: 1px;
    left: 6px;
    top: 14px
  }

  .noUi-vertical .noUi-handle:after {
    top: 17px
  }*/

[disabled] .noUi-connect {
  background: #b8b8b8;
}

[disabled] .noUi-handle,
[disabled].noUi-handle,
[disabled].noUi-target {
  cursor: not-allowed;
}

.noUi-pips,
.noUi-pips * {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.noUi-pips {
  position: absolute;
  color: #999;
}

.noUi-value {
  position: absolute;
  white-space: nowrap;
  text-align: center;
}

.noUi-value-sub {
  color: #ccc;
  font-size: 10px;
}

.noUi-marker {
  position: absolute;
  background: #ccc;
}

.noUi-marker-sub {
  background: #aaa;
}

.noUi-marker-large {
  background: #aaa;
}

.noUi-pips-horizontal {
  padding: 10px 0;
  height: 80px;
  top: 100%;
  left: 0;
  width: 100%;
}

.noUi-value-horizontal {
  -webkit-transform: translate(-50%, 50%);
  transform: translate(-50%, 50%);
}

.noUi-rtl .noUi-value-horizontal {
  -webkit-transform: translate(50%, 50%);
  transform: translate(50%, 50%);
}

.noUi-marker-horizontal.noUi-marker {
  margin-left: -1px;
  width: 2px;
  height: 5px;
}

.noUi-marker-horizontal.noUi-marker-sub {
  height: 10px;
}

.noUi-marker-horizontal.noUi-marker-large {
  height: 15px;
}

.noUi-pips-vertical {
  padding: 0 10px;
  height: 100%;
  top: 0;
  left: 100%;
}

.noUi-value-vertical {
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  padding-left: 25px;
}

.noUi-rtl .noUi-value-vertical {
  -webkit-transform: translate(0, 50%);
  transform: translate(0, 50%);
}

.noUi-marker-vertical.noUi-marker {
  width: 5px;
  height: 2px;
  margin-top: -1px;
}

.noUi-marker-vertical.noUi-marker-sub {
  width: 10px;
}

.noUi-marker-vertical.noUi-marker-large {
  width: 15px;
}

.noUi-tooltip {
  display: block;
  position: absolute;
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  background: #fff;
  color: #000;
  padding: 5px;
  text-align: center;
  white-space: nowrap;
}

.noUi-horizontal .noUi-tooltip {
  -webkit-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  left: 50%;
  bottom: 120%;
}

.noUi-vertical .noUi-tooltip {
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  top: 50%;
  right: 120%;
}

.noUi-horizontal .noUi-origin > .noUi-tooltip {
  -webkit-transform: translate(50%, 0);
  transform: translate(50%, 0);
  left: auto;
  bottom: 10px;
}

.noUi-vertical .noUi-origin > .noUi-tooltip {
  -webkit-transform: translate(0, -18px);
  transform: translate(0, -18px);
  top: auto;
  right: 28px;
}

.noUi-pips.noUi-pips-horizontal {
  display: none;
}

@media only screen and (max-width: 890px) {
  .slider-container {
    margin: 0 auto;
  }

  .savings-calculator-section {
    padding: 0;
    margin: 0 0 0 -20px;
  }

  .ap_payment-input {
    text-align: center;
  }

  span.amount-value {
    font-size: 42px !important;
  }

  .ap_payment-details {
    margin-top: 35px;
  }

  .slider_title {
    font-size: 36px !important;
  }

  .ap_payment-details p {
    font-size: 16px !important;
    letter-spacing: 0.2px;
  }

  span.calculator-result {
    font-size: 38px !important;
  }
}

@media only screen and (max-width: 600px) {
  .ap_payment-slider.card {
    padding: 0 20px;
    border: 0px;
    margin: 0;
  }
}

@media only screen and (max-width: 1024px) {
  .ap_payment-details {
    margin-top: 35px;
  }
}

.ap_payment-details .card-texture {
  position: absolute;
  left: 0;
  right: 0;
  top: -5px;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: auto;
  opacity: 0.2;
}

.ap_payment-details {
  position: relative;
  overflow: hidden;
}

.ap_payment-details h2,
.ap_payment-details h3,
.ap_payment-details p {
  z-index: 2;
}

.ap_payment-details .gold-chip {
  position: absolute;
  left: 32px;
  top: 50px;
  right: auto;
  width: 100%;
  min-width: 60px;
  max-width: 60px;
  z-index: 1;
}

.ap_payment-details .nps-icons {
  position: absolute;
  right: 30px;
  left: auto;
  top: 52px;
  bottom: auto;
  width: 100%;
  max-width: 30px;
  z-index: 1;
}

@media all and (max-width: 1200px) {
  img.nps-icons {
    right: 0;
    left: 0;
    top: auto;
    bottom: 15px;
    max-width: 30px;
    margin: 0 auto;
  }

  .gold-chip {
    left: 0;
    top: 10px;
    right: 0;
    max-width: 50px;
    margin: 0 auto;
  }

  .card-texture {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
  .saving-cal {
    gap: 32px !important;
  }

  .saving-cal > .col-lg-6 {
    width: 100%;
  }

  .saving-cal .col-lg-6:first-child {
    order: 0;
  }

  .ap_payment-details {
    max-width: 460px;
    margin: 0 auto;
  }
}

@media all and (min-width: 992px) and (max-width: 1200px) {
  .ap_payment-details .card-texture {
    top: 0;
    height: 100%;
  }

  .ap_payment-details {
    padding: 78px 32px 32px;
  }

  .ap_payment-details .gold-chip,
  .ap_payment-details .nps-icons {
    top: 25px;
  }

  .ap_payment-details .nps-icons {
    max-width: 25px;
  }

  .ap_payment-details .gold-chip {
    min-width: 45px;
    max-width: 45px;
  }
}

@media all and (max-width: 540px) {
  .ap_payment-details .gold-chip,
  .ap_payment-details .nps-icons {
    top: 20px;
  }

  .ap_payment-details .card-texture {
    top: 0;
    height: 100%;
  }

  .ap_payment-details .gold-chip {
    left: 20px;
    min-width: 40px;
    max-width: 40px;
  }

  .ap_payment-details .nps-icons {
    right: 20px;
    max-width: 20px;
  }

  .ap_payment-details h3 {
    font-size: 16px !important;
    margin: 0 !important;
  }

  span.calculator-result {
    font-size: 32px !important;
  }
  .ap_payment-details {
    max-width: 400px;
    margin: 0 auto;
  }
  .ap_payment-details {
    padding: 64px 32px 32px;
  }
}
@media all and (max-width: 420px) {
  .ap_payment-details p {
    font-size: 12px !important;
    letter-spacing: 0.2px;
  }
}

@media all and (max-width: 375px) {
  .ap_payment-details h3 {
    font-size: 16px !important;
  }
  .ap_payment-details p {
    display: none;
  }
}

@media all and (max-width: 360px) {
  .saving-cal > .col-lg-6 {
    width: 100%;
    padding: 10px;
  }

  span.calculator-result {
    font-size: 24px !important;
  }
  .ap_payment-details {
    max-width: 300px;
    margin: 0 auto;
  }
}

@media all and (max-width: 320px) {
  span.calculator-result {
    font-size: 24px !important;
  }
  .ap_payment-details h3 {
    font-size: 14px !important;
  }
}

@media all and (min-width: 540px) and (max-width: 749px) {
  .ap_payment-details img.card-texture {
    top: 0;
    bottom: 0;
    height: 100%;
  }

  .ap_payment-details h2 span.calculator-result {
    font-size: 32px !important;
  }

  .ap_payment-details h2.lh-1 {
    line-height: normal !important;
  }

  .ap_payment-details .gold-chip {
    max-width: 50px;
    min-width: 50px;
  }

  .ap_payment-details .nps-icons {
    max-width: 25px;
  }
}

@media all and (min-width: 541px) and (max-width: 991px) {
  .ap_payment-details {
    max-width: 460px;
    margin: 0 auto;
  }
}

@media all and (max-width: 340px) {
  .ap_payment-details {
    padding: 64px 20px 20px;
  }
}
