.hx-quiz-container {
    --text-color: #333333;
}

.hx-cap-title,
.hx-quiz-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.hx-cap-title {
    margin-bottom: 10px;
}

.hx-cap-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.hx-cap-item {
    flex: 1;
    margin-bottom: 15px;
}

.hx-cap-item label span {
    color: red;
    font-weight: 700;
}

.hx-cap-item :is(input[type="text"], input[type="email"], select) {
    height: 40px;
    background-color: #fff;
    border: 0 !important;
}

.hx-cap-radios {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.hx-cap-radio-item {
    display: flex;
    align-items: center;
    gap: 3px;
}

.hx-cap-btn-container {
    text-align: right;
}

.hx-quiz-options {
    display: flex;
    flex-direction: column;
    /* gap: 7px; */
    margin: 20px 0;
}

.hx-quiz-opt {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-color);
    padding: 7px;
}

.hx-quiz-opt:nth-child(even) {
    background-color: #eee;
}

.hx-quiz-opt select {
    width: 50px;
    padding: 5px;
    font-size: 14px;
}

button.hx-cap-btn,
button.hx-quiz-btn {
    background-color: var(--text-color);
    color: #fff;
    border: 0;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
}

button.hx-cap-btn:is(:hover, :focus),
button.hx-quiz-btn:is(:hover, :focus) {
    background-color: var(--text-color);
    color: #fff;
    border: 0;
    opacity: 0.8;
}

button.hx-cap-btn {
    background-color: rgb(9, 182, 9);
}

.hx-quiz-result-subtitle,
.hx-quiz-result-date {
    text-align: center;
    font-size: 18px;
    line-height: 1em;
    margin: 0;
    color: #fff;
}

.hx-quiz-result-title {
    text-align: center;
    font-size: 45px;
    line-height: 1.2em;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.hx-quiz-result-items-bars {
    display: flex;
    border-radius: 100px;
    overflow: hidden;
    margin: 20px 0;
}

.hx-quiz-result-item-bar {
    height: 40px;
    background: #eee;
}

.hx-quiz-result-percentages {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.hx-quiz-result-percentages>div {
    width: 25%;
    text-align: center;
}

.hx-quiz-result-percentages>div h6 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.hx-quiz-result-percentages>div span {
    font-size: 23px;
    font-weight: 500;
}

@media (max-width: 767px) {
    .hx-quiz-result-percentages {
        justify-content: space-between;
    }

    .hx-quiz-result-percentages>div {
        width: auto;
    }

    .hx-quiz-result-percentages>div span {
        font-size: 13px;
    }
}