/* #widget-extension,
#widget-btn,
button {
  font-family: "Noto Sans", sans-serif;
} */
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: unset;
  padding: unset;
  margin-bottom: unset
}

.widget-content p {
  margin: unset;
  padding: unset;
  margin-bottom: unset;
}

.widget-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4.5%;
  width: 155px;
  bottom: 20px;
  position: fixed;
  cursor: pointer;
  border-radius: 15px;
  height: 45px;
  z-index: 9999;
  font-size: 1.5rem;
  font-weight: bold;
  border: 'none';
  /* animation: expandButton 0.3s ease-out; */
  transition: all 0.5s ease;
  transform: translateX(5px);
  white-space: nowrap;
}

.widget-btn p {
  margin: unset;
  font-size: 15px;
  font-weight: 600;
}

.widget-btn-container svg {
  height: 1.5rem;
  width: 1.5rem;
}

.widget-close-btn {
  display: flex;
  position: fixed;
  cursor: pointer;
  left: 20px;
  bottom: 20px;
  z-index: 9999;
  font-size: 3.5rem;
  color: white;
  height: 50px;
  width: 50px;
  border-radius: 100%;
  align-items: center;
  justify-content: center;
  /* animation: shrinkButton 0.3s ease-out; */
  transition: all 0.5s ease;
}

.widget-close-btn svg {
  height: 3rem !important;
  width: 3rem !important;
}

@keyframes expandButton {
  from {
    width: 50px;
    padding: 12px;
  }
  to {
    width: 180px;
    padding: 12px 24px;
  }
}

@keyframes shrinkButton {
  from {
    width: 180px;
    padding: 12px 24px;
  }
  to {
    width: 50px;
    padding: 12px;
  }
}

.widget-content {
  animation: fadeIn 0.4s ease-out;
  visibility: visible;
  display: block;
  height: calc(100vh - 25%);
  left: 20px;
  bottom: calc(100px);
  opacity: 1;
  max-height: 100%;
  box-shadow: 0 0 80px 0 rgb(0 0 0 / 16%);
  z-index: 99999999 !important;
  position: fixed;
  width: 350px;
  background: white;
  overflow-x: hidden;
  overflow-y: scroll;
  overscroll-behavior: contain;
  border: 0;
}

/* Add a backdrop overlay for fade effect */
.widget-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 100;
  animation: fadeIn 0.4s ease-out;
}

.widget-overlay.closing {
  animation: fadeOut 0.4s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.widget-content.closing {
  animation: fadeOut 0.4s ease-out;
}

.widget-content::-webkit-scrollbar {
  display: none;
}

.widget-content-close-btn svg {
  height: 20px !important;
  width: 20px !important;
}

.widget-content svg {
  height: 30px;
  width: 30px;
}

.arrow-widget svg {
  height: 15px;
  width: 15px;
  color: #929292;
}

.widget-content-bg {
  padding: 20px 25px 60px;
  display: flex;
  justify-content: center;
  border-radius: 0px;
  height: 175px;
  flex-direction: column;
  position: relative;
  background-image: url('https://thevital-production.s3.us-east-2.amazonaws.com/widget-images/Whitw+background.png');
  background-size: cover;
  background-repeat: no-repeat;
}

/* Rest of your CSS code */

.widget-content-header {
  align-items: center;
  background-color: transparent;
  color: white;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 50px;
  justify-content: flex-end;
  position: absolute;
  top: -7px;
  left: -7px;
  width: 100%;
}

.widget-content-close-btn {
  background-color: transparent;
  background-size: 20px;
  border: none;
  border-radius: 3px;
  color: white;
  cursor: pointer;
  font-weight: inherit;
  line-height: inherit;
  font: inherit;
  height: 30px;
  text-align: left;
  width: 30px;
}

.widget-sections-main {
  height: 90%;
}

.widget-sections-main h2 {
  font-size: x-large;
}

.content-section {
  position: absolute;
  top: 20%;
  width: 100%;
  padding-bottom: 3rem;
}
.content-box {
  min-height: 10%;
  margin: 1rem;
  box-shadow: rgba(0, 0, 0, 0.2) 3px 5px 30px -10px;
}

.widget-content-text-secondary {
  font-weight: 500;
  font-size: 16px;
}

.widget-content-text-primary {
  font-size: 24px;
  font-weight: 600;
  line-height: 39px;
}

.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.widget-topbar {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 65px;
  color: white;
  z-index: 55;
  padding: 10px 10px;
}

.widget-topbar-title {
  display: flex;
  align-items: center;
  flex-direction: row;
  color: white;
}

.widget-topbar-title svg {
  height: 20px !important;
  width: 20px !important;
  cursor: pointer;
}

.widget-topbar-close {
  display: flex;
}

.widget-topbar-close svg {
  height: 30px !important;
  width: 30px !important;
  cursor: pointer;
}

.card-body {
  background-color: white;
  text-align: center;
}

.card-body-btn {
  padding: 13px 30px;
  height: auto;
  border: none;
  margin-bottom: 14px;
}

.card-body-btn:hover {
  filter: brightness(120%);
}

.box-content-1 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.box-content-subtitle {
  font-weight: 700;
  text-align: center;
  font-size: 16px;
  margin-bottom: 10px;
}

.box-content-text {
  /* padding-top: 5%;
  font-size: 13px;
  font-weight: 600; */
  color: #8f8f8f;
  line-height: 150%;
  margin-bottom: 16px;
  padding-left: 12px;
  padding-right: 12px;
}

.SignUpreward {
  font-size: 15px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  margin-bottom: 16px;
}

.box-content-2 {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.thevital-footer {
  width: 100%;
  position: fixed;
}

.bottom-sticky-section {
  padding: 3px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 350px;
  position: absolute;
  bottom: 0;
  background: #ffffff;
  box-shadow: 0px -4px 4px #e7e7e7;
}

.bottom-sticky-section p {
  font-size: 11px;
  color: #8d8d8d;
  padding: inherit;
  margin: unset;
}

.bottom-sticky-section img {
  width: 22%;
  margin-left: 2%;
}

.reward-redeem {
  width: 100%;
  color: black;
  height: 100%;
}

.reward-buttons {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 15px;
  background: transparent;
  border: 1px solid #ededed;
  border-radius: 10px;
  margin: 12px 0px;
  color: black;
  align-items: center;
  cursor: pointer;
}

.reward-buttons:hover {
  box-shadow: 0 0 8px 0 rgba(18, 17, 39, 0.12);
}

.reward-buttons-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reward-buttons-subcontent {
  font-size: 13px;
}

.widget-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: #fff;
  height: 34px;
  position: sticky;
  bottom: 0;
}

.widget-follow-btn {
  cursor: pointer;
  padding: 7px 10px;
  font-size: 10px;
  min-width: 75px;
  width: 75px;
}

.widget-follow-btn a {
  text-decoration: none;
}
.waystoearn-item {
  display: flex;
  justify-content: space-between;
  background-color: #fff;
  gap: 5%;
  align-items: center;
  padding: 12px 10px;
  border-radius: 10px;
  box-shadow: 0px 0px 46px -10px rgba(0, 0, 0, 20%);
  margin: 10px 15px;
  width: 95%;
  color: black;
}
.availablePoints {
  display: flex;
  flex-direction: column;
  width: 90%;
  margin: 0px 15px;
}

.waystoearn-content {
  display: flex;
  flex-direction: column;
}

.waystoearn-content-title {
  font-weight: 500;
  font-size: 13px;
}

.waystoearn-content-subtitle {
  color: #818181;
  font-size: 12px;
}

.way-to-earn-heading {
  font-size: 14px;
  font-weight: bold;
  margin: 16px;
}

.empty-reward {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.empty-reward img {
  height: 45%;
  width: 70%;
}

.empty-reward-section {
  /* display: flex;
  align-items: center;
  justify-content: center; */
  height: 88%;
  width: 100%;
}

.widget-section-title {
  margin-left: 5%;
}

.reward-history-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 1rem; */
  border-radius: 50%;
}

.reward-history-icon svg {
  height: 25px;
  width: 25px;
}

.reward-history-box {
  display: flex;
  align-items: center;
  padding: 1.25rem;
  gap: 1rem;
  justify-content: space-between;
}

.ui-admin-bar--is-collapsed .ui-admin-bar__expand-button {
  display: none;
}

.reward-history-details {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.reward-history-comment p {
  margin: unset;
  text-align: start;
  font-size: small;
}

.reward-points-data {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 10px;
}

.reward-points-data-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reward-points-data p {
  margin: 0.5rem 0;
}

.redeem-section {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  /* padding-top: 36rem; */
  padding-bottom: 3%;
  transition: left 0.3s ease;
}

.redeem-conditions {
  padding-left: 3rem !important;
}

.redeem-conditions li {
  text-align: start;
  font-size: small;
}

.redeem-points {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 1rem;
}

.input-redeem {
  border: 1px solid #bbbbbb;
  height: 3.5rem;
  padding-left: 1rem;
}

.redeem-points-action {
  width: 90%;
  margin: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.input-redeem:focus-visible {
  outline: none !important;
}

.redeem-points button:disabled {
  background-color: rgb(147 147 147) !important;
}

.redeem-box-padding {
  margin: 16px;
  box-shadow: 0px 0px 46px -10px rgba(0, 0, 0, 20%);
}

.generated-coupon-boxes {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.generated-coupons {
  border-radius: 1px solid black;
  border-style: dashed;
  border-width: 1px;
}

.generated-coupons svg {
  /* height: 1.5rem;
  width: 1.5rem; */
  width: 30px;
  height: 30px;
}

.generated-coupons p {
  margin: unset;
}

.redeem-coupons {
  display: flex;
  flex-direction: column;
}

.loading-spinner {
  display: block !important;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 9px solid black;
  border-color: #ededed;
  animation: spinner-d3wgkg 1s infinite linear;
}

.toast {
  border-radius: 10px;
  position: fixed;
  bottom: 14%;
  background-color: black;
  color: white;
  padding: 0.5rem 1rem;
}

@keyframes spinner-d3wgkg {
  to {
    transform: rotate(1turn);
  }
}

@media screen and (max-width: 1296px) {
  .content-section {
    top: 20%;
  }
}

@media screen and (max-width: 1024px) {
  .input-redeem {
    width: 100%;
  }

  .widget-content {
    height: 525px;
    width: 350px;
  }

  .widget-content-bg {
    height: 175px;
  }

  .bottom-sticky-section p {
    font-size: 12px;
  }

  .bottom-sticky-section img {
    width: 20%;
  }
}

@media screen and (max-width: 550px) {
  .widget-content {
    height: 100%;
    width: 100%;
    left: 0 !important;
    right: 0 !important;
    bottom: 0;
    border-radius: 0px;
  }

  .bottom-sticky-section {
    width: 100%;
    bottom: 0%;
  }

  .widget-content-header {
    position: fixed;
    top: 0;
    left: 0;
  }

  .widget-btn-container svg {
    height: 2rem;
    width: 2rem;
  }

  .reward-history-comment p {
    font-size: 1.2rem;
  }

  .content-section {
    position: absolute;
    top: 16%;
  }

  .widget-btn {
    padding: 6px;
    width: 135px;
  }

  .widget-btn p {
    font-size: 13px;
  }

  .input-redeem {
    width: 175px;
  }

  .toast {
    bottom: 2%;
  }
}

/* Slider styles */
input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: white;
  border: 2px solid #ccc;
  border-radius: 50%;
  cursor: pointer;
  margin-top: -6px;
}

input[type='range']::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: white;
  border: 2px solid #ccc;
  border-radius: 50%;
  cursor: pointer;
}

input[type='range']:focus {
  outline: none;
}

input[type='range']::-webkit-slider-runnable-track {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  cursor: pointer;
}

input[type='range']::-moz-range-track {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  cursor: pointer;
}

