.mf_form__success,
.mf_form__errors {
  display: none;
}

.mf_field--hidden {
   display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.mf-loading-icon {
  height: 50px;

  /* Must need to add this as this is overriding by other element's styling */
  width: 50px !important;
}

.mf_form__errors {
  color: red;
}

.mf_form__success {
  color: #2A9C4E;
}


slide-confirm-btn, slide-confirm-btn > confirm {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0;
  min-width: 240px;
  height: 40px;
  line-height: 40px;
  vertical-align: middle;
  text-align: center;
  border: none;
  outline: none;
  border-radius: 5px;
  border-top: 1px solid #DEDEDE;
  box-shadow: 0 1px 10px #DEDEDE;
  border-radius: 50px;
  background: #fff;
  font-size: 14px;
  font-weight: 300;
  color: #000;
  cursor: url(grab.cur), pointer;
  overflow: hidden;
}

slide-confirm-btn:active, slide-confirm-btn:active > confirm {
  cursor: url(grabbing.cur), pointer;
}

slide-confirm-btn > confirm {
  display: block;
  position: absolute;
  top: 0;
  padding: 0;
  /* right: 83% !important; */
  width: 100%;
  border: none;
  background: #fff;
}

slide-confirm-btn > confirm:after {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0 15px;
  content: "\f061";
  font-family: "FontAwesome";
  font-weight: normal;
  background: #260D35;
  border-radius: 50%;
  color: #fff;
}

slide-confirm-btn[disabled], slide-confirm-btn[disabled] > confirm {
  cursor: default !important;
}

slide-confirm-btn[disabled] > confirm:after {
  content: "\f00c";
  background: #2A9C4E;
}

confirm {
  position: absolute;
  right: 83%;
  font-size: 12px;
  color: #888;
  transition: background-color 0.3s; /* Add a transition for a smooth color change */
}

slide-confirm-btn:hover > confirm:after {
  background-color: #0CE2DF; /* Change the background color on slide-confirm-btn hover */
}

.mf_forms__container .mf_form__form .mf_field.mf_field--submit{margin-top: 0rem;}

/* ---------------------------------------------- */
.button-background {
  position: relative;
  border: 1px solid #b0b0b2;
  box-shadow: none;
  background:#ffffff;
  /* width: 100%;
  max-width: 250px; */
  height: 48px;
  width: 303px;
  /* border: white; */
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile button - screen reader accessible but visually hidden */
.mf-mobile-submit-btn {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
  font-size: 12px;
  font-family: "Ubuntu";
  color: #121212;
  border: none;
  border-radius: 40px;
  cursor: pointer;
}

/* On mobile, keep slider visible so text shows behind it */
@media (max-width: 600px) {
  .button-background {
    max-width: 100%;
  }
}

.slider-frm-btn {
  transition: width 0.3s, border-radius 0.3s, height 0.3s;
  position: absolute;
  left: -10px;
  background-color: #12ABDB;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  box-shadow: none;
  align-items: center;
  justify-content: center;
  border: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  /* Hide the default range track for all browsers */
}

.slider-frm-btn::-webkit-slider-runnable-track {
  background: transparent;
  border: none;
}
.slider-frm-btn::-moz-range-track {
  background: transparent;
  border: none;
}
.slider-frm-btn::-ms-fill-lower,
.slider-frm-btn::-ms-fill-upper {
  background: transparent;
  border: none;
}
.slider-frm-btn:focus {
  outline: none;
}
.slider-frm-btn:focus-visible {
  background: #0070AD !important;
  color: white !important;
  outline: solid #202020 1px;
  outline-offset: 1px;
  transform: none;
}
/* Style the thumb as a blue circle */
.slider-frm-btn::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  background: #202020;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 4;
}
.slider-frm-btn::-moz-range-thumb {
  background: #202020;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 4;
}
.slider-frm-btn::-ms-thumb {
  background: #202020;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 4;
}
/* Hide the outline and track for a clean look */
.slider-frm-btn::-webkit-slider-thumb:focus {
  outline: none;
  box-shadow: none;
}
.slider-frm-btn::-ms-tooltip {
  display: none;
}

.slider-frm-btn:hover{
  background-color: #0CE2DF;
}

.slider-frm-btn.unlocked {
  transition: all 0.3s;
  width: inherit;
  /* left: 0 !important; */
  height: inherit;
  border-radius: inherit;
}

/* .arrow-icon{
  font-size:30px;
  color :#fff;
} */

/*
  The left property is controlled dynamically by JS to center the arrow icon in the blue thumb.
  Do NOT set left here. JS will set left: [thumbLeft + (thumbSize - arrowSize) / 2]px
*/
.arrow-icon{
  font-size: 1.5rem;
  color: white;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  pointer-events: none;
  width: 1.5rem;
  height: 1.5rem;
  line-height: 1.5rem;
  text-align: center;
  margin-left: 10px;
}
.tick-icon {
  font-size: 24px;
  color: #fff;
  position: absolute;
  left: 100% !important;
  top: 50%;
  z-index: 5;
  pointer-events: none;
  display: none;
  transform: translate(-115%, -50%) !important;
  line-height: 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
  text-align: center;
}
.tick-icon.show {
  display: block;
}

.material-icons {
  color: #fff;
  font-size: 30px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: default;
}

.slide-text {
  font-family: "Ubuntu";  
  padding-left: 1rem;
  display: block;
  white-space: nowrap;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: default;
  width: auto;
  margin: 0 3rem;
}

.slider-frm-btn.submitted{
  font-size: 24px;
  color: #000;
  background-color: #178c3d !important;
}

.slider-frm-btn.submitted::-webkit-slider-thumb {
  background: #178c3d !important;
}

.slider-frm-btn.submitted::-moz-range-thumb {
  background: #178c3d !important;
}

.slider-frm-btn.submitted::-ms-thumb {
  background: #178c3d !important;
}

.arrow-icon:after{ 
  content:"";
    background: url(../img/icon-more-small-white.svg) no-repeat;
    width: 24px;
    height: 24px;   
    transition: all .2s ease-out;    
    display: block;
}

.arrow-icon:before{ 
  display: none !important;
}

  /* .tick-icon:after{
    content:"";
    background: url(../img/icons-tick.svg) no-repeat;
    width: 24px;
    height: 24px;
    transition: all .2s ease-out;  
    display: block;
  } */

.bg-mask {
  position: absolute;
  left: 0;
  top: 0;
  width: 0; /* initial width */
  height: 100%;
  background-color: #DDDDDD;
  z-index: 1; /* Behind the slider and text */
}

.slide-text {
  position: relative; /* Or absolute, depending on your layout */
  z-index: 2; /* Above the mask */
}

.button-background {
  position: relative; /* Ensure the slider is positioned correctly within this container */
}

.slider-frm-btn {
  left: 0;
  position: absolute;
  /* Ensure correct positioning */
  z-index: 3;
  /* Ensure slider is above the mask and text */
}

.checkbox-controls legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: 0;
}

.logo-wrapper {
  display: none;
}

.modal-content .modal-body .mf_forms__container .logo-wrapper {
  display: block !important;
}

.slider-frm-btn::before {
  content: '\ea1c'; /* Unicode right arrow */
  font-family: "tabler-icons";
  font-size: 1.5rem;
  color: white;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  pointer-events: none;
  transition: opacity 0.2s;
  opacity: 1;
}
.slider-frm-btn.submitted::before {
  opacity: 0;
}
.slider-frm-btn::after {
  content: '\ea5e';
  font-family: "tabler-icons";
  font-size: 1.5rem;
  color: white;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.slider-frm-btn.submitted::after {
  opacity: 1;
}
