.main-background {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center right;
    width: 100%;
    min-height: 100vh;
    background-image: url("/static/images/png/quiz/background.png");
}

.btn-image {
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    position: absolute;
    font-weight: bolder;
}

/* CARD */

.question-card {
    border-radius: 16px;
    border: 1px solid #efefef;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* TEXTO */

.question-title {
    flex: 1;
    font-size: 15px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 0;
}

/* WRAPPER */

.scale-wrapper {
    display: flex;
    align-items: center;
    min-width: 320px;
}

/* ITEM */

.scale-option {
    display: flex;
    align-items: center;
    position: relative;
}

/* LINHA PADRÃO */

.scale-option:not(:last-child)::after {
    content: '';
    width: 42px;
    height: 4px;
    margin: 0 2px;
    border-radius: 999px;
    background: #dcdcdc;
    transition: .2s;
}

/* INPUT */

.scale-option input {
    display: none;
}

/* LABEL */

.scale-option label {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    margin: 0;
    background: #dcdcdc;
    color: #666;
    transition: .2s;
}

/* HOVER */

.scale-option label:hover {
    transform: scale(1.08);
}

/* ===== CHECKS COLORIDOS ===== */

.scale-option.active-1 label {
    background: #d95c5c;
    color: white;
}

.scale-option.active-2 label {
    background: #ef8a57;
    color: white;
}

.scale-option.active-3 label {
    background: #f2bf63;
    color: white;
}

.scale-option.active-4 label {
    background: #9dbf68;
    color: white;
}

.scale-option.active-5 label {
    background: #65b69a;
    color: white;
}

/* ===== LINHAS COLORIDAS ===== */

.scale-option.line-1::after {
    background: linear-gradient(90deg, #d95c5c, #ef8a57);
}

.scale-option.line-2::after {
    background: linear-gradient(90deg, #ef8a57, #f2bf63);
}

.scale-option.line-3::after {
    background: linear-gradient(90deg, #f2bf63, #9dbf68);
}

.scale-option.line-4::after {
    background: linear-gradient(90deg, #9dbf68, #65b69a);
}

.score-1 {
    background: #d95c5c !important;
}

.score-2 {
    background: #ef8a57 !important;
}

.score-3 {
    background: #f2bf63 !important;
}

.score-4 {
    background: #9dbf68 !important;
}

.score-5 {
    background: #65b69a !important;
}

/* RESPONSIVO */

@media(max-width: 768px) {

    .question-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .scale-wrapper {
        width: 100%;
        min-width: initial;
        justify-content: space-between;
    }

}

.nav-actions {
    margin-top: 30px;
}

.btn-quiz {
    min-width: 160px;
    border-radius: 10px;
    padding: 12px 20px;
    font-weight: 600;
}

.page-indicator {
    font-weight: bold;
    font-size: 22px;
    color: #444;
}

/* PROGRESSO GERAL */

.progress-custom {
    position: relative;
    height: 20px;
    border-radius: 999px;
    overflow: hidden;
    background: #e4e4e4;
}

/* BARRA COLORIDA */

.progress-custom>.progress-bar {
    position: relative;
    background: linear-gradient(90deg,
            #d95c5c 0%,
            #ef8a57 25%,
            #f2bf63 50%,
            #9dbf68 75%,
            #65b69a 100%);
}

/* OCULTAR CARDS */

/* #toggle-1, */
#toggle-2,
.quiz-wrapper,
#card-register,
#finish {
    display: none;
}

.card {
    border-radius: 1rem !important;
}

a.active {
    font-weight: bold;
}

a.card-body {
    color: inherit !important;
}

.card-body:hover {
    text-decoration: none !important;
}

.lh-2 {
    line-height: 2.5;
}

.table-dark {
    background-color: rgb(70, 70, 70, .85) !important;
}

/* .card-2 {
    display: none !important;
} */
/* 
.main-background:has(#toggle-1:checked) .card-1 {
    display: none !important;
}

.main-background:has(#toggle-1:checked) .card-2 {
    display: flex !important;
}
 */
/* .main-background:has(#toggle-2:checked) .card-2 {
    display: none !important;
} */

.main-background:has(#toggle-2:checked) .quiz-wrapper {
    display: block !important;
}

.error {
    color: #d60000;
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

input.invalid {
    border-color: #d60000;
}

.bg-purple {
    background-color: rgb(185, 80, 85, .1) !important;
}

.bg-turquoise {
    background-color: rgb(147, 206, 191, .1) !important;
}

.bg-light-gray {
    background-color: rgb(151, 151, 151, .1) !important;
}

.top-50 {
    top: 50%;
}

.translate-middle-y {
    transform: translateY(-50%);
}