/* GoAula SCORM & H5P Validator - Styles */

body {
    background: radial-gradient(circle at top left, rgba(147, 51, 234, 0.15), transparent 45%),
                radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.12), transparent 45%),
                #020617;
    min-height: 100vh;
}

.glass-panel {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- EMULADOR DE DISPOSITIVOS --- */

#emulatorFrame {
    background: #000;
    border: 10px solid #1e293b; /* Color slate-800 */
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
}

/* Clases de Dispositivos */

/* Desktop / PC */
.device-desktop {
    width: 100%;
    height: 520px;
    border-radius: 12px !important;
    border: 6px solid #334155 !important; /* slate-700 */
}

/* Tablet Vertical (Portrait) */
.device-tablet-portrait {
    width: 580px;
    height: 720px;
    border-radius: 24px !important;
    border: 12px solid #1e293b !important;
}

/* Tablet Horizontal (Landscape) */
.device-tablet-landscape {
    width: 760px;
    height: 540px;
    border-radius: 24px !important;
    border: 12px solid #1e293b !important;
}

/* Móvil Vertical (Portrait) */
.device-mobile-portrait {
    width: 320px;
    height: 580px;
    border-radius: 36px !important;
    border: 12px solid #0f172a !important;
    border-top-width: 24px !important; /* Más grueso arriba para la cámara */
    border-bottom-width: 24px !important; /* Más grueso abajo para el botón */
}

/* Móvil Horizontal (Landscape) */
.device-mobile-landscape {
    width: 580px;
    height: 320px;
    border-radius: 36px !important;
    border: 12px solid #0f172a !important;
    border-left-width: 24px !important;
    border-right-width: 24px !important;
}

/* Glow para curso activo */
#emulatorFrame.active-preview {
    border-color: rgba(147, 51, 234, 0.4);
    box-shadow: 0 20px 40px -15px rgba(147, 51, 234, 0.25),
                0 0 20px 2px rgba(147, 51, 234, 0.15);
}

/* --- ANIMACIONES & SCROLLBAR --- */

#lstErrors::-webkit-scrollbar,
#importListPreview::-webkit-scrollbar {
    width: 6px;
}

#lstErrors::-webkit-scrollbar-track,
#importListPreview::-webkit-scrollbar-track {
    background: transparent;
}

#lstErrors::-webkit-scrollbar-thumb,
#importListPreview::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

#lstErrors::-webkit-scrollbar-thumb:hover,
#importListPreview::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}
