.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  justify-content: center;
  align-items: center;
  z-index: -1;
  user-select: none;
}
.popup-overlay.show{
  display: block;
  background: rgba(0, 0, 0, 0.6);
  user-select: all;
  user-select: unset;
}
.subDesc{
      margin: 10px 0 0;
}
.claimPopup.popup {
  top: 50%;
  left: -800px;
  background: #fff;
  padding: 20px 33px 30px;
  border-radius: 12px;
  max-width: 468px;
  width: 100%;
  min-height: 614px;
  height: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow-x: hidden;
  transition: all ease .4s;
  transform: scale(.8) translate(-50%, -50%);
}
.popup-overlay.show .claimPopup.popup {
    left: 50%;
    transform: scale(1) translate(-50%, -50%);
}
.custom-alert-danger {
    color: #721c24;
    background-color: #f8d7da !important;
    border-color: #f5c6cb;
    margin-bottom: 20px;
    padding: 10px 15px;
    border-radius: 8px;
    margin-top: 12px;
}
.close-btn {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 24px;
  cursor: pointer;
}

.emoji-header {
  font-size: 24px;
  text-align: center;
}
.emoji-header img{
  position: relative;
  
}
.popup-form-view .emoji-header img{
  width: 30%;
}
.emoji-header .claimGift{
     position: relative;
    left: 0px;
    /* width: 34%;
    height: 100%;
    margin: 0 auto 10px; */
}
h2, .claimHeading {
  margin: 0;
  text-align: center;
  margin-top: 0px;
  font-weight: 600;
  font-size: 26px;
  line-height: 130%;
  color: #121826;
}
 
.subtext {
 
font-weight: 400;
font-size: 14px;
line-height: 160%;
letter-spacing: 0%;
text-align: center;
  text-align: center;
  color: #5F6C78;
  margin: 13px auto 25px;
}
.subtext.my-0{
  margin-bottom: 0;
}
.subtext.mt-0{
  margin-top: 0;
}
#gift-form label {
  display: block;
  margin: 0px 0 2px;
  color: #121826;
  font-weight: 400;
  font-size: 13px;
  line-height: 150%;
  padding-bottom: 0;
}

#gift-form label span {
  color: #de3518;
}
input:focus-visible {
  outline: none;
}
#gift-form .inputGroup .giftFormInput {
  border-radius: 5px;
  border: 1px solid #E2E8F0;
  width: 100%;
  background: #fff;
  padding: 13px 15px 13px;
  max-height: 47px;
  color:#121826;
  font-size: 15px;
}
#gift-form .inputGroup .giftFormInput:hover {
  border: 1px solid #b4dff4;
}
#gift-form .inputGroup {
  margin-bottom: 10px;
}
#gift-form .inputGroup .giftFormInput::placeholder {
  color: #b5c1cf;
  font-weight: 400;
}
#gift-form .inputGroup .giftFormInput:focus {
  border: 1px solid #2563eb !important ;
  background: #ffffff !important ;
}
#gift-form .inputGroup input.focusedInput {
  border: 1px solid #2563eb !important ;
  background: #ffffff !important ;
}
#gift-form .inputGroup label.focusedLabel {
  color: #2563eb;
}
#gift-form .inputGroup input:hover,#gift-form .inputGroup textarea:hover,#gift-form .inputGroup.selectGroup .selection .select2-selection--single:hover {
    box-shadow: unset;
}

#gift-form .iti__selected-flag {
  padding: 0 6px 0 15px;
}
#gift-form .inputGroup:focus-within label {
  color: #2563eb;
}
#gift-form .inputGroup .iti.iti--allow-dropdown {
  display: block;
  width: 100%;
}
#gift-form .inputGroup .iti.iti--allow-dropdown input {
  max-width: calc(100% - 63px);
  margin-left: 64px;
  border-radius: 0px 5px 5px 0px;
      letter-spacing: 0.7px;
}
#gift-form .iti.iti--allow-dropdown .iti__flag-container {
  border-style: solid;
  border-color: #d7e4ee;
  border-width: 1px 0px 1px 1px;
  border-radius: 5px 0px 0px 5px;
  width: 64px;
}
.iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag {
  background-color: #f8fcff;
}
#gift-form
  .inputGroup:focus-within
  .iti.iti--allow-dropdown
  .iti__flag-container {
  border-color: #2563eb;
}
#gift-form
  .inputGroup
  .giftFormInput:hover
  ~ .iti.iti--allow-dropdown
  .iti__flag-container {
  border-color: #b4ccdf;
}
#txt-mobile{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 100%;
}
.errorMsg {
  font-size: 13px;
  font-weight: 400;
  line-height: 16.44px;
  letter-spacing: 0.005em;
  color: #e20707;
  position: relative;
  margin-top: 6px;
  padding-left: 21px;
  display: none;
}
.errorMsg::before {
  position: absolute;
  content: '';
  width: 14px;
  height: 14px;
  left: 0;
  top: 0;
  background: url(../images/error-sign-new.svg) no-repeat;
}
.phone-input {
  display: flex;
  gap: 10px;
}

.phone-input select {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.info-text {
  font-weight: 400;
  font-size: 13px;
  line-height: 150%;

  color: #7c8793;
}
.info-text span {
  font-style: italic;
}
button {
  outline: none;
  cursor: pointer;
}
.primary-btn {
  margin: 25px auto 7px;
  width: 100%;
      background:#2563eb;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
line-height: 16px;
  height: 40px;
  position: relative;
}
.btn-loader {
  position: absolute;
  object-fit: contain;
  top: -3px;
  z-index: 11;
  left: 50%;
  width: 13%;
  transform: translateX(-50%);
}
.secondary-btn{
  border: 1px solid #D8D8D8;
  font-family: Inter;
font-weight: 500;
font-size: 14px;
line-height: 140%;
letter-spacing: 0%;
text-align: center;
color: #5F6C78;
height: 42px;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
border-radius: 5px;
 
}
.popup.claimPopup strong {
    font-weight: 500;
}
.secondary-btn:hover{
    border: 1px solid #121826;
      color:#121826;
}
.primary-btn:hover {
  background: #1b449e;

}

.text-btn {
  margin: 0 auto;
    font-weight: 400;
    font-size: 13px;
    line-height: 150%;
    letter-spacing: 0%;
    text-align: center;
    text-decoration: underline;
    color: #5F6C78;
    max-width: max-content;
    width: 100%;
       border: none;
    display: block;
    background: none;

}
.text-btn:hover {
  color: #121826;
}

.footer-note {
  font-weight: 400;

  font-size: 13px;
  line-height: 150%;

  text-align: center;
  color: #7c8793;
}
.footer-note span {
  font-style: italic;
}
.popup-confirmation-view .primary-btn {
  margin: 40px auto 0px;
}
.popup-confirmation-view h2,
.popup-confirmation-view .claimHeading,
.popup-confirmation-view p {
  text-align: center;
}
.popup-confirmation-view .claimHeading {
  margin-bottom: 15px;
}

.popup-confirmation-view .confirm-txt {
  font-weight: 400;
  font-size: 15px;
  line-height: 150%;

  text-align: center;
  color: #5F6C78;
}
.close-btn svg {
  transition: opacity 0.3s ease;
}

.close-btn:hover svg {
  opacity: 0.6; /* Or any value less than 1 */
}
#not-phone {
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;

  text-align: center;
}
#confirm-email,
#confirm-phone {
  font-weight: 500;
  font-size: 17px;
  line-height: 150%;

  text-align: center;
  color: #121826;
}
#confirm-phone {
  font-size: 15px;
}
.error {
  border: 1px solid #e20707 !important;
  animation: shake 0.6s ease;
}

#confirm-email {
  margin: 30px 0px 10px
}
/* .popup-confirmation-view hr {
  margin: 20px 0;
  border: none;
  border-top: 1px solid #eee;
} */
hr {
  margin: 15px auto 13px;
  width: 100%;
  border: 1px solid #d5eafa;
  background: #d5eafa;
}
.popup-confirmation-view .custom-hr{
    height: 1px;
    display: block;
    background: #d5eafa;
    margin: 15px 0px 18px;
}
.popup-otp-verify .custom-hr,
.popup-form-view .custom-hr{
    height: 1px;
    display: block;
    background: #d5eafa;
    margin: 15px 0px 13px;
}
.small-note {
  font-size: 12px;
  color: #777;
  text-align: center;
  margin-top: 10px;
}

/* gift icon */
.gift-tooltip {
  display: none;
  position: absolute;
  background: #ffffff;
  color: #0e101a;
  padding: 8px 5px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  /* bottom: 100%; Position above the icon */
  top: -55%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 10px;
  box-shadow: 0 9px 15px rgba(0, 0, 0, 0.1);
  z-index: 1002;
  width: 160px;
}

.gift-tooltip:after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 9px;
  border-style: solid;
  border-color: #ffffff transparent transparent transparent;
  margin-top: -1px;
}

/* Show tooltip on hover */
.gift-icon:hover .gift-tooltip {
  display: block;
}

/* Gift icon styles with default tilt animation */
.gift-icon {
  display: none;
  position: fixed;
  bottom: 30px;
  left: 50px;
     width: 104px;
    height: 104px;
  background: transparent;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1001;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); */
}

.gift-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(28%) sepia(94%) saturate(2398%) hue-rotate(215deg) brightness(94%) contrast(95%);
  /* animation: tiltAnimation 0.6s ease infinite alternate; Default tilt animation */
}

.error-warning{

  width: 100%;
  height: 100%;
  background-color: #ffe7e7;
  border: 1px solid #edcccc;
  border-radius: 8px;
padding: 0;
margin: 0;
  transition: all 0.3s ease;
  max-height: 0;
  opacity: 0;
  /* display: flex;
  justify-content: center;
  align-items: center; */
  /* z-index: 1003; */
}
.error-warning.show {
  max-height: 200px; /* Adjust based on content height */
  opacity: 1;
    padding: 7px 1px;
  margin: 8px 0px;
}
.error-warning p{
color: #121826;
font-size: 12px;
font-weight: 400;
line-height: 150%;
text-align: center;

}
.error-warning p strong{
font-weight: 500;
}
.info-alert{
  width: 100%;
  height: 100%;
  padding: 7px 16px;
  background-color: #F5FAFE;
  border: 1px solid #d5eafa;
  border-radius: 8px;
}
.info-alert .info-text{
 text-align: left;
 font-weight: 400;
  font-size: 14px;
}
#confirm-email{
  color:#121826;
}

/* Verify OTP */
.codeSentWrapper p {
    font-size: 15px;
    line-height: 160%;
    color: #5F6C78;
    margin-top: 25px;
    text-align: center;
}
.codeSentWrapper .subDesc{
      margin-top: 8px;
}
.otpGroup {
    display: flex;
    column-gap: 20px;
    justify-content: center;
}
.optWrapper {
      max-width: max-content;
    margin:25px auto 0;
}
.otpGroup input {
    appearance: none;
    display: block;
    width: 48px;
    padding: 0 10px;
    height: 48px;
    font-size: 25px;
    line-height: 32px;
    outline: none;
    background: #ffffff;
    border: 1px solid #DDE9FA;
    border-radius: 4px;
    text-align: center;
}
.resendCodeWrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}
.resendCodeWrapper p {
    font-size: 13px;
    line-height: 150%;
    color: #5F6C78;
}
.codeSentWrapper p span {
      font-weight: 600;
    color: #121826;
    
}
.resendCodeWrapper p a {
    color: #2563eb;
}
.resendCodeWrapper p a:hover{
      text-decoration: underline;
}
.otpGroup input:focus {
    border: 1px solid #2563eb !important;
    background: #ffffff !important;
}
.otpGroup input:hover {
    border: 1px solid #b4ccdf;
}
.popup-otp-verify #sendOtpAgain {
    display: inline-block;
    max-width: 112px;
    padding: 0;
    margin: 15px auto 0;
    gap: 4px;
    align-items: center;
    background: #ffffff;
    border: unset;
    border-radius: 8px;
    justify-content: center;
    margin-top: 0;
}
.popup-otp-verify #sendOtpAgain:hover{
  padding: 0;
    border: unset;
}
.otpGroup input.error {
    border: 1px solid #e20707 !important;
    animation: shake 0.6s ease;
}
.secureText {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 0;
    background: #F6FAFF;
    font-style: italic;
    font-size: 12px;
    line-height: 150%;
    text-align: center;
    color: #5F6C78;
    margin-top: 42px;
}
.goBackInfo{
    display: block;
    text-align: center;
    color: #5F6C78;
    font-weight: 400;
    font-size: 13px;
    line-height: 150%;
    width: 100%;
    outline: none;
    margin-top: 5px;
    outline: none;
    background: unset;
    border: none;
}
.claimSendOtpAgain{
  text-decoration: underline;
}
.claimSendOtpAgain:hover{
  text-decoration: unset;
}
.backbtn{
  text-decoration: underline;
}
.backbtn:hover{
  text-decoration: none;
}
.claimHeading.mt-114 {
    margin-top: 114px;
}
.popup-otp-verify .emoji-header img{
    position: relative;
    left: 0;
    width: 193px;
    height: 193px;
}
.popup-otp-verify .claimHeading{
      margin-top: 0;
}
.resendCodeWrapper p a.btnDisable {
       color: #b9b9b9;
    pointer-events: none;
}
/* Animation keyframes */
@keyframes tiltAnimation {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(-10deg);
  }
  100% {
    transform: rotate(10deg);
  }
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-3px);
  }
  40% {
    transform: translateX(3px);
  }
  60% {
    transform: translateX(-3px);
  }
  80% {
    transform: translateX(3px);
  }
  100% {
    transform: translateX(0);
  }
}
@media (max-width: 768px) {
  #mystery-discount-popup {
    width: 90%;
    left: 5% !important;
  }

  .popup-form input,
  .popup-form button {
    min-height: 48px;
  }

  .close-btn {
    width: 24px;
    height: 24px;
    font-size: 24px;
  }
}

@media (max-width: 575px) {
  .claimPopup.popup {
    padding: 10px 20px;
    max-width: 360px;
  }
  
  .claimHeading {
    font-size: 23px;
    margin-top: 0;
    line-height: 150%;
  }
  .gift-icon {
    left: 10px;
        width: 82px;
        height: 82px;
        bottom: 10px;
  }
  .gift-icon:hover .gift-tooltip {
    display: none;
  }
  .footer-note{
    font-size: 12px;
  }
  .error-warning p{
color: #121826;
font-size: 11px;
font-weight: 400;
line-height: 150%;
text-align: center;
}
.popup-form-view .emoji-header img {
    position: relative;
    left: 0;
    width: 119px;
}
 
.popup-otp-verify .otpGroup {
        margin-top: 25px;
    }
    .popup-otp-verify .emoji-header img {
    position: relative;
    left: 0;
    width: 140px;
    height: 140px;
}
.popup-confirmation-view .confirm-txt {
    padding: 0 12px;
}
}
