/* =========================
   Quiz Component (BEM)
========================= */

.quiz {
    width: 100%;
    max-width: 900px;
    margin: 60px auto;
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Centered single card */
.quiz--centered {
    margin-left: auto;
    margin-right: auto;
}

/* =========================
   Header (Glass + Gradient)
========================= */
.quiz__header {
    padding: 32px;
    text-align: center;
    background: linear-gradient(135deg, #001f3f, #1976d2);
    backdrop-filter: blur(12px);
    color: #ffffff;
}

.quiz__title {
    font-size: 22px;
    font-weight: 900;
    margin: 0;
}

/* =========================
   Body
========================= */
.quiz__body {
    padding: 0px 40px;
}

.quiz__question {
    font-size: 20px;
    font-weight: 800;
    color: #2349ee;
    text-align: right;
    margin: 30px 0 15px 0;
    border-bottom: 1px dotted #001f3f;
}

/* =========================
   Options (3 Radio Buttons)
========================= */
.quiz__options {
    display: flex;
    gap: 20px;
}

.quiz__option {
    flex: 1;
    min-width: 0;
}


.quiz__option input {
    display: none;
}

.quiz__option span {
    display: block !important;
    height: 100%;
    padding: 18px 12px;
    background: #f8fafc;
    border-radius: 22px;
    border: 2px solid #e2e8f0;
    text-align: center;
    transition: all .3s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .05);

}

.quiz__option strong {
    display: block;
    font-size: 17px;
    margin-bottom: 10px;
    color: #020617;
}

.quiz__option small {
    display: block;
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
}

/* Selected state */
.quiz__option input:checked+span {
    background: #ebf4ff;
    border-color: #1976d2;
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(25, 118, 210, .25);
}

/* =========================
   Result Box
========================= */
.quiz__result {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 20px;

    text-align: center;
    margin: 50px 0;
    padding: 24px;
    border-radius: 26px;
    background-color: #F8FAFC;
  
    border: 2px solid #e2e8f0;
}

.quiz__result-title {
    font-size: 17px;
    color: #f6f7f8;
    margin-bottom: 16px;
}

.quiz__result-package {
    font-size: 26px;
    font-weight: 900;
    color: #f6f6f7;
    margin: 16px 0;
}

/* Left side (1/3) */
.quiz__result-info {
    padding: 20px;
    border-radius: 20px;
    background:linear-gradient(135deg, #a1c7e9, #dde1e6);
}

/* Right side (2/3) */
.quiz__result-actions {
 
   
    align-items:center;
}

/* Each action box */
.quiz__result-action {

    padding: 20px;
    border-radius: 20px;
   
}


.quiz__result-action--consult {
  /*  border: 2px dashed #001f3f;*/
    padding: 10px;
    line-height:2;
}
.quiz__result-action--consult h3{
    margin: 5px 0;
}

.quiz__result-action--consult a {
    margin: 30px 50px 0;
}

/* Text colors fix */
.quiz__result-title,
.quiz__result-package {
    color: #ffffff;
}

.quiz__note {
    color: #e2e8f0;
}

/* =========================
   Responsive
========================= */
@media (max-width: 767px) {
    .quiz__result {
        grid-template-columns: 1fr;
    }

    .quiz__result-actions {
        grid-template-rows: auto;
    }
}

.quiz__note {
    font-size: 15px;
    color: #64748b;
    margin-top: 20px;
}

/* =========================
   Responsive
========================= */
@media (max-width: 767px) {
    .quiz__body {
        padding: 32px 24px;
    }

    .quiz__options {

        flex-direction: column;

    }



    .quiz__result-package {
        font-size: 30px;
    }
}


