.wmq-quiz-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}
.wmq-progress {
    height: 10px;
    background: #f0f0f0;
    margin-bottom: 20px;
    border-radius: 5px;
    overflow: hidden;
}
.wmq-progress-bar {
    height: 100%;
    background: #4caf50;
    transition: width 0.3s;
}
.wmq-question label {
    display: block;
    margin: 10px 0;
    font-size: 16px;
}
.wmq-navigation button {
    padding: 10px 20px;
    margin-right: 10px;
    background: #0073aa;
    color: white;
    border: none;
    cursor: pointer;
}
.wmq-user-form input[type=text],
.wmq-user-form input[type=email],
.wmq-user-form input[type=tel] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
}

/* v1.3.8 - Multimedia opcional en preguntas por aciertos */
.wmq-question-media {
    margin: 15px 0 20px;
}
.wmq-media-caption {
    margin: 0 0 8px;
    font-weight: 600;
}
.wmq-question-media audio,
.wmq-question-media video {
    width: 100%;
    max-width: 100%;
    display: block;
}
.wmq-media-frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}
.wmq-media-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* v1.3.9 - Imagen opcional por respuesta en preguntas por aciertos */
.wmq-question label.wmq-answer-option-image {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}
.wmq-answer-option-image input[type="radio"] {
    flex: 0 0 auto;
}
.wmq-answer-visual {
    flex: 0 0 120px;
}
.wmq-answer-visual img {
    display: block;
    width: 120px;
    height: 90px;
    max-width: 100%;
    object-fit: cover;
    border-radius: 6px;
}
.wmq-answer-label {
    min-width: 0;
    line-height: 1.4;
}

@media (max-width: 520px) {
    .wmq-question label.wmq-answer-option-image {
        gap: 10px;
        padding: 8px;
    }
    .wmq-answer-visual {
        flex-basis: 92px;
    }
    .wmq-answer-visual img {
        width: 92px;
        height: 69px;
    }
}



/* v1.3.10 - Botón opcional para abrir PDF o material en otra pestaña */
.wmq-question-document {
    margin-top: 14px;
}
.wmq-document-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 6px;
    background: #0073aa;
    color: #fff !important;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    box-sizing: border-box;
}
.wmq-document-link:hover,
.wmq-document-link:focus {
    background: #005f8d;
    color: #fff !important;
    text-decoration: none !important;
}
@media (max-width: 520px) {
    .wmq-document-link {
        width: 100%;
    }
}
