#deenz-test-results { min-height: 600px; display: none; }/* === MBTI PAIRED HORIZONTAL BARS === */
.mbti-paired-chart {
    max-width: 760px;
    margin: 35px auto;
}

.mbti-pair-row {
    display: grid;
    grid-template-columns: 140px 1fr 140px;
    align-items: center;
    margin: 18px 0;
    font-size: 15px;
}

.mbti-label.left {
    text-align: right;
    padding-right: 10px;
    font-weight: 600;
    color: #02256c;
}
.mbti-bar {
    color: transparent;
}
.mbti-label.right {
    text-align: left;
    padding-left: 10px;
    font-weight: 600;
    color: #02256c;
}

.mbti-bar-wrap {
    position: relative;
    height: 40px;
    background: #eef2f7;
    border-radius: 8px;
    overflow: hidden;
}

.mbti-divider {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background: #444;
    z-index: 2;
}

.mbti-bar {
    position: absolute;
    top: 0;
    height: 100%;
    font-size: 11px;
    line-height: 16px;
    color: #fff;
    white-space: nowrap;
}

.mbti-bar.left {
    right: 50%;
    background: #0a74da;
    text-align: right;
    padding-right: 6px;
}

.mbti-bar.right {
    left: 50%;
    background: #7fb3ff;
    text-align: left;
    padding-left: 6px;
}

/* Mobile */
@media (max-width: 600px) {
    .mbti-pair-row {
        grid-template-columns: 90px 1fr 90px;
        font-size: 14px;
    }
}

.quiz-container.paged-mode { min-height: auto !important; }
  #deenzQuiz.paged-mode { padding-bottom: 30px;display: block; }
#deenzQuiz.paged-mode .qcont { padding-top: 48px; padding-bottom: 40px;border-bottom: 3px solid #cdcdcd; }
#deenzQuiz.paged-mode { max-width: 600px; margin: auto; }
#deenzQuiz.paged-mode .qcont p {
    border-bottom: 0px solid #ccc;    padding-bottom: 22px;
}
    #deenzQuiz { display: none; min-height: 300px; background: #fff; padding-left: 10px; padding-right: 10px;}
    #deenzQuiz h3 { padding-top: 10px; }
    .anychart-credits { display: none; }
    .quiz-container{margin:10px auto;min-height: 300px;}
    .qcont{padding-bottom:12px;margin-bottom:0;border-bottom:1px solid #cdcdcd;text-align:center;display:none;}
    .question.active, .qcont.active{display:block;}
    .test-form__radio-group{display:flex;justify-content:space-around;flex-wrap:nowrap;gap:1px;max-width: 500px;margin:auto;}
button#startQuizBtn { background: #6b21fd; color: #fff; font-weight: 600; font-family: "Open Sans",sans-serif; }
    .test-form__radio-wrap{position:relative;flex:1 1 18%;display:flex;flex-direction:column;align-items:center;}
    .test-form__radio-wrap input{opacity:0;position:absolute;width:0;height:0;}
    .test-form__radio{display:block;width:40px;height:40px;border-radius:50%;border:3px solid #ccc;cursor:pointer;transition:all 0.3s ease;}
    .test-form__radio[data-color="red-strong"]{border-color:#FF0000;}
    .test-form__radio[data-color="red-light"]{border-color:#FF7F7F;}
    .test-form__radio[data-color="gray"]{border-color:#888888;}
    .test-form__radio[data-color="green-light"]{border-color:#7FFF7F;}
    .test-form__radio[data-color="green-strong"]{border-color:#00FF00;}
    .test-form__radio-wrap input:checked + .test-form__radio{background-color:currentColor;}
    .test-form__under-label{margin-top:8px;font-weight:bold;font-size:14px;text-align:center;}
    .quiz-submit, .quiz-restart{display:block;background:#02256c;color:#fff;padding:10px 18px;border-radius:4px;}.qcont.active p { font-size: 20px; border-bottom: 1px solid #ccc; padding-bottom: 10px; }
	/* Base styling for options */ .threepoint-option { position: relative; display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border: 1px solid #ccc; border-radius: 8px; background: #f9f9f9; cursor: pointer; transition: all 0.3s; } /* Hide the native radio */ .threepoint-option input[type="radio"] { display: none; } /* Add the X before text */ .threepoint-option span::before { content: "X"; margin-right: 8px; font-weight: bold; font-size: 14px; transition: all 0.3s; } /* Checked state: replace X with tick */ .threepoint-option input[type="radio"]:checked + span::before { content: "✓"; color: green; }
    .quiz-submit:hover, .quiz-restart:hover{background:#3e6cc8;}
    canvas.slider-canvas{border-radius:5px;display:block;margin:0 auto;}
    .quiz-information { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 16px; }
    .quiz-information th, .quiz-information td { border: 1px solid #ddd; padding: 10px; }
    .quiz-information th { background: #f4f4f4; }
    .quiz-information tr:nth-child(even) { background: #fafafa; }
    .quiz-information a { font-weight:bold; text-decoration:none; color:#0073e6; }
    .related-tests { margin-top: 20px; text-align: left; border: 1px solid #6a6; border-radius: 5px; padding:10px; }
    .related-tests h3 { font-size: 0.9em; margin-bottom: 10px; font-weight: bold; }
    .related-tests ul { list-style: none; padding-left: 0; margin: 0; }
    .related-tests ul li { display: inline-block; margin: 5px 3px; }
    .related-tests ul li a { display: inline-block; padding: 4px 10px; font-size: .8em; text-decoration: none; color: #070; background: #eaf0ea; border: 1px solid #00880073; border-radius: 4px; box-sizing: border-box; transition: all 0.2s ease; line-height: normal;}
    .related-tests ul li a:hover { background: #b9f5b9; color: #005500; border-color: #008800; }
    @media(max-width:768px){ .test-form__radio{width:30px;height:30px;} .test-form__radio-wrap{flex:1 1 22%;} }
    #results-chart { width: 100%; max-width: 600px; height: 600px; margin: auto; display: block; }
    @media (max-width: 600px) { #results-chart { height: 450px; } .threepoint-group {
        display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    flex-direction: column;
}label.threepoint-option {
    margin-bottom: 5px;justify-content: left;
}.qcont:has(.threepoint-question) {
    text-align: left;
}
}
    @media (max-width: 400px) { #results-chart { height: 360px; } }
    /* chart-container styles used by CSS bar chart */
    .chart-container { position: relative; width: 100%; max-width: 700px; background:#fff; border:1px solid #ddd; border-radius:8px; padding:15px; box-shadow:0 2px 10px rgba(0,0,0,0.1); margin:auto;}
    .chart-container::before { content:""; position:absolute; top:0; left:0; width:100%; height:100%; background-image: linear-gradient(to top, #ddd 1px, transparent 1px); background-size:100% 25%; z-index:0; }
    .baseline { position:absolute; bottom:53px; left:0; width:100%; height:2px; background:#000; z-index:2; }
    .chart { display:flex; align-items:flex-end; flex-wrap: wrap; justify-content:space-around; height:100%; position:relative; z-index:1; }
    .bar-container { display:flex; flex-direction:column; align-items:center; flex:1; margin:0 8px; position:relative;height: 200px; }
    .bar { position:relative; width:100%; max-width:80px; height:156px; overflow:hidden; }
    .bar-fill { position:absolute; bottom:0; width:100%; height:0; display:flex; justify-content:center; align-items:flex-start; padding-top:4px; color:#fff; font-weight:bold; font-size:clamp(12px,1.2vw,16px); border-radius:5px 5px 0 0; transition:height 1s ease; }
    .bar-label { margin-top:8px; text-align:center; font-size:clamp(12px,1vw,14px); font-weight:600; }.anscont { width: 100%; } /* Slider container */ .slider-cont { width: 100%; position: relative; box-sizing: border-box; display: flex;} /* Slider base */ .slider-cont input[type=range] { -webkit-appearance: none;  margin: auto;height: 18px; border-radius: 10px; background: linear-gradient(to right, #FF4C4C, #FFCE56, #4CAF50); outline: none; transition: background 0.25s; touch-action: pan-x; box-sizing: border-box; } /* Slider thumb - Webkit */ .slider-cont input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; background: #0073aa; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 5px rgba(0,0,0,0.3); cursor: pointer; transition: transform 0.18s, background 0.18s; } .slider-cont input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.12); background: #0095d9; } /* Slider thumb - Firefox */ .slider-cont input[type=range]::-moz-range-thumb { width: 22px; height: 22px; background: #0073aa; border-radius: 50%; border: 2px solid #fff; cursor: pointer; } /* Labels - desktop inline with slider */ .slider-labels { display: flex; justify-content: space-between; align-items: center; margin-top: -22px; font-weight: bold;/* align with slider */ padding: 0 4px; } /* Mobile: slider full width, labels below */ @media (max-width: 600px) { .slider-cont input[type=range]{width:100%}.slider-labels { margin-top: 6px; padding: 0; font-size: 14px;font-weight: bold;} .slider-labels span { display: inline-block; width: 50%; } .slider-labels .disagree { text-align: left; } .slider-labels .agree { text-align: right; } /* Bigger thumb for touch */ .slider-cont input[type=range]::-webkit-slider-thumb, .slider-cont input[type=range]::-moz-range-thumb { width: 30px; height: 30px; } } /* Hover effect for desktop */ .slider-cont input[type=range]:hover { filter: brightness(1.03); }