/* AutoTest Infografía Styles */
.pim-autotest-header {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.pim-autotest-intro {
    background: #f9fafb;
    padding: 1.25rem 1.5rem;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pim-autotest-intro-icon {
    width: 48px;
    height: 48px;
    background: #4a90e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pim-autotest-intro-icon::before {
    content: "⚙";
    font-size: 28px;
    color: white;
}

.pim-autotest-intro-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #2c3e50;
}

.pim-autotest-pruebas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.pim-autotest-prueba {
    background: #f9fafb;
    padding: 1.25rem 1.5rem;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.pim-autotest-prueba-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: #7ed321;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.pim-autotest-prueba-icon::before {
    content: "📅";
    font-size: 32px;
}

.pim-autotest-prueba-icon::after {
    content: "✓";
    position: absolute;
    bottom: -8px;
    right: -8px;
    background: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #7ed321;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.pim-autotest-prueba.duracion .pim-autotest-prueba-icon {
    background: #bed321;
}

.pim-autotest-prueba.duracion .pim-autotest-prueba-icon::before {
    content: "📅";
}

.pim-autotest-prueba-text {
    font-size: 0.9rem;
    color: #2c3e50;
    line-height: 1.4;
}

.pim-autotest-resultado {
    background: #f9fafb;
    padding: 1.25rem 1.5rem;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    margin-bottom: 1.75rem;
}

.pim-autotest-resultado-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
}

.pim-autotest-leds-title {
    font-size: 0.95rem;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.pim-autotest-leds {
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    padding: 1.25rem 1.5rem;
    display: grid;
    gap: 0.75rem;
}

.pim-autotest-led-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #edf0f3;
}

.pim-autotest-led-item:last-child {
    border-bottom: none;
}

.pim-autotest-led-visual {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.pim-autotest-led {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #ddd;
    position: relative;
}

.pim-autotest-led.verde {
    background: #7ed321;
    border-color: #6bb31a;
    box-shadow: 0 0 8px rgba(126, 211, 33, 0.5);
}

.pim-autotest-led.naranja {
    background: #f5a623;
    border-color: #e09615;
    box-shadow: 0 0 8px rgba(245, 166, 35, 0.5);
}

.pim-autotest-led.off {
    background: #95a5a6;
    border-color: #7f8c8d;
}

.pim-autotest-led.flash {
    animation: ledFlash 1s infinite;
}

@keyframes ledFlash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.pim-autotest-led-text {
    font-size: 0.9rem;
    color: #2c3e50;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .pim-autotest-infografia {
        padding: 1.5rem 1rem;
    }
    
    .pim-autotest-header {
        grid-template-columns: 1fr;
    }
    
    .pim-autotest-pruebas {
        grid-template-columns: 1fr;
    }
}
