.quiz2-container {
    font-family: Arial, sans-serif;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin: 20px auto;
}

.quiz2-container h3 {
    font-size: 12px;
	padding-top: 20px;
    border-top: 1px solid #ededed;
}

.quiz2-feedback {
    font-size: 12px;
}

button.quiz2-answer {
    display: block;
    margin: 10px auto;
    padding: 10px;
    width: 80%;
    border: none;
    cursor: pointer;
    font-size: 12px;
    background: #999;
    color: white;
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease;
}

/* ✅ Botón seleccionado */
button.quiz2-answer.selected {
    background: #555 !important;
    color: #fff !important;
    font-weight: bold;
    transform: scale(1.02);
}

/* 🚫 Botón no seleccionado (deshabilitado) */
button.quiz2-answer.disabled {
    background: #d6d6d6 !important;
    color: #6c757d !important;
    cursor: default;
    pointer-events: none;
}

/* 🔷 Lightbox flotante */
.quiz2-lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.quiz2-lightbox.show {
    opacity: 1;
    pointer-events: all;
}

.quiz2-lightbox-content {
    background: #fff;
    padding: 30px;
    border-radius: 30px;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);

    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.quiz2-lightbox.show .quiz2-lightbox-content {
    transform: scale(1);
}

.quiz2-lightbox-content h4 {
    margin-top: 0;
    font-size: 14px;
    color: #555;
    padding: 10px;
}

.quiz2-result-title {
    font-size: 20px;
    font-weight: bold;
    color: #0073aa;
    margin-bottom: 10px;
}

.quiz2-result-detail {
    font-size: 14px;
    color: #333;
    margin-bottom: 20px;
}

.quiz2-lightbox-content button {
    margin: 10px 5px;
    padding: 8px 16px;
    border: none;
    background: #ff6210;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
}

.quiz2-lightbox-content button:hover {
    background: #e05200;
}

/* 🔷 Barra de progreso */
.quiz2-progress-bar {
    background-color: rgba(0, 0, 0, 0.8);
    box-shadow: 1px 1px 15px #00000070;
    padding: 5px 10px 10px;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 12px;
    color: #fff;
    position: sticky;
    bottom: 0;
    z-index: 500;
}

.quiz2-progress-text {
    text-align: center;
    margin-bottom: 5px;
    font-weight: bold;
}

.quiz2-progress-track {
    background: #ddd;
    border-radius: 4px;
    height: 6px;
    width: 100%;
    overflow: hidden;
}

.quiz2-progress-fill {
    background: #0073aa;
    width: 0%;
    height: 100%;
    transition: width 0.3s ease;
}
