/**
 * Estilos adicionales para el juego Memorice Interactivo
 * Version: 1.4.0
 *
 * Estos estilos se cargan opcionalmente junto con el bundle de React
 * para permitir personalizaciones adicionales
 */

/* Container del shortcode */
.memorice-game-wrapper {
    margin: 20px 0;
    overflow: hidden;
}

/* Fallback si React no carga */
.memorice-game-loading-fallback {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.memorice-game-loading-fallback .spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: memorice-spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes memorice-spin {
    to { transform: rotate(360deg); }
}

/* Mensajes de error */
.memorice-error-message {
    background: #ffebee;
    border-left: 4px solid #e74c3c;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}

.memorice-error-message strong {
    color: #e74c3c;
}

/* Responsive helpers */
@media (max-width: 768px) {
    .memorice-game-wrapper {
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .memorice-game-wrapper {
        margin: 5px 0;
    }
}
