/* WRAPPER */
#dqh-quiz-wrapper,
.dqh-wrapper {
  position: relative;
  width: 100%;
  max-width: 830px;
  margin: 50px auto;
  min-height: 500px;
  perspective: 1200px;
}

/* CARDS */
.dqh-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  padding: 75px;
  border-radius: 40px;
  text-align: left;
  transform-origin: center top;
  min-height: 500px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.dqh-intro-card{
	text-align:center;
	font-family: "Baloo 2";
}

.dqh-intro-title{
	font-family: "Baloo 2";
	font-weight: 600;
	font-size: 36px;
	letter-spacing: -0.04em;
	line-height: 1;
	color: #722383;
}

.dqh-intro-subtitle{
	font-family: "Baloo 2";
	font-weight: 400;
	font-size: 22px;
	letter-spacing: -0.04em;
	line-height: 1.2;
	color: #722383;
    padding: 40px 0px;
}

.dqh-start-btn,
.dqh-start-btn:hover{
	font-family: "Baloo 2";
	font-size: 24px;
	font-weight: 700;
	color: #fff;
	background: #F68E37;
	border: 1px solid #F68E37;
	border-radius: 50px;
	padding: 15px 30px 15px 30px;
}

/* QUESTION HEADING */
.dqh-card h3.dqh-question {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-family: "Baloo 2";
  color: #722383;
}

.dqh-question {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.dqh-qnum {
  font-weight: bold;
  color: #722383;
  min-width: 3rem;
}

.dqh-qtext {
  flex: 1;
}

/* ANSWER BUTTONS */
.dqh-answer-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  font-size: 18px;
  border: none;
  border-radius: 999px;
  background: #EDF0F2;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 100%;
  font-family: "Baloo 2";
  font-weight: 500;
  color: #722383;
}

.dqh-answer-btn:hover {
  background: #F68E37;
  color: #ffffff;
}

.dqh-answer-btn:hover .dqh-answer-icon {
  color: #ffffff;
  border-color: #ffffff;
}

/* ANSWER ICON */
.dqh-answer-icon {
  font-weight: 600;
  background: transparent;
  color: #722383;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-family: "Baloo 2";
  border: 1px solid #722383;
  padding-top: 1px;
}

/* RESULT CARD */
.dqh-result-card {
  /* NOTE: no pointer-events: none; so the CF7 form is usable */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 50px;
}

/* RESULT TEXT */
#dqh-final-result-text,
.dqh-final-text {
  width: 100%;
  height: 100%;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  font-family: "Baloo 2";
  color: #722383;
  line-height: 1;
  letter-spacing: -0.03em;
}

/* (If you ever place an image inside final text area) */
#dqh-final-result-text img,
.dqh-final-text img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

/* OPTIONAL: spacing for the form on the result card */
.dqh-final-form {
  width: 100%;
  padding: 24px 32px;
  box-sizing: border-box;
}

.formular-giveaway{
  font-size: 0px;
  color:#722383;
  font-family: "Baloo 2";
}
.formular-giveaway p{
  font-size:14px;
}
.formular-giveaway .formular-giveaway-left,
.formular-giveaway .formular-giveaway-right{
  display:inline-block;
  width: 50%;
  vertical-align:top;
}
.formular-giveaway .formular-giveaway-left{
  padding-right:15px;
}
.formular-giveaway .formular-giveaway-right{
  padding-left:15px;
}
.formular-giveaway input.wpcf7-text{
  font-size: 14px;
  border: 2px solid #EDF0F2;
  color: #722383;
  border-radius: 50px;
  padding: 0px 20px;
  height: 50px;
  line-height: 50px;
  font-weight: 600;
  background: #EDF0F2;
}
.formular-giveaway .wpcf7-acceptance .wpcf7-list-item{
  margin-left:0;
}
.formular-giveaway .wpcf7-acceptance .wpcf7-list-item-label a{
  color: #722383;
  font-weight: bold;
  text-decoration: underline;
}
.formular-giveaway .formular-giveaway-submit{
  text-align: center;
  padding-top:30px;
}
.formular-giveaway .formular-giveaway-submit .wpcf7-submit{
	font-family: "Baloo 2";
	font-size: 24px;
	font-weight: 700;
	color: #fff;
	background: #F68E37;
	border: 1px solid #F68E37;
	border-radius: 50px;
	padding: 15px 30px 15px 30px;
    text-transform: uppercase;
}
.formular-giveaway .formular-giveaway-cerinte{
  padding-bottom:10px;
}
.formular-giveaway .wpcf7-submit:disabled{
	opacity: 0.5;
}
.formular-giveaway .wpcf7-spinner{
	display: none !important;
}
.formular-giveaway .wpcf7-not-valid-tip{
	text-align: center;
}

#mesaje-formular-inscriere{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99998;
  background: rgba(0,0,0,0.7);
}
#mesaje-formular-inscriere .wrapper-mesaj{
  position: absolute;
  left: 50%;
  top: 50%;
  background: #fff;
  width: 600px;
  max-width: 90%;
  transform: translate(-50%, -50%);
  padding: 50px;
}
#mesaje-formular-inscriere #close-mesaj{
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  background: transparent;
  color: #555;
  cursor:pointer;
}
#mesaje-formular-inscriere.eroare .wrapper-mesaj{
 background: #fff;
 color: #000000;
 border-radius: 5px;
 border-left: 10px solid #ffb900;
}
#mesaje-formular-inscriere.succes .wrapper-mesaj{
  background: #fff;
  color: #000000;
  border-radius: 5px;
  border-left: 10px solid #46b450;
}
/* #mesaje-formular-inscriere.succes #close-mesaj{
  color:#ffffff;
} */
#mesaje-formular-inscriere #content-mesaj{
  font-family: 'Baloo 2', Sans-serif;
  text-align: left;
  font-size: 18px;
  line-height: 1.2;
  padding-left:50px;
  position: relative;
}
#mesaje-formular-inscriere #content-mesaj:before{
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  -moz-osx-font-smoothing: grayscale;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  position: absolute;
  top: 50%;
  left:0;
  transform: translateY(-50%);
  font-size: 40px;
}
#mesaje-formular-inscriere.eroare #content-mesaj:before{
  content:'\f06a';
  color: #ffb900;
}
#mesaje-formular-inscriere.succes #content-mesaj:before{
  content:'\f164';
  color:#46b450;
  display: none;
}
#mesaje-formular-inscriere.succes #content-mesaj{
  padding-left: 0px;
  text-align: center;
}

#mesaje-formular-inscriere.succes #content-mesaj .mesaj-participare h3{
  font-size: 28px;
  font-weight: 600;
}
#mesaje-formular-inscriere.succes #content-mesaj .mesaj-participare h4{
  font-size: 22px;
  font-weight: 400;
  margin-bottom:0px;
}
#mesaje-formular-inscriere.succes #content-mesaj .mesaj-participare .voucher{
  font-size: 32px;
  background: #FFD72D;
  display: inline-block;
  padding: 5px 15px 3px 15px;
  border-radius: 50px;
  color: #000000;
  font-weight: 600;
  margin-top:20px;
  margin-bottom:20px;
}
#mesaje-formular-inscriere.succes #content-mesaj .mesaj-participare p{
  font-size: 22px;
  font-weight: 400;
}

@media only screen and (max-width:768px){
  .dqh-intro-title{
    font-size: 26px;
  }
  .dqh-intro-subtitle{
    font-size: 18px;
  }
  .dqh-card{
    padding: 50px 30px;
  }
  .dqh-card h3.dqh-question{
    font-size: 20px;
  }
  .dqh-answer-btn{
    font-size: 16px;
  }
  .formular-giveaway .formular-giveaway-left, .formular-giveaway .formular-giveaway-right{
    width: 100%;
  }
  .formular-giveaway .formular-giveaway-left{
    padding-right: 0px;
  }
  .formular-giveaway .formular-giveaway-right{
    padding-left: 0px;
  }
  #dqh-final-result-text, .dqh-final-text{
    font-size: 18px;
  }
  .formular-giveaway input.wpcf7-text{
    height: 40px;
    line-height: 40px;
  }
  .formular-giveaway .formular-giveaway-submit{
    padding: 0;
  }
  .formular-giveaway .formular-giveaway-submit p{
    margin:0;
  }
  .formular-giveaway .formular-giveaway-submit .wpcf7-submit{
    font-size: 18px;
    padding: 10px 20px;
  }
  .dqh-final-form{
    padding: 15px;
  }
}