.question-text {
    color: #2b2929;
    font-size: 19px;
    /* font-family: "Roboto"; */
}

.main-question p {
    /* margin-top: 0.8%; */
    margin-bottom: 20px;
    font-size: 20px;
    color: #211e1e;
    /* font-family: "Roboto"; */
    font-weight: 400;
    text-align: justify;
}

.bold-question {
    margin-top: 1.6%;
    display: block;
    font-size: 1.7em;
    color: #211e1e;
    font-weight: bold;
}

.select-alert {
    margin-top: 0.8%;
    display: block;
    color: #bb2024;
    font-weight: 600;
    font-size: 1.7em;
}

.main-answer {
    margin-top: 1.2%;
}

.prev-next-btn {
    font-size: 1.2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.option-label span p {
    margin: 0;
}

.prev-next-btn a,
.prev-next-btn button {
    color: white !important;
    border: 0;
    width: max-content;
    display: flex;
    outline: 0;
    background: linear-gradient(90deg, #7b4397 0%, #4a429b 100%);
    padding: 10px 25px;
    border-radius: 6px;
    font-size: 0.9em;
    /* font-family: "Roboto"; */
    font-weight: 400; 
    text-decoration: none !important;
}

.next-btn-active {
    background: linear-gradient(90deg, #7b4397 0%, #4a429b 100%) !important;
}

.prev-btn-disable,
.next-btn-disable {
    background: #787878 !important;
}

.main-question-container {
    font-size: 1.2em;
    display: flex;
    align-items: center;
    gap: 45px;
}

.go-back-btn {
    margin-bottom: 10px;
    width: auto;
    display: flex;
    justify-content: end;
    /* align-items: center; */
}

.back-btn {
    color: white;
    border: 0;
    width: max-content;
    display: flex;
    outline: 0;
    background: linear-gradient(90deg, #7b4397 0%, #4a429b 100%);
    padding: 6px 15px;
    border-radius: 6px;
    font-size: 0.8em;
    /* font-family: "Roboto"; */
    font-weight: 300; 
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.back-btn:hover {
    color: #fff;
}

.pagination-list {
    list-style: none;
    display: flex;
    gap: 15px;
    padding: 0;
    margin: 0;
}

.pagination-list li {
    width: 38px;
    height: 38px;
    background-color: #f0f0f0;
    color: #1a4681;
    border-radius: 50%;
    display: flex;
    align-items: center;
    /* font-family: "Roboto"; */
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease; 
    color: #000;
}

.pagination-list li.active {
    color: white !important;
    background-color: #cc7c2c;
}

.pagination-list-custom li.active {
    color: white !important;
    background: linear-gradient(90deg, #7b4397 0%, #4a429b 100%);
}

@media (max-width: 600px) {
    .pagination-list li {
        width: 30px;
        height: 30px;
        font-size: 0.9em;
    }

    .back-btn {
        font-size: 0.9em;
        padding: 6px 12px;
    }
}

/* checkbox */
.option-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option {
    display: flex;
    align-items: stretch;
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    transition: background-color 0.3s ease, border 0.3s ease;
    margin-bottom: 23px;
}

.option input[type="radio"],
.option input[type="checkbox"] {
    display: none;
}

.option-label {
    display: flex;
    align-items: center;
    flex: 1;
    position: relative;
    padding: 5px 12px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
}

.option-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 5.4%;
    height: 100%;
    background-color: white;
    transition: background-color 0.3s ease; 
    border-right: 1px solid #ccc;
}

.option input[type="radio"]:checked + .option-label::before,
.option input[type="checkbox"]:checked + .option-label::before {
    background: linear-gradient(90deg, #7b4397 0%, #4a429b 100%);
}

.option-label-red::before {
    background-color: rgb(255 0 0 /0);
}

.option-label-green::before {
    background-color: #3b74b1;
}

.option-label-yellow::before {
    background-color: rgb(255 0 0 /0);
}

.option-label-red {
    background-color: rgb(255 0 0 / 60%);
}

.option-label-green {
    background-color: rgb(0 128 0 / 70%);
}

.option-label-yellow {
    background-color: rgba(255, 255, 0, 0.7);
}

.option-green {
    color: white !important;
}

.option-label span {
    color: #2b2929eb;
    font-size: 24px;
    /* font-family: "Roboto"; */
    font-weight: 400;
    margin-left: 6%;
}

@media (max-width: 900px) {
    .main-question p {
        font-size: 1em;
    }

    .option-label span {
        font-size: 1.6em;
    }

    .bold-question {
        font-size: 1.3em;
    }

    .select-alert {
        font-size: 1.3em;
    }

    .option-label {
        padding: 12px;
        font-size: 0.75rem;
    }

    .option-label span {
        margin-left: 11%;
    }

    .option-label::before {
        width: 10%;
    }
}

@media (max-width: 400px) {
    .main-question p {
        font-size: 0.9em;
    }

    .option-label span {
        font-size: 1.4em;
    }

    .bold-question {
        font-size: 1.1em;
    }

    .select-alert {
        font-size: 1.1em;
    }

    .option-label {
        padding: 12px;
        font-size: 0.65rem;
    }

    .option-label span {
        margin-left: 14%;
    }

    .option-label::before {
        width: 14%;
    }
}

.explanation-refrences h4 {
    margin-bottom: 8px;
    color: black;
    font-size: 1.8em;
    font-weight: 600;
    /* font-family: "Roboto"; */
}

/* .explanation-refrences span {
    color: black;
    font-size: 1.4em;
    font-weight: 500;
    font-family: "Raleway", sans-serif !important;
} */

@media (max-width: 992px) {
    .prev-next-btn a,
    .prev-next-btn button {
        padding: 0.8% 3%;
    }
}
