.plugin-test-container { max-width: 640px; margin: 1em 0; padding: 1.5em; border: 1px solid #dee2e6; border-radius: 8px; background: #fff; }
.plugin-test-paso { margin-bottom: 1em; }
.plugin-test-btn { padding: 10px 20px; border: none; border-radius: 6px; cursor: pointer; font-size: 1em; }
.plugin-test-btn-primary { background: #0073aa; color: #fff; }
.plugin-test-btn:hover { opacity: 0.9; }
.plugin-test-msg { margin-top: 10px; }
.plugin-test-error { color: #c00; }
.plugin-test-timer-wrap { margin-bottom: 1em; font-size: 1.1em; }
.plugin-test-timer { display: inline-block; margin-left: 8px; font-weight: bold; font-family: monospace; }
.plugin-test-timer-urgente { color: #c00; }
.plugin-test-pregunta { margin-bottom: 1.5em; padding-bottom: 1em; border-bottom: 1px solid #eee; }
.plugin-test-pregunta-texto { margin-bottom: 10px; line-height: 1.5; }
.plugin-test-opciones { display: flex; flex-direction: column; gap: 6px; }
.plugin-test-opcion { display: block; cursor: pointer; }
.plugin-test-opcion input { margin-right: 8px; }
.plugin-test-acciones { margin-top: 1.5em; }
.plugin-test-preview-consulta h4 { font-size: 1em; }
.plugin-test-preview-block { margin-bottom: 1em; }
.plugin-test-preview-block pre { font-family: inherit; }
.plugin-test-nota-final { font-size: 1.2em; font-weight: bold; margin-bottom: 1em; }
.plugin-test-correcciones { margin-top: 1em; }
.plugin-test-resumen-correcciones h4 { margin: 0 0 10px 0; font-size: 1em; }
.plugin-test-resumen-correcciones ul { list-style: none; padding: 0; margin: 0; }
.plugin-test-correccion-item { padding: 12px; margin-bottom: 10px; border-radius: 6px; border-left: 4px solid #ccc; }
.plugin-test-correccion-item.correcto { background: #f0f9f0; border-left-color: #0a0; }
.plugin-test-correccion-item.incorrecto { background: #fff5f5; border-left-color: #c00; }
.plugin-test-correccion-item .tu-respuesta { color: #666; }
.plugin-test-correccion-item.incorrecto .respuesta-correcta { color: #080; font-weight: 500; }
.plugin-test-correccion-item .correcto-label { color: #080; font-weight: 500; }
.plugin-test-acciones .plugin-test-btn { margin-right: 10px; }
.plugin-test-informe { margin: 1em 0; }
.plugin-test-informe-tabla { width: 100%; border-collapse: collapse; margin-top: 1em; }
.plugin-test-informe-tabla th,
.plugin-test-informe-tabla td { padding: 10px; text-align: left; border-bottom: 1px solid #ddd; }
.plugin-test-informe-tabla th { background-color: #f5f5f5; font-weight: bold; }
.plugin-test-informe-tabla tr:hover { background-color: #f9f9f9; }
.plugin-test-presentacion { margin-bottom: 2em; padding: 1.5em; background: #f8f9fa; border-radius: 8px; border-left: 4px solid #0073aa; }
.plugin-test-titulo-presentacion { margin: 0 0 1em 0; color: #0073aa; font-size: 1.5em; }
.plugin-test-info-test ul { margin: 0; padding-left: 1.5em; }
.plugin-test-info-test li { margin-bottom: 0.8em; line-height: 1.6; }
.plugin-test-explicacion-respuesta { margin: 0.5em 0 1em 0; padding: 0.5em; background: #e7f3ff; border-left: 3px solid #0073aa; color: #004085; font-size: 0.95em; }
.plugin-test-preparando { text-align: center; padding: 3em 1em; }
.plugin-test-preparando-content { display: inline-block; }
.plugin-test-spinner { border: 4px solid #f3f3f3; border-top: 4px solid #0073aa; border-radius: 50%; width: 50px; height: 50px; animation: spin 1s linear infinite; margin: 0 auto 1em; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.plugin-test-preparando p { font-size: 1.2em; color: #0073aa; font-weight: bold; margin: 0; }
