header .stickytop {
  z-index: 99 !important;
}

#quiz-container {
    max-width: 500px;
    margin: 50px auto;
    position: relative;
    min-height: 820px;
    height: auto; 
    
}
.quiz-card { 
    width: 360px;
    position: absolute; 
    height: 100%;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    margin: 0 50px;
 
}

.quiz-card:hover {
cursor: -webkit-grab; cursor: grab;
}

.quiz-card, 
.quiz-card * {
  user-select: none;  /* disable text selection */
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+ */
}

.quiz-card img {
    width: 400px;
    height: 550px !important;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    border-radius: 5px !important;;
}

.quiz-card img {
    pointer-events: none;
    user-select: none;
}

.quiz-card h2 {
    font-size: 20px;
    margin-bottom: 20px;
}
.quiz-card .icons {
    position: absolute;
    top: 590px; left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around; 
}
.quiz-card .icons button {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    background-color: #fff !important;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
} 

#quiz-result {
    text-align: center;
    margin-top: 40px;
    font-size: 18px;
    margin: 25px;
}

#quiz-result h2, #premium-resume-container h2 {
    color: #6CC796;
    font-size: 32px;
    line-height: 44px;
    margin-bottom: 40px;
    text-align: center;
}

#premium-resume-container h3 {
    margin-bottom: 10px;
}

.question-content {
    margin-bottom: 20px;
    font-size: 16px;
    color: #333;
    line-height: 1.4;
}

.question-content p {
   padding: 0px !important;
}

#quiz-result {
    max-width: 600px; 
    font-family: Arial, sans-serif;
}

#quiz-result hr {
  border: 1px solid #f5f5f5;
}

.factor-outcome h3 {
    margin-bottom: 5px;
}

.factor-outcome p, .factor-outcome div {
    margin-bottom: 15px;
}


.quiz-titlu {
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  width: 100%;
  height: 30px;
  padding: 15px 0;
  margin: -87px auto 50px auto;
  position: relative;
  border-radius: 5px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.quiz-titlu h2 { 
  margin-top: -50px !important; 
  font-size: 22px; 
  margin-bottom: 15px; 
  color: #fff !important; 
  text-decoration: none !important;
  padding: 0 15px;
  line-height: 28px;
} 


.progress-container {
    width: 100%;
    margin-bottom: 10px;
    user-select: none;
}

.progress-text {
    font-weight: 600;
    color: #000;
    margin-bottom: 10px;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background-color: #ff3860; 
    width: 0%;
    transition: width 0.3s ease-in-out;
}

.feedback-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 48px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  user-select: none;
  z-index: 10;
}


.no-btn, .yes-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0 15px;
  vertical-align: middle;
}

.no-btn svg, .yes-btn svg {
  display: block; 
}

.yes-btn:hover svg path {
  fill: darkgreen;
}

.no-btn:hover svg path {
  stroke: darkred;
}


.quiz-category-ribbon {
  position: absolute;
  top: 85px;
  left: 20px;
  padding: 5px 12px;
  color: white;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  z-index: 10;
  pointer-events: none;
  display: inline-block;
}

.quiz-category-Practical {
  background-color: #28a745;
}
.quiz-category-Artistic {
  background-color: #6f42c1;
}
.quiz-category-Social {
  background-color: #17a2b8;
}
.quiz-category-Enterprising {
  background-color: #fd7e14;
}
.quiz-category-Investigative {
  background-color: #007bff;
}
.quiz-category-Organized {
  background-color: #dc3545;
}
.quiz-category-default {
  background-color: #343a40;
}


@media only screen and (max-width: 600px) {
  .quiz-card {
    width: auto !important;
    margin: 0px !important;
  }

  .box-green {
    transform: rotate(0.8deg) !important; 
  }

  .box-yellow {
    transform: rotate(-0.8deg) !important;
  } 

  .box-green-premium {
    transform: rotate(0.8deg) !important; 
  }

  .box-yellow-premium {
    transform: rotate(-0.8deg) !important; 
  }  
}

@media only screen and (max-width: 410px) {
  .quiz-titlu h2 {
    margin-top: -60px !important;
    font-size: 20px; 
    line-height: 26px; 
   }
}


.quiz-box-wrapper {
  position: relative;
  width: auto;
  height: auto;
  margin-bottom: -40px;
}

.premium-margin {
  margin-bottom: 10px !important;
}
 

.box-quiz {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.box-white {
  position: relative;
  background: #ffffff;
  transform: rotate(0deg);
  z-index: 3;
  padding: 20px;
  box-sizing: border-box;
}

.box-green {
  background: #6DC998;
  transform: rotate(2deg);
  z-index: 1;
}

.box-yellow {
  background: #f7df1e;
  transform: rotate(-2deg);
  z-index: 2;
} 

.box-green-premium {
  background: #6DC998;
  transform: rotate(2deg);
  z-index: 1;
}

.box-yellow-premium {
  background: #f7df1e;
  transform: rotate(-2deg);
  z-index: 2;
} 


/* Back home button */
.clear { clear:both; display:block;}

.quiz-buttonhome {
  text-align: center;
  display: inline-block;
  margin: 10px auto 0 auto;
  width: 100%;
}

.quiz-buttonhome a {
  color: #8387e7 !important;
}

.quiz-buttonhome a:hover {
  color: #444 !important;
}



#quiz-container em.premium-quiz { 
  color: #6DC998;
}


.factor-outcome h3 {
  text-transform: capitalize;
}







body.page-id-570 header, 
body.page-id-570 footer, 
body.page-id-570 .entry h1.page-title,
body.page-id-570 .sidebar,
body.page-id-570 .single-box,
body.page-id-570 #responsive-menu-button  { 
 display: none;
}

body.page-id-570 .single-content {
 background: transparent !important;
}

body.page-id-570 .single-content {
 box-shadow: none;
}