/* SWITCH STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
:root {
  --white: white;
  --black: #232323;
  --darkgreen: #2a9d8f;
  --lightgray: whitesmoke;
}
.switch-wrapper {
  position: relative;
  display: inline-flex;
  padding: 10px 10px;
  /* border: 1px solid #e3e3e3; */
  border-radius: 12px;
  /* background: var(--white); */
  background: #f9f9f9;
}
.switch-wrapper [type="radio"] {
  position: absolute;
  left: -9999px;
}
.switch-wrapper [type="radio"]:checked#monthlyBtn ~ label[for="monthlyBtn"],
.switch-wrapper [type="radio"]:checked#yearlyBtn ~ label[for="yearlyBtn"],
.switch-wrapper
  [type="radio"]:checked#monthlyBtnPricing
  ~ label[for="monthlyBtnPricing"],
.switch-wrapper
  [type="radio"]:checked#yearlyBtnPricing
  ~ label[for="yearlyBtnPricing"] {
  color: var(--white);
}
.switch-wrapper
  [type="radio"]:checked#monthlyBtn
  ~ label[for="monthlyBtn"]:hover,
.switch-wrapper [type="radio"]:checked#yearlyBtn ~ label[for="yearlyBtn"]:hover,
.switch-wrapper
  [type="radio"]:checked#monthlyBtnPricing
  ~ label[for="monthlyBtnPricing"]:hover,
.switch-wrapper
  [type="radio"]:checked#yearlyBtnPricing
  ~ label[for="yearlyBtnPricing"]:hover {
  background: transparent;
}

.switch-wrapper
  [type="radio"]:checked#monthlyBtn
  + label[for="yearlyBtn"]
  ~ .highlighter,
.switch-wrapper
  [type="radio"]:checked#monthlyBtnPricing
  + label[for="yearlyBtnPricing"]
  ~ .highlighter-table {
  transform: none;
}

.switch-wrapper
  [type="radio"]:checked#yearlyBtn
  + label[for="monthlyBtn"]
  ~ .highlighter,
.switch-wrapper
  [type="radio"]:checked#yearlyBtnPricing
  + label[for="monthlyBtnPricing"]
  ~ .highlighter-table {
  transform: translateX(100%);
}
.switch-wrapper label {
  font-size: 16px;
  z-index: 1;
  min-width: 125px;
  line-height: 32px;
  cursor: pointer;
  border-radius: 10px;
  transition: color 0.25s ease-in-out;
  text-align: center;
  font-weight: 500;
  padding: 8px 0;
}
.switch-wrapper .highlighter,
.switch-wrapper .highlighter-table {
  position: absolute;
  top: 10px;
  left: 10px;
  width: calc(50% - 10px);
  height: calc(100% - 20px);
  border-radius: 10px;
  background: var(--black);
  transition: transform 0.25s ease-in-out;
}

/*--- Pricing Table ----*/

.pricing-table table th {
  font-size: 16px;
  padding: 22px;
  text-align: center;
  font-weight: 500;
}
.pricing-table table td {
  font-weight: 400;
  font-size: 16px;
  padding: 22px;
  text-align: center;
}
.switchButton2 .form-check-input,
.switchButton .form-check-input {
  height: 35px;
  width: 70px;
  margin-top: 0;
  background: url(../images/switch3.svg) no-repeat;
  background-color: #000000;
  border: 3px solid #000000;
  border-radius: 2em;
  transition: background-position 0.15s ease-in-out;
  -moz-appearance: none;
  appearance: none;
  -webkit-print-color-adjust: exact;
  cursor: pointer;
}
.form-switch .form-check-input:focus {
  --bs-form-switch-bg: url(../images/download.svg);
}
.form-switch .form-check-input:checked {
  background-position: right center;
}
.yesicon {
  height: 32px;
  width: 33px;
  background: url(../images/yes.svg) no-repeat center;
  display: inline-block;
  margin: 0 auto;
}
.noicon {
  height: 32px;
  width: 33px;
  background: url(../images/no.svg) no-repeat center;
  display: inline-block;
  margin: 0 auto;
}
.ftr-block {
  display: none;
}

.custom-switch {
  position: relative;
}

.switch-input {
  display: none;
}
.switch-label {
  display: inline-block;
  width: 40px;
  height: 20px;
  border: 1px solid #616161;
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.switch-label::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 3px;
  width: 14px;
  height: 14px;
  background-color: #616161;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  border-radius: 50%;
  transition: transform 0.3s ease, background-color 0.3s ease,
    background-image 0.3s ease;
}
.switch-input:checked + .switch-label {
  border: 1px solid #e59d11;
  background-color: #e59d11;
}

.switch-input:checked + .switch-label::after {
  transform: translateX(19px);
  background-color: white;
  background-image: none;
}
#pricingHeader {
  position: sticky;
  top: var(--main-header-height, 0px);
  z-index: 50;
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

#pricingHeader.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 1023px) {
  #pricingHeader {
    display: none !important;
  }
}

@media (min-width: 320px) and (max-width: 767px) {
  .yesicon {
    height: 28px;
    width: 28px;
    border-radius: 50px;
  }
  .noicon {
    height: 28px;
    width: 28px;
    border-radius: 50px;
  }
  .pricing-table table th {
    padding: 12px;
  }
  .pricing-table table td {
    padding: 12px;
  }
}
