/* ---------- 
.quiz-hidden{display:none!important}
----------*/

.quiz-hidden{display:none!important}

/* ---------- 
Quiz Button Styling 
----------*/

.quiz-arrow-btn {
    background-color: var( --e-global-color-primary );
    padding: 2px 4px 2px 12px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    cursor: pointer;
}
.quiz-arrow-text {
    font-size: var( --e-global-typography-ec55714-font-size );
    font-weight: var( --e-global-typography-ec55714-font-weight );
    font-family: var( --e-global-typography-ec55714-font-family ), Sans-serif;
    color: var( --e-global-color-text );
    padding-top: 3px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.quiz-button-content {
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-wrap: nowrap;
}
.quiz-button-icon {
    position: relative;
    width: 55px;
    height: 36px;
    display: flex;
    align-items: center;
}
.quiz-icon-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}
.quiz-arrow-btn .quiz-morph-bg {
    width: 100% !important;
    height: 100% !important;
    display: block;
    z-index: 1;
}
.quiz-arrow-btn .quiz-double-arrow {
    position: absolute;
    top: 50%;
    right: 0;
    width: 66;
    height: auto;
    transform: translate(-20%, -50%);
    z-index: 2;
    pointer-events: none;
    transition: all .4s cubic-bezier(0.25, 1.5, 0.5, 1);
}
.quiz-arrow-btn .quiz-double-arrow svg {
    width: 66px;
    height: auto;
    display: block;
}
.quiz-arrow-btn:hover .quiz-double-arrow {
      transform: translate(45%, -50%);
}
.quiz-final-btn a {
    text-decoration: none;
}

/* ---------- 
End of Quiz Button Styling 
----------*/

/* ---------- 
Quiz Structure Styling 
----------*/

.quiz-wrapper{
  align-self:flex-start;
  min-height: 560px;
}
.quiz-section {
    min-height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.quiz-section.quiz-start-section {
    justify-content: center;
}
.quiz-section.quiz-congrats-section {
    justify-content: center;
}
.quiz-boxes{
    display:flex;
    flex-direction:row;
    flex-wrap:nowrap;
    align-items:center;
    justify-content:center;
    gap:15px;
    width: 100%;
}
.quiz-container{
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    gap:8px;
    width:40%;
    position:relative;
    justify-content: center;
}
.quiz-question {
    color: var( --e-global-color-text );
    text-align: center;
    margin: 0px;
    font-family: var( --e-global-typography-97ffbc7-font-family ), Sans-serif;
    font-size: var( --e-global-typography-97ffbc7-font-size );
    font-weight: var( --e-global-typography-97ffbc7-font-weight );
    text-transform: var( --e-global-typography-97ffbc7-text-transform );
    line-height: var( --e-global-typography-97ffbc7-line-height );
    width: 1000px;
}
.quiz-congrats {
    color: var( --e-global-color-text );
    text-align: center;
    margin: 0px;
    font-family: var( --e-global-typography-d049067-font-family ), Sans-serif;
    font-size: var( --e-global-typography-d049067-font-size );
    font-weight: var( --e-global-typography-d049067-font-weight );
    text-transform: var( --e-global-typography-d049067-text-transform );
    line-height: var( --e-global-typography-d049067-line-height );
}
.quiz-message {
    color: var( --e-global-color-text );
    text-align: center;
    margin: 0px;
    font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
    font-size: var( --e-global-typography-primary-font-size );
    font-weight: var( --e-global-typography-primary-font-weight );
    line-height: var( --e-global-typography-primary-line-height );
    width: 700px;
}
.quiz-box{
  width:fit-content;
  padding:16px 32px;
  cursor:grab;
  user-select:none;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:4px 4px 4px 8px;
  font-family:var( --e-global-typography-text-font-family ), Sans-serif;
  font-size:var( --e-global-typography-text-font-size );
  font-weight:var( --e-global-typography-text-font-weight );
  line-height:var( --e-global-typography-text-line-height );
  color:var( --e-global-color-text );
}

.quiz-gradient{
    background:linear-gradient(165deg,#009BF5,#005A8F);
}

.highlight{
    outline:1px dashed var(--e-global-color-text);
}

.quizdropArea{
    width:60%;
    height:390px;
    border:2px dashed var( --e-global-color-text );
    border-radius:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#aaa;
    font-family:var(--e-global-typography-secondary-font-family), Sans-serif;
    font-size:var(--e-global-typography-secondary-font-size);
    font-weight:var(--e-global-typography-secondary-font-weight);
    line-height:var(--e-global-typography-secondary-line-height);
    text-transform: var( --e-global-typography-d049067-text-transform );
}

/* ---------- 
End of Quiz Structure Styling 
----------*/

/* ---------- 
Responsive Styling 
----------*/

/* Laptop */

@media (max-width:1400px) {
    .quiz-section {
        min-height: 510;
    }
    .quizdropArea {
        width: 50%;
        height: 340px;
    }
    .quiz-container {
        width: 50%;
    }
}

/* Tablet Landscape */

@media (max-width:1200px) {
    .quiz-section {
        min-height: 530;
    }
    .quiz-boxes {
        flex-direction: column;
    }
    .quizdropArea {
        width: 100%;
        height: 250px;
    }
    .quiz-container {
        width: 100%;
    }
    .quiz-question {
        width: 100%;
    }
    .quiz-box {
        padding: 8px 20px;
    }
    .quiz-t-hide {
        display: none;
    }
    .quiz-message {
        width: 100%;
    }
}

/* Tablet Portrait */

@media (max-width:1000px) {
    .quiz-section {
        min-height: 570px;
    }
    .quiz-t-hide {
        display: none;
    }
}

/* Mobile Landscape */

@media (max-width:900px) {
    .quiz-section {
        min-height: 400px;
    }
    .quizdropArea {
        height: 180px;
    }
    .quiz-m-hide {
        display: none;
    }
}

/* Mobile Landscape */

@media (max-width:800px) {
    .quiz-section {
        min-height: 500px;
    }
    .quizdropArea {
        height: 160px;
    }
}

/* make dragging reliable (esp. on mobile) */
.quiz-box { touch-action: none; cursor: grab; width: fit-content !important; }
.quiz-box:active { cursor: grabbing; }
.quizdropArea { position: relative; }

/* Make drop zone inherit the same “look” */
.quizdropArea { 
  position: relative; 
  font: inherit;           /* avoid typography changes */
  color: inherit; 
}

/* Ensure boxes look identical in either container */
.quiz-container .quiz-box,
.quizdropArea .quiz-box,
.quizdropArea .quiz-box.in-drop {
  /* COPY your existing visual styles from `.quiz-container .quiz-box` here */
  /* for example: */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--quiz-box-bg, linear-gradient(90deg,#0b6,#09f));
  color: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  box-sizing: border-box;
}

/* Optional: avoid transitions fighting the absolute positioning after drop */
.quizdropArea .quiz-box.in-drop { transition: none; }

/* ---------- 
End of Responsive Styling 
----------*/