:root{--thtq-red:#d62828;}

.thtq-progress{
  font-size: 28px;
  font-weight: 600;
  text-align: center;
}
.thtq-question h3{
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 12px;
}
.thtq-question p{
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  max-width: 550px;
  margin: 0 auto 40px;
}
.trade-banner.active{
  background-color: #E33A32;
  color:#fff;
}
.trade-banner.active::before,
.trade-banner.active::after{
  border-right-color: #E33A32;
  border-left-color: #E33A32;
}
.trade-banner {
  position: relative;
  background: #fff;
  color: #000;
  font-weight: 600;
  font-size: 25px;
  text-align: center;
  padding: 9px 0;
  width: 150px;
  margin: auto;
  text-transform: uppercase;
}

/* Left angled cut */
.trade-banner::before,
.trade-banner::after {
  content: "";
  position: absolute;
  top: 0;
  width: 0;
  height: 0;
  height: 100%;
  border-top: 25px solid transparent;
}

/* Left side */
.trade-banner::before {
  left: 0;
  transform: translateX(-100%);
  border-right: 25px solid #fff;
}

/* Right side */
.trade-banner::after {
  right: 0;
  transform: translateX(100%);
  border-left: 25px solid #fff;
}
.thtq-wrapper{
  position:relative;
  padding:44px 18px ;
  border-radius: 16px;
  border: 1px solid #D22;
  background: linear-gradient(180deg, rgba(255, 11, 11, 0.84) -98.89%, rgba(255, 23, 23, 0.00) 100%);
  backdrop-filter: blur(21px);
  color:#fff;
  overflow:hidden;
  min-height: 780px;
}
.thtq-outer{max-width:1070px;margin:0 auto;}
.thtq-card{
  max-width: 750px;
  margin: 0 auto;
}
.thtq-tabs{
  
  display:flex; justify-content:space-between; gap:16px;
  pointer-events:none;
}
.thtq-tab{
  width:40%;
  background:#fff; color:#000;
  font-weight:900; letter-spacing:.5px;
  text-align:center;
  padding:10px;
  border-radius:14px;
  clip-path: polygon(0% 0%, 100% 0%, 92% 100%, 8% 100%);
  box-shadow:0 6px 16px rgba(0,0,0,.25);
  font-size: clamp(16px, 2.4vw, 26px);
}

.thtq-trackShell{
  background: #fff;
  border-radius:999px;
  padding:12px;
  display: flex;
  position: relative;
  max-width: 750px;
  margin: 0 auto 10px;
}
#thtq-slider{
  width:100%;
  -webkit-appearance:none;
  appearance:none;
  height:11px;
  border-radius:999px;
  background: rgba(224, 224, 224, 0.8);
  outline:none;
}
#thtq-slider::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  width:110px; height:110px;
  cursor:grab;
  background-image: url("../imgs/ball.png");
  background-size:cover;
  background-position:center;
  transform:scale(1.05);
}
#thtq-slider::-webkit-slider-thumb:active{ cursor:grabbing; }
#thtq-slider::-moz-range-thumb{
  width:139px; height:139px;
  cursor:grab;
}
.thtq-answer.active{
    background: #E33A32;
}
.thtq-answer{
  border: 1px solid rgba(247, 247, 247, 0.56);
  margin-top:65px;
  background: rgba(255, 255, 255, 0.40);
  border-radius:20px;
  padding:35px 45px;
  text-align: center;
  min-height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.thtq-answer h3{
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.thtq-answer p{
  font-size: 18px;
  font-weight: 400;
}
.thtq-answer p:first-of-type{
  margin-bottom: 24px;
}
.thtq-actions{ display:flex; gap:10px; margin-top:52px; justify-content: center; }
.thtq-btn{
  border:0;
  border-radius:12px;
  padding:34px 45px;
  cursor:pointer;
  background:#1f6feb;
  color:#fff;
  font-weight:800;
}
#thtq-next{
  min-width: 200px;
}
.thtq-btn-secondary{
  background: rgba(255,255,255,.18);
  color:#fff;
}
.thtq-btn:disabled{opacity:.5;cursor:not-allowed;}

.small-sub{
  font-weight: 600;
  font-size: 20px;
  text-align: center; 
  margin-bottom: 40px !important;
}

.thtq-progressbar{
  margin-top: 10px;
  height: 8px;
  background: rgba(255,255,255,.18);
  border-radius: 999px;
  overflow: hidden;
}

.thtq-progressfill{
  height: 100%;
  background: #ffffff;
  width: 0%;
  border-radius: 999px;
  transition: width 450ms ease;
}
.final-card{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
}
.final-result{
    position: absolute;
    max-width: 750px;
    background-color: #E33A32;
    border: 0;
    padding: 24px;
    margin: 0;
}
.final-card video{
  opacity: 0.7;
}

.final-result h3{
  font-size: 35px;
  font-weight: 700;
}
.final-result h4{
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 30px;
}
.final-result p{
  font-size: 18px;
  font-weight: 400;
}
.final-result-outer{
  min-height: unset;
  padding: 0;
  border: 0;
}
.after-quiz{
  display: none;
}

@media screen and (max-width:576px){
   #thtq-slider::-webkit-slider-thumb{
    width:60px !important; height:60px!important;
    transform:scale(1.05) !important;
  }
  #quiz .thtq-trackShell{
    padding:10px;
  }
}