/* ===== Quiz Example ===== */
.quiz-exmple {
    margin-bottom: 16px;
}

.quiz-exmple p {
    color: rgba(77, 83, 87, 1);
    font-size: 20px;
    font-weight: 900;
    color: rgba(77, 83, 87, 1);
    line-height: 24px;
    letter-spacing: 0.02px;
    margin-bottom: 24px;
    text-align: center;
}

.quiz-exmple .text {
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    letter-spacing: 0.04px;
    display: flex;
    align-items: center;
    text-align: center;
    color: rgba(34, 78, 111, 1);
}

.quiz-exmple .list-anwser label {
    pointer-events: none;
}

/* ===== Quiz Form ===== */
#bigfive-quiz {
    max-width: 100%;
    margin: auto;
    font-family: 'SVN-Aguda';
}

.progress-container,
.quiz-exmple,
#quiz-form {
    max-width: 840px;
    margin-left: auto;
    margin-right: auto;
}

#bigfive-quiz .quiz-step h3 {
    text-align: center;
    font-size: 32px;
    line-height: 100%;
    font-weight: 900;
    margin-bottom: 24px;
}

.question {
    margin-bottom: 24px;
    padding: 20px 60px;
    box-shadow: 4px 4px 10px 0 rgba(182, 231, 242, 0.25);
    background-color: rgba(244, 251, 255, 1);
}

.question p {
    font-weight: 500;
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    color: rgba(34, 78, 111, 1);
    letter-spacing: 0.04px;
    text-align: center;
}

/* ===== Custom Radio ===== */
.question label {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    flex-direction: column;
    width: 20%;
    gap: 8px;
    text-align: center;
    color: white;
}

.question .list-anwser {
    display: flex;
    align-items: stretch;
}

.question input[type="radio"] {
    display: none;
}

.question input[type="radio"]+span {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: inline-block;
    border: 2px solid rgba(201, 208, 208, 1);
    background-color: rgba(255, 255, 255, 1);
    margin-right: 6px;
    transition: all 0.3s ease;
}

.question input[type="radio"].totally-disagree+span {
    border-color: rgba(255, 138, 128, 1);
    background-color: rgba(247, 225, 226, 1);
}

.question input[type="radio"].disagree+span {
    border-color: rgba(255, 181, 128, 1);
    background-color: rgba(247, 233, 226, 1);
}

.question input[type="radio"].agree+span {
    border-color: rgba(108, 217, 126, 1);
    background-color: rgba(218, 240, 225, 1);
}

.question input[type="radio"].totally-agree+span {
    border-color: rgba(12, 207, 154, 1);
    background-color: rgba(196, 238, 230, 1);
}

.question input[type="radio"]:checked+span {
    background: rgba(201, 208, 208, 1);
}

.question input[type="radio"].totally-disagree:checked+span {
    background: rgba(255, 138, 128, 1);
}

.question input[type="radio"].disagree:checked+span {
    background: rgba(255, 181, 128, 1);
}

.question input[type="radio"].agree:checked+span {
    background: rgba(108, 217, 126, 1);
}

.question input[type="radio"].totally-agree:checked+span {
    background: rgba(12, 207, 154, 1);
}

/* ===== Progress Bar ===== */
.progress-container {
    width: 100%;
    margin-bottom: 20px;
}

.progress-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-bar {
    background: rgba(34, 78, 111, 1);
    height: 100%;
    width: 0%;
    border-radius: 6px;
    transition: width 0.4s ease;
}

.progress-bar-wrap {
    background: rgba(233, 242, 247, 1);
    border-radius: 6px;
    margin-bottom: 24px;
    position: relative;
    height: 8px;
    overflow: hidden;
}

/* ===== desc ===== */

.quiz-desc .title {
    font-size: 20px;
    line-height: 100%;
    color: rgba(77, 83, 87, 1);
    text-align: center;
    margin-bottom: 24px;
}

.quiz-desc .wrapper {
    background-color: rgba(244, 251, 255, 1);
    display: flex;
    padding: 22px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 4px 4px 10px 0 rgba(182, 231, 242, 0.25);
}

.quiz-desc .item {
    width: calc(100% / 5 - 8px);
    color: black;
    text-align: center;
}

.quiz-desc .item .circle {
    width: 54px;
    height: 54px;
    margin: 0 auto 10px;
}

/* ===== Navigation ===== */
.quiz-navigation {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.quiz-navigation button {
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    background: rgba(34, 78, 111, 1);
    color: white;
    line-height: 18px;
    font-size: 14px;
    margin: 0;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
}

.quiz-navigation button:disabled {
    background: rgba(34, 78, 111, 0.24);
    cursor: not-allowed;
    color: rgba(34, 78, 111, 1);
}

.quiz-navigation button:hover:not(:disabled) {
    background: rgba(34, 78, 111, 1);
}

/* ===== Results ===== */
#quiz-result {
    margin-top: 30px;
}


#quiz-result .desc {
    font-size: 16px;
    line-height: 20px;
    margin: 16px 0px 24px;
    color: rgba(138, 144, 149, 1);
    text-align: center;
}

/* Layout grid */
#quiz-result .results {
    display: flex;
    gap: 0 24px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Circle container */
#quiz-result .circle-wrap {
    position: relative;
    width: calc(100% / 3 - 16px);
    height: auto;
}

/* SVG Circle */
#quiz-result .circle-chart {
    width: 100%;
    height: 100%;
    transform: rotate(0deg);
}

#quiz-result .circle-bg {
    fill: rgba(244, 251, 255, 1);
    stroke: rgba(233, 242, 247, 1);
}

#quiz-result .circle {
    fill: none;
    stroke-linecap: round;
    stroke: rgba(34, 78, 111, 1);
    transition: stroke-dasharray 1s ease;
}

/* Content inside circle */
#quiz-result .circle-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 70%;
}

#quiz-result .circle-score {
    font-size: 54px;
    font-weight: 900;
    color: rgba(34, 78, 111, 1);
    line-height: 58px;
}

#quiz-result .circle-title {
    margin-top: 8px;
    font-size: 20px;
    line-height: 26px;
    font-weight: 900;
    color: rgba(34, 78, 111, 1);
}

#quiz-result .circle-desc {
    margin-top: 8px;
    font-size: 14px;
    line-height: 18px;
    font-weight: 700;
    color: rgba(138, 144, 149, 1);
}

.personal-suggestions {
    background-color: rgba(228, 255, 231, 1);
    border-radius: 16px;
    margin-bottom: 16px;
    padding: 24px;
    margin-top: 60px;
    max-width: 840px;
    margin: 0 auto;
}

.personal-suggestions h3 {
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0.02px;
    font-weight: 900;
    color: rgba(34, 78, 111, 1);
    margin-bottom: 16px;
}

.personal-suggestions h3::before {
    content: url('../assets/images/icon-suggest.svg');
    width: 32px;
    height: 32px;
    display: inline-block;
    margin-right: 8px;
}

.personal-suggestions ul {
    margin-bottom: 0;
}

.personal-suggestions li {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 18px;
    color: rgba(138, 144, 149, 1);
    font-weight: 700;
}

/* quiz-accordion */
#quiz-accordion {
    max-width: 840px;
    margin: 16px auto 0;
}

#quiz-accordion .accordion-item {
    margin-bottom: 16px;
    padding: 16px 24px;
    background-color: rgba(244, 251, 255, 1);
    border-radius: 16px;
}

#quiz-accordion .accordion-title {
    border: 0 !important;
    padding: 0;
    background-color: transparent;
}

#quiz-accordion .accordion-title span {
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0.02px;
    font-weight: 900;
    color: rgba(34, 78, 111, 1);
}


#quiz-accordion .accordion-title .toggle {
    left: unset;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

#quiz-accordion .accordion-inner {
    padding: 16px 0;
}

#quiz-accordion .accordion-inner ul {
    background-color: rgba(233, 242, 247, 1);
    border-radius: 10px;
    margin-bottom: 16px;
    padding: 16px;
}

#quiz-accordion .accordion-inner ul:last-child {
    margin-bottom: 0;
}

#quiz-accordion .accordion-inner li {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.04px;
    font-weight: 700;
    color: rgba(138, 144, 149, 1);
}

#quiz-accordion .accordion-inner li:not(:last-child) {
    margin-bottom: 16px;
}

#quiz-accordion .accordion-inner li::marker {
    color: rgba(34, 78, 111, 1);
}

#quiz-accordion .accordion-inner li strong {
    color: rgba(34, 78, 111, 1);
    font-weight: 900;
}

@media(max-width: 849px) {
    .quiz-exmple p {
        font-size: 16px;
    }

    .quiz-exmple .text {
        font-size: 13px;
    }

    #bigfive-quiz .quiz-step h3 {
        font-size: 24px;
    }

    .question {
        padding: 20px;
    }

    .question p {
        font-size: 12px;
        line-height: 16px;
    }

    .question input[type="radio"]+span {
        width: 32px;
        height: 32px;
    }

    #quiz-result .circle-wrap {
        width: calc(100% / 2 - 24px);
    }
}

@media(max-width: 549px) {
    #quiz-result .circle-wrap {
        width: 100%;
    }
}