#card-top-header{
  background-color: var(--company_name_background);
}

#ghost_form{
  background-color: var(--ghost_form_card_background);
}

#ghost_form_title_id{
  color: var(--ghost_form_title);
}

#ghost_form_description_id{
  color: var(--ghost_form_description);
}

.formbuilder-text-label, .formbuilder-file-label, .formbuilder-select-label, .formbuilder-date-label, .formbuilder-textarea-label, .formbuilder-number-label{
  color: var(--form_label_color);
}

#get-ghost-form-data{
  color: var(--ghost_form_submit_button_text);
  background-color: var(--ghost_form_submit_button_background);
}

.term-text{
  color: var(--bottom_term_and_condition_text);
}

#actual-form-submit-button{
  color: var(--actual_form_submit_button_text);
  background-color: var(--actual_form_submit_button_background);
}

#actual-campaign-title{
  color: var(--actual_campaign_title);
 
}
#actual-campaign-description{
  color: var(--actual_campaign_description);
}

#complete-actual-card-id{
  background-color: var(--actual_form_card_background);
}

#scratch-card-id{
  background-color: var(--scratch_card_background);
}

#instagram-card-id{
  background-color: var(--instagram_card_background);
}

#btnRedirectToReview{
  color: var(--google_redirect_button_text) !important;
}

#google-card-id{
  background-color: var(--google_card_background);
}

#scratch-card-text{
  color: var(--scratch_card_text);
}

.follow-button {
  width: 100%;
  color: var(--instagram_step_1_button_text);
  background-color: var(--instagram_step_1_button_background);
  margin-top: 1.5rem;
}


.claim-btn {
  width: 100%;
  background-color: var(--instagram_step_2_button_background);
  color: var(--instagram_step_2_button_text);
  margin-top: 1.5rem;
  margin-left: 0 !important;

}


.name-mobile-div {
  color: var(--actual_campaign_user_detail);
  background-color: var(--actual_campaign_user_detail_background);
  width: 100%;
  border-radius: 0.5rem;
  justify-content: space-around;
  margin-bottom: 2rem;
  margin-left: 0.1rem;
}


.redirection-btn{
  width: 100%;
  color: var(--redirection_button_text);
  background-color: var(--redirection_button_background);
}

#unique-code-text{
  color: var(--unique_code_text);
}


.gift-participated-text {
  margin-top: 0.5rem;
  margin-bottom: 0;
  text-align: center;
  display: none;
  color:var(--already_participated_text)
}


.gift-text {
  margin-top: 0.5rem;
  text-align: center;
  color: var(--gift_name_text);
}




body {
  background: linear-gradient(to bottom, var(--main_background_1), var(--main_background_2));
  user-select: none;
  font-family: "Sofia Sans", "Noto Sans Malayalam", sans-serif;
}
.company-name{
  text-align: center;
  line-height: 1.2;
  padding-left: 1rem;
  padding-right: 1rem;
  font-weight: 400;
  color: var(--company_name_text);
}

.form-card {
  background: none;
  box-shadow: none;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.card-header {
  margin-bottom: 1rem;
  background-color:var(--company-name-card-background);
  border-radius: 1rem;
  display: flex;
  justify-content: space-between;
  padding: 1rem;
}

.logo {
  border-radius: 100%;
}

.card-form {
  background-color:var(--card-background);
  padding: 2rem;
  border-radius: 1rem;
}

.form-title-1 {
  margin: 0;
  color:var(--card-title-campaign-name);
  line-height: 1.2;
}

.form-title-2 {
  margin-bottom: 0;
  color:var(--card-title-campaign-name);
  line-height: 1.2;
}

.card-subtitle{
  color:var(--card-subtitle-card-description);
  line-height: 1.2;
  margin-top: 0.2rem;
  font-weight: 300;
}

.card-form p,
.card-form h2 {
  text-align: center;
}

.form-field {
  width: 100%;
  margin-bottom: 1.5rem;
}

.submit-button {
  width: 100%;
  background-color: var(--body-background1);
  color: white;
  margin-top: 1.5rem;
}

.term-text {
  font-size: x-small;
  margin-top: 1rem;
  text-align: center;
}

.card-footer {
  flex-direction: column;
  align-items: center;
  margin-top: 1rem;
  background-color: #fff;
  border-radius: 1rem;
  padding: 1rem;

}

.card footer h6 {
  margin: 0;
  text-align: center;
}

.card footer ol {
  font-size: small;
  margin: 0;
  padding-left: 2rem;
}

.container {
  display: flex;
  justify-content: center;
}

/* PAGE 2 (GOOGLE REVIEW) */

.bi-star-fill {
  margin-right: 1rem;
  margin-bottom: 2rem;
}

.review-text {
  font-size: small;
  text-align: center;
  margin-top: 2rem;
}



.instagram-bg {
  height: 100px;
  width: 100px;
  border-radius: 100%;
  margin-top: 1.5rem;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.instagram-image {
  border-radius: 100%;
}




.name-mobile-inner {
  text-align: center;
}

.name-mobile-inner h6 {
  margin: 0;

}

.bi-question-circle-fill {
  margin-left: 0.5rem;
}

.name-mobile-div-2 {
  margin-bottom: 1rem;
}


/* ANOTHER FILE */



.container-new {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: all 0.3s ease;

}


.base-new {
  background-color: #ffffff;
  font-family: "Poppins", sans-serif;
  box-shadow: 0 1.2em 2.5em rgba(16, 2, 96, 0.15);
  visibility: hidden;
  text-align: center;
  cursor: grabbing;
  border-radius: 0.5em;
  position: relative;
  transition: transform 1s ease, min-width 1s ease, min-height 1s ease;
  display: flex;
  justify-content: center;
  align-items: center;

}

.scratch-card-image-new {
  border-radius: 4px;
  object-fit: contain;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.16));
  user-select: none;
  will-change: transform;
  transition: max-width 1s ease, max-height 1s ease;

  max-width: 350px;

  max-height: 350px;

}

#scratch-new {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  text-align: center;
  cursor: grabbing;
  border-radius: 0.5em;
  touch-action: none;
  border-radius: 4px;
  transition: width 1s ease, height 1s ease;
}



.hr-style {
  border: none;
  border-top: 2px dashed grey;
  background-color: #fff;
  height: 1px;
  width: 100%;
  margin-top: 1rem;
}


.scratch-card-image-new.animate {
  animation: pop-out-in 1s cubic-bezier(0.65, 1.35, 0.5, 1);
}

@keyframes pop-out-in {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}


@media (max-width: 400px) {

  .qr {
    width: 150px;
    height: 150px;
  }

}

@media (max-width: 370px) {

  .qr {
    width: 125px;
    height: 125px;
  }

}

@media (max-width: 345px) {

  .qr {
    width: 125px;
    height: 125px;
  }

  .code {
    font-size: small !important;
  }

  .tooltip {
    font-size: x-small !important;
  }

}

@media (max-width: 320px) {

  .qr {
    width: 100px;
    height: 100px;
  }

}

.hidden-code-section {
  opacity: 0;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  transition: opacity 2s ease-in-out, height 0.5s ease;
}

.show {
  opacity: 1;
  visibility: visible;
  height: auto;
}

.name-mobile-inner p {
  font-size: small;
}

.review-section{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.follow-button-div {
  width: 100%;
  margin-top: 1rem;
  margin-bottom: 1rem;
}



.error-message{
  color:var(--error-message-color);
}

.submit-form-button {
  margin-top: 1rem;
  width: 100%;
  line-height: 1.2;

}


#loading-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #ffffff;
  z-index: 9999;
}

.lds-hourglass {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}


@keyframes rotate-logo {
  0% {
    transform: rotate(0deg);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }
  50% {
    transform: rotate(900deg);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  100% {
    transform: rotate(1800deg);
  }
}



.country-code-input{
  padding-right: var(--iti-input-padding) !important;
  padding-left: var(--iti-selected-country-arrow-padding) !important;
  margin-left: 0;
}

/* Input File Design */

input[type="file"]::-webkit-file-upload-button {

      border: none;
      padding: 1rem;
      background-color: #e9ecf0;
    }


    input[type="file"]::file-selector-button {

      border: none;
      padding: 1rem;
      background-color: #e9ecf0;
    }


    input[type="file"]::-ms-browse {

      border: none;
      padding: 1rem;
      background-color: #e9ecf0;
    }

    input[type="file"] {
      padding: 0 !important;

    }

/* Ensure the element is hidden before JS adds the show-fade class */
.fade-in {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  pointer-events: none; /* optional: avoid interaction while animating in */
}

.fade-in.show-fade {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  transition: opacity 0.8s ease, transform 0.8s ease;
}